Opt-in ambient signal capture. After explicit enablement, applies on substantive inbound messages to detect original thinking and entity mentions. Use an author
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-signal-detector-ec5882c8cb5d ,按照其中的说明把「signal-detector」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
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.
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 timelines