/gbrain-coding:signal-detectorfrom gbrain-coding
Always-on ambient signal capture. Applies on every substantive inbound message to detect original thinking and entity mentions. Spawn as a cheap sub-agent where the harness supports it; otherwise run detection inline. Aim to never block the main response.
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.
Lightweight capture pass applied to every substantive inbound message. It watches for TWO things with EQUAL priority:
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:
Always-on is a harness-routing 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 contextAmbient capture persists the user's words into the brain, so the user must know it is on. The FIRST time this skill captures anything for a user, announce it in the visible reply: ambient signal capture is on, it stores ideas and entity mentions as brain pages, and saying "turn off signal capture" disables it. Record that the announcement happened (a preference note in the brain works) so it fires once, not every message. Asking once and recording the answer is equally valid; either way the preference is stored, never re-asked per message.
Ambient capture is a DEFAULT, not a mandate. If the user turns it off (or asks for chat-only handling of a specific message), record the preference and stop firing: no pages, no links, no timeline entries. Re-enable on request. Users who turned capture off sit on the skip list alongside purely operational messages.
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.
Runs in the background, but not fully silent at first: until the user has seen the first-fire consent announcement, surface the one-line signal log in the visible reply so early captures are never invisible. After that the skill runs quietly; the output is brain pages created/updated and the signal log line.
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
npx claudepluginhub ang-ventures/gbrain-source --plugin gbrain-coding20 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.