Borrowing it
Nothing to install: this file belongs to hermes-labs-ai/zer0dex. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/hermes-labs-ai/zer0dex/main/.agents/skills/zer0dex/SKILL.mdgit clone --depth 1 https://github.com/hermes-labs-ai/zer0dexWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hermes-labs-ai/zer0dex/zer0dex)<a href="https://agentmods.dev/skills/hermes-labs-ai/zer0dex/zer0dex"><img src="https://agentmods.dev/badge/skills/hermes-labs-ai/zer0dex/zer0dex/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hermes-labs-ai/zer0dex/zer0dex"><img src="https://agentmods.dev/badge/skills/hermes-labs-ai/zer0dex/zer0dex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.00720 |
| Opus 5.5 | $0.00023 | $0.00288 |
| Sonnet 5.5 | $0.00011 | $0.00144 |
| Haiku 4.5 | $0.00006 | $0.00072 |
Grade A, and why
zer0dex scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
zer0dex
zer0dex is a local dual-layer memory pattern for AI agents: a compact, human-readable markdown index paired with semantic retrieval from a local vector store, queried before each message. It targets cross-project recall where flat memory files or vector-only RAG fall short. Reference implementation, local-first, Alpha (0.1.x line).
Use it for
- Combining a compressed markdown memory index with vector retrieval in one local loop
- Running a local memory server an agent host queries before model calls
- Seeding and querying persistent memory without standing up a hosted service
- Prototyping the dual-layer (index + vector) pattern before adopting a heavier memory stack
Do not use it for
- A hosted or multi-tenant memory platform
- A governance or safety layer for memory content
- Proof that any benchmark result transfers unchanged to a different corpus or workload
Quickstart
pip install zer0dex
zer0dex check
Or without installing, via uv:
uvx zer0dex check
Real output from a working local setup (Ollama running, models pulled):
✅ Ollama is running at http://localhost:11434
✅ Model present: nomic-embed-text
✅ Model present: mistral:7b
✅ mem0ai is importable
✅ chromadb is importable
✅ Python Ollama client is importable
Commands
zer0dex check # validate prerequisites (Ollama, models, mem0ai, chromadb)
zer0dex init # initialize a new memory store
zer0dex seed --source <path> # seed from markdown files
zer0dex serve # start the local memory server
zer0dex query "<text>" # query memories
zer0dex status # check server health
Output shape
check: per-prerequisite pass/fail lines (Ollama reachability, model presence, library importability)serve/status: local HTTP health and query resultsquery: ranked memory matches from the vector store
Common gotchas
checkfails closed if Ollama isn't running locally or the required models (nomic-embed-text, an LLM tag) aren't pulled — read the specific failing line, it names the missing prerequisite.- This is a reference pattern, not a managed service: there is no built-in multi-user isolation or remote auth.
- 0.1.x is a developer-preview compatibility line; check
docs/compatibility.mdbefore pinning across upgrades.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed f9ad1bf047a9
- 1mo ago First seen · 88 lines · 57 tokens per session scan A a4223ced3336
zer0dex is a skill published in the GitHub repository hermes-labs-ai/zer0dex (64 stars, last pushed 18d ago), licensed Apache-2.0. It adds 57 tokens to every session and 720 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-16.
zer0dex compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| zer0dexhermes-labs-ai/zer0dex | Skill | 64 | 18d ago | Apache-2.0 | A | 57 | Claude Code, Codex |
| xerjxerj-org/xerj | Skill | 19k | yesterday | Apache-2.0 | A | 38 | Claude Code, Codex |
| goodmem:helpPAIR-Systems-Inc/goodmem-claude-code-plugin | Skill | 9 | 2d ago | MIT | A | 46 | Claude Code |
| strata-memorySherryLi-vc/strata-memory | Skill | 0 | 5d ago | MIT | B | 76 | Claude Code, Codex |
| knowledge-orgbojieli/ai-agent-book | Skill | 57k | 29d ago | Apache-2.0 | A | 96 | Claude Code, Codex |
| memory-to-skillzilliztech/memsearch | Skill | 2.8k | yesterday | MIT | A | 82 | Claude Code, Codex |
| install-openviking-memoryvolcengine/OpenViking | Skill | 42k | yesterday | AGPL-3.0 | A | 191 | Claude Code, Codex |