brain-ingest-gate
Pre-write quality gate for content entering the brain. No raw copies: a bare cp/mv into the brain repo is a bug. Before any new page lands, resolve named…
Re-run or deepen the agent's identity interview. Drives the SHARED bootstrap answer bank (state/interview.json) via `gbrain bootstrap interview --set/--show/--confirm`, then re-renders the identity files with `gbrain bootstrap render --only <FILE> --force`. One answer store, two
$ npx -y skills add garrytan/gbrain --skill soul-audit --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/soul-auditContext preview
The summary Claude sees to decide when to auto-load this skill.
Re-run or deepen the agent's identity interview. Drives the SHARED bootstrap answer bank (state/interview.json) via `gbrain bootstrap interview --set/--show/--confirm`, then re-renders the identity files with `gbrain bootstrap render --only <FILE> --force`. One answer store, two
name: soul-audit version: 2.0.0 description: | Re-run or deepen the agent's identity interview. Drives the SHARED bootstrap answer bank (state/interview.json) via `gbrain bootstrap interview --set/--show/--confirm`, then re-renders the identity files with `gbrain bootstrap render --only <FILE> --force`. One answer store, two surfaces: first-boot bootstrap and this re-run skill write the same bank, so an updated answer flows into SOUL.md, USER.md, ACCESS_POLICY.md, and HEARTBEAT.md without hand-editing rendered files. Every answer is the user's own words — never invented. triggers: - "soul audit" - "customize agent" - "who am I" - "set up identity" - "change my agent's personality" tools: - shell mutating: true
Update the agent's identity through an interactive interview, any time after bootstrap. This skill does NOT generate files from scratch and does NOT write identity prose itself: it records the user's answers into the shared answer bank, then lets the bootstrap render engine produce the files. That keeps one source of truth — `state/interview.json` — no matter which surface (first-boot bootstrap, this skill, a future re-audit) collected the answers.
**IMPORTANT:** Content comes from the USER'S OWN ANSWERS, recorded verbatim. NEVER invent, embellish, or default an identity answer. The render gate structurally refuses until required answers exist and were read back and confirmed by the human.
This skill guarantees:
(verbatim, one key per answer; `--skip KEY` records an explicit decline).
mirror it to the user, then `--confirm <hash>` with the hash `--status` printed. Confirming a set the user never saw fails by design.
`gbrain bootstrap render --only SOUL.md --force` (repeat per file). `--force` backs the old file up under `.gbrain-bootstrap-backups/<ts>/` first — nothing is clobbered without a recoverable copy.
re-rendering one file is a complete, valid run.
gbrain bootstrap interview --show # what the bank holds now (start here) gbrain bootstrap interview --set KEY "..." # record one updated answer, verbatim gbrain bootstrap interview --skip KEY # explicit decline for an optional key gbrain bootstrap interview --status # gate + read-back hash gbrain bootstrap interview --confirm <hash> # after reading answers back to the user gbrain bootstrap render --only SOUL.md --force
Render targets: `SOUL.md`, `USER.md`, `ACCESS_POLICY.md`, `HEARTBEAT.md`, `AGENTS.md` (re-render whichever files the changed keys feed).
Ask: "What is this agent to you? Research partner? Executive assistant? Thinking partner? All of the above?" Keys: `AGENT_NAME`, `AGENT_PURPOSE`, `SOUL_RELATIONSHIP`. Renders: SOUL.md.
Show 3-4 communication style examples:
Ask which feels right; also ask for a reply that made them wince and why. Keys: `VOICE_REGISTER`, `SOUL_WINCE`, `SOUL_MODE_DEFAULT`. Renders: SOUL.md.
Ask: "What are your top 3-5 goals? What are you trying to accomplish?" Keys: `AGENT_TOP_JOBS`, `SOUL_GOOD_OUTPUT`, `SOUL_WORLDVIEW`. Renders: SOUL.md, AGENTS.md.
Ask: "Tell me about yourself. What do you do? What are you working on? Who are the key people in your world?" Keys: `PRINCIPAL_NAME`, `PRINCIPAL_CONTEXT`, `PRINCIPAL_TIMEZONE`. Renders: USER.md.
Ask: "Who should have access to your brain? Are there people who should see some but not all? Anyone to keep out entirely?" Key: `ACCESS_TIERS` (and review the standing-disclosure sections). Renders: ACCESS_POLICY.md.
Ask: "How often should the agent check in? Morning briefing? End of day summary? What recurring jobs do you want?" Keys: `HEARTBEAT_CADENCE`, `QUIET_HOURS`. Renders: HEARTBEAT.md. Jobs ship disabled — enable one at a time after a manual dry run (the ritual is in the rendered file).
Run `gbrain bootstrap interview --init` first if the bank does not exist yet (a workspace that never ran bootstrap); it prints the full question list.
Report exactly what changed: which keys were updated, which files re-rendered, and where the backups landed. Example: "Soul audit: updated VOICE_REGISTER + SOUL_WINCE, re-rendered SOUL.md (backup in .gbrain-bootstrap-backups/...). Re-run any phase anytime."
the bank (the render engine is the only author of these files)
the ANSWER, then re-render
each is independent — momentum beats completeness)
Give the agent you already use a memory you control. GBrain stores explicit facts with their sources, supports corrections and withdrawal, and makes the same memory available across your agents.
Repo: garrytan/gbrain
Pre-write quality gate for content entering the brain. No raw copies: a bare cp/mv into the brain repo is a bug. Before any new page lands, resolve named…
When you report a brain page to the user — created, edited, committed, or relayed from a subagent — a working link is part of the deliverable, in the SAME…
Brain knowledge base operations. The core read/write cycle: brain-first lookup, read-enrich-write loop, source attribution, ambient enrichment, back-linking.…
Deduplicate and synthesize raw concept stubs into a tiered intellectual map (T1 Canon to T4 Riff), tracing idea evolution across sources over time. Transforms…
Token-hygiene audit of the always-loaded context stack — CLAUDE.md, AGENTS.md, auto-memory MEMORY.md, and the bootstrap-rendered identity files (SOUL.md,…
When the user corrects a factual error, root-cause it immediately. Don't just note the correction — trace the error to its source, fix the source, and prevent…