by Kerneta
Open plain-text file format for AI memory. Your assistant's long-term memory as .dai files on your disk: readable by Claude, GPT, Gemini, Cursor, local models and grep (all LLM models work). MCP server + hooks for Claude Code, Claude Desktop, Cursor, Windsurf, Codex. 83% LongMemEval-S (GPT-4o), 92% (Claude Fable 5), 10x fewer tokens.
# Add to your Claude Code skills
git clone https://github.com/Kerneta/daidocsSee how daidocs compares with popular alternatives.
daidocs is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Kerneta. Open plain-text file format for AI memory. Your assistant's long-term memory as .dai files on your disk: readable by Claude, GPT, Gemini, Cursor, local models and grep (all LLM models work). MCP server + hooks for Claude Code, Claude Desktop, Cursor, Windsurf, Codex. 83% LongMemEval-S (GPT-4o), 92% (Claude Fable 5), 10x fewer tokens. It has 51 GitHub stars.
daidocs's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/Kerneta/daidocs" and add it to your Claude Code skills directory (see the Installation section above).
daidocs is primarily written in Python. It is open-source under Kerneta on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh daidocs against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
.dai for history, .cai for codeMost memory tools remember one thing. A code-graph tool knows your call graph but not the conversation where you decided how it should work. A chat-memory tool knows the decision but cannot tell you who calls the function you are about to change. This is both, in one plain-text, local-first layer, with a router that sends each question to the half that can answer it.
.dai |
.cai |
|
|---|---|---|
| remembers | documents and session history: past conversations, decisions, facts, preferences | your code: a deterministic graph of callers, callees, imports, definitions and transitive dependencies |
| built by | an observer model, once per conversation (free on a Claude subscription, written by the assistant already in the session) | tree-sitter, deterministically, with no model and no API cost |
| languages | any text, any human language | 10 programming languages: Python, JavaScript, TypeScript, Go, Rust, Java, C, C++, Ruby, C# |
| engine | Node (reference), plus a pure-Python reader | Python, pip install kerneta-cai |
| install | npx daidocs setup |
pip install kerneta-cai, then kerneta setup |
Both are plain text on your disk, both answer to grep and git, and both exist for the same
reason: so a model reads a small, question-specific slice instead of the whole history or the
whole repository. They also cross-link. A document that names a code symbol is linked to it
both ways, so a single query can return the code and the prose that explains it. The ask
router then decides which tier answers: code graph, documents, or past sessions. The code tier
has its own guide in Kerneta-Cai/.
You do not have to take both. .dai on its own is a complete document-and-history memory;
.cai on its own is a complete code graph. Install one, or install both and let the router
join them.
.Cai for code: measured against Graphify.Cai is a plain-text code graph. On real repositories it matches or beats Graphify on
accuracy while putting a fraction of the tokens in front of the model. A few headline rows,
all rebuilt from source offline (no API, XERJ not included):
| Code retrieval (real repos) | .Cai |
Graphify | raw files | .Cai vs Graphify |
.Cai vs raw |
|---|---|---|---|---|---|
| psf/requests, 16 ast-graded questions | 16/16 at 55 tok | 13/16 at 689 | 16/16 at 9,023 | 13x less | 164x less |
| httpx imports (who does X import) | 100% at 22 tok | 91% at 4,696 | 100% at 64,075 | 218x less | 2,976x less |
| Make this change, 6 httpx edits | 1.00 recall, 6/6 sets at 38 tok | 0.64, 3/6 at 1,651 | 0.61, 1/6 at 64,075 | 43x less | 1,686x less |
At 35x scale (the CPython standard library, 7,469 symbols) the per-query cost stays flat:
.Cai averages 69 tokens to Graphify's 178.
See the full results · reproduce them →
A .dai file is three plain-text zones: a YAML header, a fenced JSON block, and the text. No binary, no database, no SDK required to read it.
grep, git log, diff, your editor, a shell script. Memory that answers to ordinary tools.Build a reader in another language and open a PR: that is the contribution that matters most.
What is in this repository: the Kerneta Engine V4.4n that reads and writes .dai files,
the MCP server that connects it to your assistants, the .cai code tier in
Kerneta-Cai/ that builds and reads the code graph, and the complete
evidence for every number quoted below: the benchmark run, the judge's verdict on each of the
500 questions, and the five-model comparison. Each evidence file is hashed in MANIFEST.sha256
so you can check that what is described is what was measured; how to do that is in
docs/PROVENANCE.md.
Every memory product on the market keeps your history inside its own service and hands it back
through its own API. .dai takes the opposite bet: memory is a file format, the way a
photo is a JPEG. Three plain-text zones per conversation, a small derived index beside them,
and any model, any tool, or grep can read it.
| memory as a service | memory as a format (.dai) |
|---|