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 agentmods add instructions/slowww-ai/second-brain/claude-mdgit clone --depth 1 https://github.com/slowww-ai/second-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/instructions/slowww-ai/second-brain/claude-md)<a href="https://agentmods.dev/instructions/slowww-ai/second-brain/claude-md"><img src="https://agentmods.dev/badge/instructions/slowww-ai/second-brain/claude-md.svg" alt="Measured on agentmods" 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 | $0.01991 | $0.01991 |
| Opus 5 | $0.00996 | $0.00996 |
| Sonnet 5 | $0.00398 | $0.00398 |
| Haiku 4.5 | $0.00199 | $0.00199 |
Grade A, and why
second-brain CLAUDE.md 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 5d 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 — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Second Brain
A personal wiki built from raw captured markdown. Claude Code helps ingest, link, index, and synthesize.
Folder layout
wiki/raw/— append-only dumps. Never edit or delete files here. Anything captured goes here first: clipped articles, meeting notes, transcripts, half-formed thoughts.wiki/notes/— the distilled wiki. Interlinked markdown notes derived fromraw/. Safe to edit and rewrite.wiki/outputs/— generated deliverables (briefs, memos, docs, decks). Disposable.scripts/— Python helpers (ingest.py,reindex.py,search.py,dashboard.py).wiki/lancedb/— LanceDB vector store (tablenotes) holding Gemini embeddings. Used for semantic search.wiki/index.db— SQLite side-table forlinks,ingestedledger, andnote_meta(mtime tracking).
Storage split
The index is deliberately split across two stores. Vectors live in LanceDB (wiki/lancedb/) for on-disk ANN search without loading every embedding into memory. Graph and ledger metadata lives in SQLite (wiki/index.db): links (wikilink edges, rebuilt every reindex), ingested (raw-file ledger keyed by filename, with content hash + produced notes), and note_meta (per-note mtime for incremental reindex). When changing the schema in one store, check whether the other needs a matching change.
Embeddings & search
Semantic search uses the Gemini gemini-embedding-2-preview model via google-genai, stored in LanceDB for on-disk vector search (no loading all embeddings into memory). scripts/reindex.py only re-embeds notes whose mtime changed.
GEMINI_API_KEY is read from os.environ directly — the scripts do not auto-load .env. Either export the key in your shell, or run with:
set -a; source .env; set +a
python scripts/reindex.py
Slash commands
The workflow is driven by skill-backed slash commands:
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.
- 5d ago First seen · 138 lines · 1,991 tokens per session scan A b63e5c627bd5
second-brain CLAUDE.md is an instructions file published in the GitHub repository slowww-ai/second-brain (10 stars, last pushed 21d ago), licensed MIT. It adds 1,991 tokens to every session, about $0.0100 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-08-31.
Other instructions, from other repositories
cognirepo CLAUDE.md
Claude Code instructions for ashlesh-t/cognirepo, covering claude.md, key rules, session start sequence (run in this order), behavioral confirmation rule and personas (cognirepo-402, cognirepo-403).
aeon CLAUDE.md
Instructions for aeonfun/aeon, covering aeon, how aeon works, strategy, voice and soul file hierarchy (read in this order).
wayland-core copilot-instructions.md
Copilot instructions for FerroxLabs/wayland-core, covering ijfw rules, output discipline, memory routing, context discipline and cross-audit.
mcp-structured-memory CLAUDE.md
Claude Code instructions for nmeierpolys/mcp-structured-memory, a project described as: Structured Memory MCP Server.
inkwell-memory CLAUDE.md
Instructions for veronchenko/inkwell-memory, covering claude.md — inkwellmemory, layout, multi-tenant mode (inkwellmultitenant=1), conventions and testing.
memory-mcp-1file AGENTS.md
Instructions for pomazanbohdan/memory-mcp-1file, covering ⛔ l0 invariants (never violate under any circumstance), detection heuristic, 🔀 phase transition routing (⛔ blocking), gate-0: phase identification & loading and 🧾 proof-of-load requirement (critical).