Intake

From tonydzi/second-brain-starter-kit · View interactive version

Intake is an AI agent skill from the GitHub repository tonydzi/second-brain-starter-kit. Route a new rule, preference or policy edit into every home it belongs in (always-loaded canon, memory, the behavioral codex, a skill, a hook) and leave a trace in the always-loaded layer so parallel sessions pick it up on their own. Flow: dedup recall, classify by form, write to all homes, back up,

How to use this skill

Skill file

/intake β€” the rule intake (route it to its homes, don't just write it down)

πŸ§’ When reporting to a non-technical owner: end with a child-simple "In plain words" recap (memory eli5-always). Reports TO him only β€” never inside vault notes.

Why (canon: memory rules-intake-channel). This chat is the dedicated channel where the owner drops ALL rules/policies/Bible entries/skills/CLAUDE.md edits/preferences, so that working chats stay clean. My job is not just to write it down, but to DELIVER the rule to all of its homes, cross-link it, and leave a trace in the always-loaded layer, so that automatic/parallel processes see it on their next start. This skill = the same manual flow I repeated ~10Γ— in one session, folded into a single command.

Architecture (skill-design-three-layer): a thin SKILL.md orchestrator + deterministic steps (backup/commit/grep) + an external store (CLAUDE.md, memory, the vault). The routing decision is still shown to the owner in the report β€” the skill does not hide the logic, it executes it without asking at every step.


Step 0 β€” RECALL (dedup; cheap, ~0 tokens). NEVER spawn a duplicate

Before writing β€” check whether such a rule already exists (update it, don't spawn a copy; resolve conflicts by "newer beats older"):

Step 1 β€” Classify the rule by its FORM β†’ pick the homes

Route per operating-agreement β†’ "Where durable rules go" (do NOT duplicate the rule across files β€” each level REFERENCES the one below):

Step 1β˜… β€” THE TEST "could a HUMAN do this?" β†’ YES β†’ the rule ALSO GOES INTO THE BIBLE

If the rule could hypothetically be executed by the owner's live assistant (not only by me/code) β€” it is duplicated into the Bible (the single rulebook for all actors: the owner + assistants + AI). To keep the copies from drifting: the canon of the human-executable part lives in the Bible, and the machine layer (CLAUDE.md/memory) REFERENCES it. Purely mechanical things (an import script, a reindex β€” no human does that) are NOT duplicated into the Bible.

Step 2 β€” THE KEY invariant: a trace in the always-loaded layer is MANDATORY

The only things that "surface by themselves" for parallel processes are the ones in the always-loaded layer: CLAUDE.md and the MEMORY.md index load into EVERY session; individual memory files load by relevance; the vault does NOT surface on its own (it needs grep/RAG); a skill surfaces on its trigger. β†’ For a rule to become "background/automatic", it MUST leave a trace in CLAUDE.md or MEMORY.md (at least a pointer line to the canon), not only in the vault/skill.

Step 3 β€” Write into every chosen home

Step 4 β€” Backup + selective commit (safety)

Step 4β˜… β€” THE HOMES MATRIX + the watchdog (a gate, not an option; canon: the Bible entry on writing lessons into every home)

Before the report, fill in the matrix: each of the 6 homes (Bible Β· CLAUDE.md Β· memory + MEMORY.md Β· skill Β· hook/task Β· MOC) gets an explicit verdict βœ… written / β›” not needed + reason β€” silently skipping a home is not allowed (pitfall 2026-07-14: the Bible was forgotten because the route was kept "in the head"). Then prove it with the counter:

python ~/.claude/scripts/rule_home_guard.py <slug/keywords> β€” exit 1 = no trace in the always-loaded layer (Step 2 violated) β†’ fix it before reporting.

Step 5 β€” Report after the fact (NOT for permission β€” for transparency)

Briefly to the owner: WHAT the rule is Β· THE HOMES MATRIX from Step 4β˜… (a verdict per home) Β· what was cross-linked Β· conflicts/duplicates (if an existing one was updated). Like with concepts β€” after the fact, without asking permission for each home.


Boundaries / don't duplicate

<!--kit-footer-->


Like this skill? It is part of second-brain-starter-kit: the second brain we built for ourselves and run every day at Palo Alto AI Research Lab. Install the whole set with npx skills add tonydzi/second-brain-starter-kit. Everything is open source and free, so take what you need.

Flagships worth a look on their own: secondop-panel (a second opinion from a panel of external models), claude-memory-tidy (stop your agent's memory from rotting), telegram-mcp-kit (your own Telegram over MCP in about 15 minutes).

Author: Anton Dziatkovskii, Palo Alto AI Research Lab. Telegram @tonydzi - WhatsApp +1 341 222 9178 - X @Tony_Stef_

Engineers: want to test-drive this setup? Message me. I hand out free starter seeds to engineers who test and report back, and custom skill requests are welcome.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.