Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add miru-zero/zero-brain --skill zero-brain-memorygit clone --depth 1 https://github.com/miru-zero/zero-brainWrote 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/miru-zero/zero-brain/zero-brain-memory)<a href="https://agentmods.dev/skills/miru-zero/zero-brain/zero-brain-memory"><img src="https://agentmods.dev/badge/skills/miru-zero/zero-brain/zero-brain-memory/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/miru-zero/zero-brain/zero-brain-memory"><img src="https://agentmods.dev/badge/skills/miru-zero/zero-brain/zero-brain-memory.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.00107 | $0.01032 |
| Opus 5.5 | $0.00043 | $0.00413 |
| Sonnet 5.5 | $0.00021 | $0.00206 |
| Haiku 4.5 | $0.00011 | $0.00103 |
Grade A, and why
zero-brain-memory 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 3mo 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 — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
zero-brain-memory — กฎวางความจำ Zero Brain (โซนใหม่ ~/.zero)
แผนที่สมอง (จำให้ขึ้นใจ)
| Path | คืออะไร | กฎ |
|---|---|---|
~/.zero/brain/ |
vault ความจำ (Obsidian เปิดที่นี่เท่านั้น) | อ่าน AGENTS.md ใน root ก่อนเสมอ |
~/.zero/brain/.kb/ |
manifest / links / audit / episodes (JSONL append-only) | ห้ามแตะด้วยมือ — ผ่าน MCP เท่านั้น |
~/.zero/mcp/zero-brain/ |
repo + MCP server (tools zero_*) |
commit ต้อง smoke 121/121 ก่อน |
กฎเหล็ก
- ทุกการเขียน/ย้าย/ลบความจำผ่าน tools
zero_*เท่านั้น — ห้ามแก้ไฟล์ vault ตรงๆ; ถ้าบังคับจำเป็น รันnode tools/rehash-manifest.mjsทันทีหลังแก้ - orphans ต้อง = 0 — โน้ตใหม่ทุกใบ
zero_linkเข้า MOC/index อย่างน้อย 1 เส้น แล้วเช็คzero_health - ห้ามเก็บในสมอง: credentials, tokens, PII, raw wire logs, full session dumps
- privacy:
T0default ·T1ไม่โผล่ search default ·T2เข้ารหัส อ่านต้องอนุมัติรายใบ — ใส่ privacy ให้ถูกตั้งแต่สร้าง
เครื่องมือ → ปลายทาง
| ต้องการ | ใช้ tool | ลงที่ |
|---|---|---|
| จดด่วน / focus ระหว่าง session | zero_capture |
00_Fleeting/ |
| ความรู้ถาวร / log งาน | zero_write_note (atomic/entity ต้อง evidence ≥1) |
10_Notes/ |
| ดัชนี / MOC / กฎระบบ | zero_write_note ชี้ path 20_Atlas/ |
20_Atlas/ |
| จบงาน: ทำอะไร/วิธีไหน/ได้ผลไหม/จาก runtime ไหน | zero_episode |
.kb/episodes.jsonl |
| ค้นก่อนสร้างใหม่ (กันซ้ำ) | zero_search / zero_match |
— |
| ผูกเข้ากราฟ | zero_link (เช็ค from/to/rel ทั้งสองทิศ กันซ้ำในตัว) |
.kb/links.jsonl |
Placement decision tree
- ความคิดชั่วคราว / focus สั้นๆ →
zero_capture(00_Fleeting) — เก็บเกี่ยวใน 7 วัน - ความรู้ใช้ซ้ำ / บทเรียน / log โปรเจ็กต์ →
zero_write_noteลง10_Notes/(โปรเจ็กต์:10_Notes/Projects/<ชื่อ>/) - ดัชนี แผนที่ กฎที่ agent ต้องอ่าน →
20_Atlas/ - ไม่แน่ใจ → ถามป๊าก่อนวาง
- ก่อนสร้างใหม่ทุกครั้ง:
zero_searchหาของเดิมก่อน — มีแล้วให้zero_update_noteไม่สร้างซ้ำ
จบ session / compaction
zero_episodeสรุป: ทำอะไร เครื่องมือไหน ได้ผล/ไม่ได้ผล (ระบุ runtime ต้นทาง: kimi-work / kimi-code / codex)- โน้ต fleeting ที่มีค่าถาวร → เลื่อนเป็น
zero_write_note10_Notes แล้ว link zero_healthปิดท้าย: notes ครบ / orphans = 0 / dead links = 0
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.
- 3mo ago First seen · 56 lines · 107 tokens per session scan A 9a737ad01e46
zero-brain-memory is a skill published in the GitHub repository miru-zero/zero-brain (0 stars, last pushed 3mo ago), licensed MIT. It adds 107 tokens to every session and 1,032 once invoked, about $0.0004 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-03.
zero-brain-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| zero-brain-memorymiru-zero/zero-brain | Skill | 0 | 3mo ago | MIT | A | 107 | Claude Code, Codex |
| knowledge-ingestopenclaw/openclaw | Skill | 396k | today | MIT | A | 80 | Claude Code, Codex |
| forgetasgeirtj/system_prompts_leaks | Skill | 74k | today | CC0-1.0 | A | 0 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 6d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 21k | 15d ago | MIT | A | 184 | Claude Code |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |
| memoryopensquilla/opensquilla | Skill | 7.2k | 7d ago | Apache-2.0 | A | 44 | Claude Code, Codex |