signal-detector
它能做什么
这项技能让你的智能体把你消息中的原创想法,以及人物和公司的名字保存到你的知识库。只有在你开启自动捕获之后才会生效。
适用场景
- ✓当你已开启自动捕获,并发送了一条值得保存想法的消息时。
- ✓当你提到一个应该在知识库中拥有页面的人或公司时。
- ✓当你希望智能体在每条消息之后记录一段它所保存内容的简短摘要时。
技能链接
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-coding/skills/signal-detector/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请记下我分享的任何原创想法,并把我提到的人添加到我的知识库中。”
每周 5 个新技能,1 分钟读完。
工作原理
你开启之后,智能体会检查每条有实质内容的消息,寻找想法和名字。它会保存你的原话,为人物和公司添加或更新页面,并记录一段简短摘要。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Signal Detector — Ambient Brain Capture
After the user enables automatic capture, apply this lightweight pass to substantive inbound messages within their chosen scope. It watches for:
- Original thinking — the user's ideas, observations, theses, frameworks
- Entity mentions — people, companies, media references
Original thinking is AT LEAST as valuable as entity extraction. Ideas are the intellectual capital. Entities are bookkeeping. Both compound over time.
Contract
This skill guarantees:
- Applies only after explicit automatic-capture opt-in (skips: no recorded choice, capture off, chat-only requests, and purely operational messages)
- Spawns as a sub-agent where the harness supports it; otherwise runs the detection inline before composing the reply. Never blocking the response is the intent, not a runtime contract
- Checks the user's stored capture choice before writing and honors narrower per-message instructions; a first-fire announcement is not consent
- Captures ideas with the user's EXACT phrasing (no paraphrasing)
- Detects entity mentions and creates/enriches brain pages
- Logs a one-line summary of what was captured
- Back-links all entity mentions (Iron Law)
- Citations on every fact written
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:
- Check if that person/company has a brain page
- If yes → add a back-link FROM their page TO the page you just created/updated
- Format:
- **YYYY-MM-DD** | Referenced in [page title](path) — brief context - An unlinked mention is a broken brain.
Enablement before capture
Automatic 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.
Per-User Storage Policy
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.
Phases
Phase 1: Idea/Observation Detection (PRIMARY)
When the user expresses a novel thought, observation, thesis, or framework:
- If it's the user's original thinking (they generated it) → create/update
originals/{slug} - If it's a world concept they're referencing → create/update
concepts/{slug} - If it's a product or business idea → create/update
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.
Phase 2: Entity Detection (SECOND
常见问题
它会保存我输入的所有内容吗?
不会。它只在你选择的范围内运行,并会跳过简单或操作性的消息。
它会使用我的原话吗?
会。想法会按你的原有措辞记录,而不是改写。
它需要先征得我的许可吗?
需要。在你明确开启之前,什么都不会被捕获,首次通知并不算同意。
详情
作者的原始描述
Opt-in ambient signal capture. After explicit enablement, applies on substantive inbound messages to detect original thinking and entity mentions. Use an authorized sub-agent where supported; otherwise detect inline. Aim to never block the main response.
repo: garrytan/gbrain
热度
- GitHub 星标
- 31k
- 排名
- #9268
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …