zero

zero is a skill for Claude Code, Codex from miru-zero/zero-brain. It costs 131 tokens per session (2,165 once invoked), scanned A, original, MIT.

A command and skill system for managing Zero, a personal knowledge and memory system. It covers starting the system, checking its health, syncing it, installing it, and troubleshooting it.

In plain words
What is it for?
It helps boot Zero, run health checks, repair or install parts of it, and diagnose problems with its memory vault and tools.
Why use it?
It provides a defined way to check whether Zero is connected and working before changing or using its stored knowledge.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions Codex.

Install

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.

agentmods
npx agentmods add skills/miru-zero/zero-brain/zero
Any agent
npx skills add miru-zero/zero-brain --skill zero
Clone the repo
git clone --depth 1 https://github.com/miru-zero/zero-brain

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for zero

README.md
[![agentmods](https://agentmods.dev/badge/skills/miru-zero/zero-brain/zero.svg)](https://agentmods.dev/skills/miru-zero/zero-brain/zero)
Your own site
<a href="https://agentmods.dev/skills/miru-zero/zero-brain/zero"><img src="https://agentmods.dev/badge/skills/miru-zero/zero-brain/zero.svg" alt="Measured on agentmods" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,165 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00131 $0.02165
Opus 5 $0.00066 $0.01082
Sonnet 5 $0.00026 $0.00433
Haiku 4.5 $0.00013 $0.00216

Measured 2d ago against content hash 2442564a19ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

zero 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 2d 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.

skills/zero/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

⭕ ZERO — Boot / Health / Install ของระบบ Zero

Overview

คำสั่งเดียวสำหรับ "ตื่น + เช็ค + ซ่อม" ระบบ Zero ของป๊า ทุกอย่างอยู่ใต้โซน ~/.zero/ (Windows: C:\Users\<user>\.zero\) — ห้ามกระจายไปที่อื่น

แผนที่โซน (จำให้ขึ้นใจ)

Path คืออะไร ห้าม
~/.zero/brain/ สมอง (Obsidian vault, 616+ โน้ต, orphan ต้อง = 0) ห้ามแก้ไฟล์ตรงๆ นอก MCP ถ้าไม่ rehash manifest
~/.zero/mcp/zero-brain/ repo miru-zero/zero-brain + MCP server (tools zero_*) ห้าม commit ถ้า smoke ไม่ผ่าน 121/121
~/.zero/share/ ส่วนทำงาน daimon (sessions, skills, runtime) — ไม่ใช่สมอง ห้ามนับเป็นความจำ

Boot Check (รันเมื่อถูกเรียก)

Skills index lifecycle: index สร้างตอน session เริ่ม (และ rebuild ตอน compact) — skill ที่ลงกลาง session จะ ไม่เข้า index ทันที · ถ้าป๊าพิมพ์ /zero แล้วไม่ทริกเกอร์ ให้เช็คว่า session นี้เก่ากว่าตอนติดตั้งไหม → ทางแก้: เปิด session ใหม่ (หรือรอ compact)

  1. เช็ค MCP ด้วยการเรียกจริงเท่านั้น ห้ามเดา — โมเดล list tools ตัวเองไม่ได้ ความรู้สึกว่า "ไม่เห็น tools zero_*" ไม่ใช่หลักฐาน · ให้เรียก zero_health เลย:
    • ตอบ ok:trueMCP ผูกอยู่แล้ว ทำข้อ 2 ต่อทันที — ห้ามพูดว่า "ยังไม่ได้ผูก" และห้ามสั่ง setup/restart ใหม่เด็ดขาด (CLI ผูก auto ทุก boot ผ่าน ~/.miru_zero/mcp.json และ turn จะรอ MCP connect ก่อนคุยอยู่แล้ว)
    • error ชัดเจนว่า tool ไม่มีในระบบ (unknown tool) → ค่อยรัน node ~/.zero/mcp/zero-brain/tools/setup-agents.mjs แล้วบอกป๊า restart client
    • client ไม่มี MCP runtime → ใช้ zero mcp zero_health '{}' ผ่าน CLI แทน (ดูหัวข้อ Client ที่ไม่มี MCP runtime ด้านล่าง) · ห้าม sync/แก้ brain ด้วย file tools แทนเด็ดขาด
  2. ~/.zero/brain/ มี AGENTS.md + manifest.jsonl → อ่าน AGENTS.md ก่อนเสมอ (สัญญามนุษย์-agent)
  3. MCP zero_health ตอบ → notes ครบ / orphans = 0 / dead links = 0 → รายงานตัวเลขให้ป๊า
  4. Obsidian vault = ~/.zero ทั้งโซน โดย non-brain ถูกซ่อนอัตโนมัติ — install รัน tools/setup-obsidian.mjs ซ่อน mcp/share/… 2 ชั้น (userIgnoreFilters ใน graph/search + CSS snippet ใน explorer) ให้เหลือ brain/ ก้อนเดียว · ถ้าเห็น daimon-share/mcp โผล่ใน vault explorer แปลว่าเครื่องนั้นยังไม่ได้รัน → รัน node ~/.zero/mcp/zero-brain/tools/setup-obsidian.mjs แล้ว reload Obsidian (Ctrl+R)
  5. ผิดปกติข้อไหน → รายงาน + เสนอซ่อม ห้ามซ่อมเองถ้าเป็นงานลบ/ย้าย (กฎข้อ 1 ห้องป๊า)

Read the full file on GitHub · 85 lines

Changes

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.

  1. 2d ago First seen · 85 lines · 131 tokens per session scan A 2442564a19ab

Subscribe to this mod's changes

zero is a skill published in the GitHub repository miru-zero/zero-brain (0 stars, last pushed 18d ago), licensed MIT. It adds 131 tokens to every session and 2,165 once invoked, about $0.0007 per session on Opus 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.

Related

Other skills, from other repositories

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

Migrate

Intakes external content, classifies chunks against LifeOS taxonomy, commits with provenance. Sources: .md/.txt, stdin, LifeOS dirs, CLAUDE.md/Cursor/OpenAI Custom Instructions, Obsidian/Notion/Apple Notes exports. MigrateScan classifies → routing table. MigrateApprove with…

danielmiessler/LifeOS · 158 tokens

release

Cut a versioned release and publish everos to PyPI via the tag-triggered workflow.

EverMind-AI/EverOS · 20 tokens

personal-assistant

A personalized assistant that remembers your preferences.

NVIDIA/SkillSpector · 11 tokens

daily-briefing

Proactive daily briefing that fires on a recurring schedule, pulls recent memory and workspace context, composes a structured summary (action items, progress, radar, next steps), and delivers it to all active channels. Enable with a time like "set up my daily briefing at 9am". Disable, reschedule, or check status at…

vellum-ai/vellum-assistant · 75 tokens

company-brain

Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so Claude can answer questions on your team's behalf. Team-scope sibling to second-brain (which is personal-scope). Seven modes — capture (drop something into the right structured dir), compile (process into wiki…

coreyhaines31/makerskills · 322 tokens