[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6R2XH8AJW6WWV4JKQ8Z33P3":3,"skill-same:01M6R2XH8AJW6WWV4JKQ8Z33P3":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":13,"repositoryHtmlUrl":64,"repositoryHomepageUrl":6,"ownerHtmlUrl":65,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":66,"install":67,"resources":79},"01M6R2XH8AJW6WWV4JKQ8Z33P3","brain-ops",null,"Brain knowledge base operations. The core read\u002Fwrite cycle: brain-first lookup,\nread-enrich-write loop, source attribution, ambient enrichment, back-linking.\nRead this before any brain interaction.","sixtycat2000-ctrl\u002Fgbrain-qmd","sixtycat2000-ctrl","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F263121306?v=4","01M6R2SPVP79P6Y6CC3HW4Y6GD","01M6R2SQ2MJXN4VVXWT7NQW9DD",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fbrain-ops\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"brain ops","ops","brain","knowledge base","linking","source","concepts","enrich","people","interaction","get","sync","query","cycle","back","write","read","loop","knowledge","search","2026-11-10 10:12:30",false,"---\nname: brain-ops\nversion: 1.0.0\ndescription: |\n  Brain knowledge base operations. The core read\u002Fwrite cycle: brain-first lookup,\n  read-enrich-write loop, source attribution, ambient enrichment, back-linking.\n  Read this before any brain interaction.\ntriggers:\n  - any brain read\u002Fwrite\u002Flookup\u002Fcitation\ntools:\n  - search\n  - query\n  - get_page\n  - put_page\n  - add_link\n  - add_timeline_entry\n  - get_backlinks\n  - sync_brain\nmutating: true\nwrites_pages: true\nwrites_to:\n  - people\u002F\n  - companies\u002F\n  - deals\u002F\n  - concepts\u002F\n  - meetings\u002F\n---\n\n# Brain Operations — The Ambient Context Layer\n\nThe brain is not an archive. It is a live context membrane that every interaction\nflows through in both directions.\n\n> **Convention:** See `skills\u002Fconventions\u002Fbrain-first.md` for the 5-step lookup protocol.\n> **Convention:** See `skills\u002Fconventions\u002Fquality.md` for citation and back-link rules.\n\n## Contract\n\nThis skill guarantees:\n- Brain is checked BEFORE any external API call (brain-first lookup)\n- Every inbound signal triggers the READ → ENRICH → WRITE loop\n- Every outbound response checks brain for relevant context\n- Source attribution on every fact written (inline `[Source: ...]` citations)\n- User's direct statements are highest-authority data\n- Back-links maintained on every brain write (Iron Law)\n\n## Iron Law: Back-Linking (MANDATORY)\n\nEvery mention of a person or company with a brain page MUST create a back-link\nFROM that entity's page TO the page mentioning them. An unlinked mention is a\nbroken brain. See `skills\u002Fconventions\u002Fquality.md` for format.\n\n## Phases\n\n### Phase 1: Brain-First Lookup (MANDATORY)\n\nBefore using ANY external API to research a person, company, or topic:\n\n1. `gbrain search \"name\"` — keyword search for existing pages\n2. `gbrain query \"natural question about name\"` — hybrid search for context\n3. `gbrain get \u003Cslug>` — if you know the slug, read the full page\n4. Check backlinks: who references this entity?\n5. Check timeline: recent events involving this entity\n\nThe brain almost always has something. External APIs fill gaps, not start from scratch.\n\n### Phase 2: On Every Inbound Signal (READ → ENRICH → WRITE)\n\nEvery message, meeting, email, or conversation that references a person or company:\n\n1. **Detect entities** — people, companies, deals mentioned\n2. **Load brain pages** — read existing pages for context before responding\n3. **Identify new information** — what does this signal tell us that the page doesn't know?\n4. **Write it back** — update the brain page with new info + timeline entry + source citation\n5. **Create if missing** — if notable and no page exists, create via enrich skill\n\n**User's direct statements are the highest-value data source.** Write them to brain\npages immediately with attribution `[Source: User, YYYY-MM-DD]`.\n\n### Phase 2.5: Structured Graph Updates (automatic)\n\nEvery `put_page` call automatically extracts entity references and writes them\nto the graph (`links` table) with inferred relationship types. Stale links\n(refs no longer in the page text) are removed in the same call. This is\n\"auto-link\" reconciliation.\n\n- No manual `add_link` calls needed for ordinary page writes.\n- Inferred link types: `attended` (meeting -> person), `works_at`, `invested_in`,\n  `founded`, `advises`, `source` (frontmatter), `mentions` (default).\n- The `put_page` MCP response includes `auto_links: { created, removed, errors }`\n  so the agent can verify outcomes.\n- To disable: `gbrain config set auto_link false`. Default is on.\n- Timeline entries with specific dates still need explicit `gbrain timeline-add`\n  (or batch via `gbrain extract timeline --source db`).\n\n### Phase 3: On Every Outbound Response (READ → PULL → RESPOND)\n\nBefore answering any question about a person, company, or topic:\n\n1. **Check the brain** — read relevant pages\n2. **Pull context** — use compiled truth + recent timeline\n3. **Respond with context** — the brain makes every answer better\n\nDon't answer from general knowledge when a brain page exists.\n\n### Phase 4: Ambient Enrichment\n\nThis is not a special mode. This is the default. Everything the user says is an\ningest event.\n\n- Person mentioned → check brain, create\u002Fenrich if needed (spawn background)\n- Company mentioned → same\n- Link shared → ingest it (delegate to idea-ingest)\n- Data shared → delegate to appropriate skill\n\n**Rules:**\n- Never interrupt the conversation to do enrichment\n- Spawn sub-agents for anything that would slow down the response\n- Never announce \"I'm enriching the brain\" — just do it silently\n\n## Output Format\n\nNo separate output. Brain-ops is an always-on behavior layer, not a report generator.\nThe output is updated brain pages and enriched responses.\n\n## Cross-source citation format (v0.18.0+)\n\nWhen a brain has multiple sources (wiki, gstack, yc-media, etc.), every\ncitation MUST include the source id: `[source-id:slug]`. Example:\n\n> You told me about the retry budget approach — see\n> [wiki:topics\u002Fresilience] and [gstack:plans\u002Fretry-policy] for where\n> this came from.\n\nRules:\n- The key is `sources.id` (immutable), never `sources.name` (mutable display).\n- Single-source brains still write `[default:slug]` OR may omit the prefix\n  for backward compat.\n- Every page payload returned by `search`, `query`, `get_page`, `list_pages`\n  carries `source_id` — always use it when citing, never guess.\n\nIf a search result has `source_id: \"gstack\"` and `slug: \"plans\u002Ffoo\"`,\nthe citation is `[gstack:plans\u002Ffoo]`. That's the whole rule.\n\n## Anti-Patterns\n\n- Answering questions about people\u002Fcompanies without checking the brain first\n- Using external APIs before checking the brain\n- Writing facts without inline `[Source: ...]` citations\n- Blocking the response to do enrichment\n- Overwriting user's direct statements with lower-authority sources\n- Creating brain pages for non-notable entities\n\n## Tools Used\n\n- `search` — keyword search\n- `query` — hybrid vector+keyword search\n- `get_page` — read a brain page\n- `put_page` — create\u002Fupdate brain pages\n- `add_link` — cross-reference entities\n- `add_timeline_entry` — record events\n- `get_backlinks` — check who references an entity\n- `sync_brain` — sync changes to the index\n","# Brain Operations — The Ambient Context Layer\n\nThe brain is not an archive. It is a live context membrane that every interaction\nflows through in both directions.\n\n> **Convention:** See `skills\u002Fconventions\u002Fbrain-first.md` for the 5-step lookup protocol.\n> **Convention:** See `skills\u002Fconventions\u002Fquality.md` for citation and back-link rules.\n\n## Contract\n\nThis skill guarantees:\n- Brain is checked BEFORE any external API call (brain-first lookup)\n- Every inbound signal triggers the READ → ENRICH → WRITE loop\n- Every outbound response checks brain for relevant context\n- Source attribution on every fact written (inline `[Source: ...]` citations)\n- User's direct statements are highest-authority data\n- Back-links maintained on every brain write (Iron Law)\n\n## Iron Law: Back-Linking (MANDATORY)\n\nEvery mention of a person or company with a brain page MUST create a back-link\nFROM that entity's page TO the page mentioning them. An unlinked mention is a\nbroken brain. See `skills\u002Fconventions\u002Fquality.md` for format.\n\n## Phases\n\n### Phase 1: Brain-First Lookup (MANDATORY)\n\nBefore using ANY external API to research a person, company, or topic:\n\n1. `gbrain search \"name\"` — keyword search for existing pages\n2. `gbrain query \"natural question about name\"` — hybrid search for context\n3. `gbrain get \u003Cslug>` — if you know the slug, read the full page\n4. Check backlinks: who references this entity?\n5. Check timeline: recent events involving this entity\n\nThe brain almost always has something. External APIs fill gaps, not start from scratch.\n\n### Phase 2: On Every Inbound Signal (READ → ENRICH → WRITE)\n\nEvery message, meeting, email, or conversation that references a person or company:\n\n1. **Detect entities** — people, companies, deals mentioned\n2. **Load brain pages** — read existing pages for context before responding\n3. **Identify new information** — what does this signal tell us that the page doesn't know?\n4. **Write it back** — update the brain page with new info + timeline entry + source citation\n5. **Create if missing** — if notable and no page exists, create via enrich skill\n\n**User's direct statements are the highest-value data source.** Write them to brain\npages immediately with attribution `[Source: User, YYYY-MM-DD]`.\n\n### Phase 2.5: Structured Graph Updates (automatic)\n\nEvery `put_page` call automatically extracts entity references and writes them\nto the graph (`links` table) with inferred relationship types. Stale links\n(refs no longer in the page text) are removed in the same call. This is\n\"auto-link\" reconciliation.\n\n- No manual `add_link` calls needed for ordinary page writes.\n- Inferred link types: `attended` (meeting -> person), `works_at`, `invested_in`,\n  `founded`, `advises`, `source` (frontmatter), `mentions` (default).\n- The `put_page` MCP response includes `auto_links: { created, removed, errors }`\n  so the agent can verify outcomes.\n- To disable: `gbrain config set auto_link false`. Default is on.\n- Timeline entries with specific dates still need explicit `gbrain timeline-add`\n  (or batch via `gbrain extract timeline --source db`).\n\n### Phase 3: On Every Outbound Response (READ → PULL → RESPOND)\n\nBefore answering any question about a person, company, or topic:\n\n1. **Check the brain** — read relevant pages\n2. **Pull context** — use compiled truth + recent timeline\n3. **Respond with context** — the brain makes every answer better\n\nDon't answer from general knowledge when a brain page exists.\n\n### Phase 4: Ambient Enrichment\n\nThis is not a special mode. This is the default. Everything the user says is an\ningest event.\n\n- Person mentioned → check brain, create\u002Fenrich if needed (spawn background)\n- Company mentioned → same\n- Link shared → ingest it (delegate to idea-ingest)\n- Data shared → delegate to appropriate skill\n\n**Rules:**\n- Never interrupt the conversation to do enrichment\n- Spawn sub-agents for anything that would slow down the response\n- Never announce \"I'm enriching the brain\" — just do it silently\n\n## Output Format\n\nNo separate output. Brain-ops is an always-on behavior layer, not a report generator.\nThe output is updated brain pages and enriched responses.\n\n## Cross-source citation format (v0.18.0+)\n\nWhen a brain has multiple sources (wiki, gstack, yc-media, etc.), every\ncitation MUST include the source id: `[source-id:slug]`. Example:\n\n> You told me about the retry budget approach — see\n> [wiki:topics\u002Fresilience] and [gstack:plans\u002Fretry-policy] for where\n> this came from.\n\nRules:\n- The key is `sources.id` (immutable), never `sources.name` (mutable display).\n- Single-source brains still write `[default:slug]` OR may omit the prefix\n  for backward compat.\n- Every page payload returned by `search`, `query`, `get_page`, `list_pages`\n  carries `source_id` — always use it when citing, never guess.\n\nIf a search result has `source_id: \"gstack\"` and `slug: \"plans\u002Ffoo\"`,\nthe citation is `[gstack:plans\u002Ffoo]`. That's the whole rule.\n\n## Anti-Patterns\n\n- Answering questions about people\u002Fcompanies without checking the brain first\n- Using external APIs before checking the brain\n- Writing facts without inline `[Source: ...]` citations\n- Blocking the response to do enrichment\n- Overwriting user's direct statements with lower-authority sources\n- Creating brain pages for non-notable entities\n\n## Tools Used\n\n- `search` — keyword search\n- `query` — hybrid vector+keyword search\n- `get_page` — read a brain page\n- `put_page` — create\u002Fupdate brain pages\n- `add_link` — cross-reference entities\n- `add_timeline_entry` — record events\n- `get_backlinks` — check who references an entity\n- `sync_brain` — sync changes to the index\n",{"name":5,"tools":43,"version":50,"mutating":51,"triggers":52,"writes_to":54,"description":60,"writes_pages":51},[37,30,44,45,46,47,48,49],"get_page","put_page","add_link","add_timeline_entry","get_backlinks","sync_brain","1.0.0",true,[53],"any brain read\u002Fwrite\u002Flookup\u002Fcitation",[55,56,57,58,59],"people\u002F","companies\u002F","deals\u002F","concepts\u002F","meetings\u002F","Brain knowledge base operations. The core read\u002Fwrite cycle: brain-first lookup,\nread-enrich-write loop, source attribution, ambient enrichment, back-linking.\nRead this before any brain interaction.\n","master","48f3da67113808a35b3721091cc58290a8c49ab4","skills\u002Fbrain-ops","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl","2026-04-26 19:27:01",{"source":8,"skillName":5,"commands":68,"prompt":78,"zipAvailable":51},[69,72,75],{"tool":70,"command":71},"npx","npx skills add sixtycat2000-ctrl\u002Fgbrain-qmd --skill brain-ops",{"tool":73,"command":74},"bunx","bunx skills add sixtycat2000-ctrl\u002Fgbrain-qmd --skill brain-ops",{"tool":76,"command":77},"pnpm","pnpm dlx skills add sixtycat2000-ctrl\u002Fgbrain-qmd --skill brain-ops","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fbrain-ops\u002FSKILL.md",[],[81,106,130,153,174,197],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":38},"01M6R33ZFP10GVGJ7FX4GQWVK1","webhook-transforms","Generic framework for converting external events (SMS, meetings, social mentions)\ninto brain-ingestible signals. Define a transform function, register a webhook URL,\nand incoming events get processed through the brain pipeline.","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fwebhook-transforms\u002FSKILL.md",[],[88,89,90,37,91,92,93,94,95,96,97,28,98,99,100,101,102,103,104,105],"webhook","transforms","webhook transforms","pipeline","SET","page","meetings","up","social","signals","define","register","sms","event","URL","true","for","generic",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":38},"01M6R33SCJAHZHG7HRN0JF29AB","testing","Skill validation framework. Validates every skill has SKILL.md with frontmatter,\nevery reference exists, every env var is declared. The testing contract for the\nskill system itself.","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Ftesting\u002FSKILL.md",[],[108,113,114,115,37,116,117,118,119,120,121,122,123,124,125,126,127,128,129,104],"test","run","validation","health","system","check","health check","skill validation","validate skills","contract","tests","skill health","pages","env","false","test skills","with",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":38},"01M6R33DCE6RSA4YRCJ5H787E3","soul-audit","6-phase interactive interview that generates the agent's identity (SOUL.md),\nuser profile (USER.md), access control (ACCESS_POLICY.md), and operational\ncadence (HEARTBEAT.md). Re-runnable anytime to update any section.","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fsoul-audit\u002FSKILL.md",[],[137,138,139,140,141,92,142,93,143,144,95,145,146,147,148,149,150,103,151,152],"audit","soul","soul audit","policy","customize","access","interactive","interview","personality","Access Control","cadence","SOUL.md","re","my agent","section","phase",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":38},"01M6R338GVZ1B8RCTWCEBG3SFS","smoke-test","Post-restart smoke tests + auto-fix for gbrain and OpenClaw environments.\nTests critical services, auto-fixes known issues, extensible via user-defined\ntest scripts in ~\u002F.gbrain\u002Fsmoke-tests.d\u002F*.sh.","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fsmoke-test\u002FSKILL.md",[],[113,160,161,162,163,114,164,34,165,166,167,123,168,169,170,103,104,171,172,173],"smoke","smoke test","openclaw","run smoke tests","issues","fix","auto","restart","critical","scripts","environments","fixes","break","auto-fix",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":38},"01M6R32XF94PR8S1G75S1FRZ94","skillpack-check","Run `gbrain skillpack-check` to produce an agent-readable JSON health report\nfor the gbrain install. Wraps `gbrain doctor` + `gbrain apply-migrations\n--list` so a host agent (your OpenClaw's morning-briefing, any OpenClaw cron)\ncan see at a glance whether the skillpack needs attention.\n\nUse when the user asks \"is gbrain healthy?\", when a cron fires a morning\ncheck, or proactively when something seems off (jobs not running, brain\nnot updating, autopilot silent).","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fskillpack-check\u002FSKILL.md",[],[118,181,182,183,116,184,185,186,187,127,188,189,190,191,192,104,193,194,195,196],"skillpack check","doctor","produce","use","migrations","glance","attention","gbrain","host","healthy","briefing","can","apply","morning check","when","running",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":203,"publishedAt":38},"01M6R32RBQXAG40PM35VSA2Y8T","skillify","The meta skill. Turn any raw feature or script into a properly-skilled,\ntested, resolvable, evaled unit of agent-visible capability. Use when\nthe user says \"skillify this\", \"is this a skill?\", \"make this proper\",\nor after a new feature is built without the full skill infrastructure.\n\nPaired with `gbrain check-resolvable`, skillify gives a user-controllable\nequivalent of Hermes' auto-skill-creation: you build, skillify checks the\nchecklist, check-resolvable verifies nothing is orphaned. The human keeps\njudgment; the tooling keeps the checklist honest.","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fskillify\u002FSKILL.md",[],[199,204,37,205,206,166,207,208,209,210,211,212,127,213,214,215,216,104,217,195],"infrastructure","Meta","list","evals","human","judgment","full","creation","feature","add","unit","make","you","capability"]