/gbrain-coding:signal-detectorfrom gbrain-coding
Opt-in ambient capture of original thinking and entity mentions from inbound messages. Creates/enriches brain pages for ideas, people, companies, and concepts after user enables automatic capture.
Ships in gbrain-coding. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
After the user enables automatic capture, apply this lightweight pass to substantive inbound messages within their chosen scope. It watches for:
Original thinking is AT LEAST as valuable as entity extraction. Ideas are the intellectual capital. Entities are bookkeeping. Both compound over time.
This skill guarantees:
Ambient routing is a harness convention that a well-behaved agent
follows, not a mechanical guarantee; nothing in the gbrain runtime blocks
a reply if the skill never loads. On harnesses without per-message ambient
routing (Claude Code, Codex), apply this skill as an agent convention or
wire it via a prompt-submit hook. When the operator has enabled
memory.auto_writeback (off by default; gbrain config set memory.auto_writeback salient), the MCP server's initialize instructions
and the managed bootstrap instruction blocks carry the ambient-writeback
contract to the agent, and on Claude Code a Stop-hook extraction backstop
catches turns the convention missed. That is still a convention on the
agent side — server-delivered instructions plus a backstop, not a
mechanical guarantee.
Convention: See
skills/conventions/quality.mdfor Iron Law back-linking.
Every time this skill creates or updates a brain page that mentions a person or company:
- **YYYY-MM-DD** | Referenced in [page title](path) — brief contextAutomatic capture is off by default. Before writing, establish an explicit
user choice for this brain and capture scope. A stored opt-in or an explicitly
enabled memory.auto_writeback mode can supply that choice; off, a missing or
unreadable choice cannot. Reading this skill, installing GBrain, an available
API key, silence, or an announcement that capture is on does not authorize it.
If the user asks to enable capture, explain what will be retained and record the accepted choice. Honor an existing choice without asking again. A request to remember one fact authorizes that fact, not future ambient capture. Delegation and paid enrichment are separate capabilities: capture opt-in alone does not authorize spawning workers or making paid provider calls.
After activation, confirm the chosen scope once and explain how to turn it off. Do not capture the current turn while awaiting a required answer.
If the user turns capture off, record the requested setting and stop capture: no content pages, links, or timeline entries. A chat-only instruction suppresses capture for that message without changing the standing setting; do not save the chat-only content as a preference. Re-enable only on request. Explicit remembering and relevant recall remain available when capture is off.
When the user expresses a novel thought, observation, thesis, or framework:
originals/{slug}concepts/{slug}ideas/{slug}Capture exact phrasing. The user's language IS the insight. Don't paraphrase.
Cross-linking (MANDATORY): Every original MUST link to related people, companies, meetings, and concepts. An original without cross-links is a dead original.
gbrain search "name" — does a page exist?gbrain timeline-add <slug> <date> "<summary>"Auto-link (v0.10.1): When you write/update an originals or ideas page that
references a person or company, the auto-link post-hook on put_page
automatically creates the link from the new page to that entity. You don't
need to call gbrain link manually. Timeline entries still need explicit calls.
Always log a one-line summary:
Signals: 0 ideas, 0 entities, 0 facts (skipped: operational)Signals: 0 ideas, 0 entities, 0 facts (skipped: capture off)Signals: 1 idea (captured → originals/x), 2 entities (enriched → people/y, companies/z)This makes the ambient capture loop debuggable.
After opt-in, report observed writes and their provenance. Keep the signal log brief and verify captured content with an actual readback. Without opt-in, perform no capture writes; a skipped-capture diagnostic is not a reason to interrupt every response or ask for enablement repeatedly.
Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:
write_pending (exit 10) or revision_conflict: never block the main reply; poll the receipt or re-read and merge on the next turn.no_pricing or a cost-cap refusal, skip enrichment and leave the page thin.search — check if entity page existsquery — semantic search for related contextget_page — load existing entity pagesput_page — create/update brain pagesadd_link — cross-reference entitiesadd_timeline_entry — record events on entity timelinesWhat SKILL.md sets; muted values are Claude Code's defaults
Use when the user asks: "every substantive inbound message after automatic-capture opt-in".
npx claudepluginhub cheroma/gbrain-link-chat --plugin gbrain-coding21 skills in this plugin
/brain-ingest-gatePre-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 entities registry-first (a vector score is a floor for prose, never a gate for named things), then run the read-the-top-hit dedup decision tree (clear-dup / plausible-dup / clear). Owns dedup; delegates enrichment to the shipped ingestion skills. Routing convention, not an operation-boundary enforcement.
/brain-link-disciplineWhen 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 message. Derive the path mechanically (git ls-files --full-name), push
BEFORE linking, verify the link resolves when a hosted remote exists, and
degrade through a defined fallback chain when it doesn't. Inside brain
pages the rule inverts: relative links preserve the link graph; absolute
URLs are for chat deliverables only.
/brain-opsBrain knowledge base operations. The core read/write cycle: brain-first lookup,
read-enrich-write loop, source attribution, ambient enrichment, back-linking.
Read this before any brain interaction.
/concept-synthesisDeduplicate and synthesize raw concept stubs into a tiered intellectual map (T1 Canon to T4 Riff), tracing idea evolution across sources over time. Transforms thousands of raw concept pages into a curated intellectual fingerprint. Includes a reversible curation cull pass (Phase 5) with hard keep/delete/merge verdicts, substance gates, grounding labels, cluster budgets, and merge-with-backlinks salience promotion./context-auditToken-hygiene audit of the always-loaded context stack — CLAUDE.md,
AGENTS.md, auto-memory MEMORY.md, and the bootstrap-rendered identity files
(SOUL.md, USER.md, ACCESS_POLICY.md, HEARTBEAT.md) or their harness
equivalents. Finds redundancy, contradictions, stale content, compression
candidates, and skill-extraction candidates; produces a ranked action list
sorted by token savings with a risk class per finding. REPORT-ONLY: this
skill never edits any audited file. Recommendations for bootstrap-rendered
files target the interview answer bank / templates, never the rendered
output. Judging routes through `gbrain eval cross-modal` (single cheap
model by default; full multi-model panel is explicit opt-in).
/correction-pipelineWhen 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 recurrence. Every factual error is
either a data error (bad brain page, bad memory file, bad rendered
SOUL/USER identity, bad facts row) or a hallucination (LLM
confabulated from partial signals).
5 plugins in 3 repositories ship this exact skill · first indexed Oct 9, 2026
Other plugins' skills for the same job