[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71K1398BGXFTBC36BJHSMW7":3,"skill-same:01M71K1398BGXFTBC36BJHSMW7":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M71K1398BGXFTBC36BJHSMW7","brain:rescan",null,"Use when project files changed since the last brain scan, CLAUDE.local.md was updated, or a periodic refresh is due. Rescans incrementally, writes new entities, decisions, and documents; needs project_brain.db (run \u002Fbrain-init first).","coco-research\u002Fcoco","coco-research","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F68911604?v=4","01M71JRE9C4NM4NSZM4JD0BJTB","Coco Research","01M71JREA0ZMR0PMH3CKA99SN1",631,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fbrain\u002Fskills\u002Fbrain-rescan\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,5,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"brain","first","refresh","last","decisions","entities","use","periodic","scan","run","when","documents","files","new","init","local","project","db","2026-11-10 10:12:30",false,"---\nname: brain:rescan\ndescription: \"Use when project files changed since the last brain scan, CLAUDE.local.md was updated, or a periodic refresh is due. Rescans incrementally, writes new entities, decisions, and documents; needs project_brain.db (run \u002Fbrain-init first).\"\n---\n\n# \u002Fbrain:rescan --- Incremental Knowledge Rescan\n\nDetects what changed since the last scan and updates the brain DB with new knowledge.\n\n## Prerequisites\n\n- `project_brain.db` must exist in the project folder (or parent). If not found, tell the user: \"No brain DB found. Run `\u002Fbrain-init` first.\"\n- At least one project must exist in the DB.\n\n## Procedure\n\n### Step 1: Run the scanner\n\n```bash\npython3 ~\u002F.claude\u002Fskills\u002Fbrain\u002Fscripts\u002Fbrain\u002Fbrain_cli.py scan\n```\n\nCheck the output:\n- If `is_first_scan: true` → this folder was never scanned. Tell the user and proceed with full scan.\n- If `new_files: 0` and `changed_files: 0` → \"Everything up to date. No changes since last scan ({last_scan}).\" → done.\n- Otherwise, show the delta:\n\n```\nRESCAN DELTA\n============\nLast scan:      {last_scan}\nNew files:      N\nChanged files:  N\nRemoved files:  N\nUnchanged:      N\n\nNew\u002Fchanged files:\n  + docs\u002FNewDoc.html          (new)\n  ~ CLAUDE.local.md           (changed)\n  + emails\u002FLatest_Thread.txt  (new)\n\nKnowledge sources:\n  CLAUDE.local.md:  found \u002F not found (changed: yes\u002Fno)\n  Memory files:     N files (N new\u002Fchanged)\n  Documents:        N new, N changed\n  Emails:           N new, N changed\n```\n\n### Step 2: Process only new\u002Fchanged files\n\nFollow the same extraction logic as `\u002Fbrain-init` Step 4, but **only for files in the delta**:\n\n#### If CLAUDE.local.md is new or changed:\n- Re-read and extract entities, decisions, events\n- Use `upsert_entity` so existing entities get updated rather than duplicated\n- For decisions: check existing decisions in DB, only add genuinely new ones (compare decision text)\n\n#### If memory files are new or changed:\n- Read only the new\u002Fchanged memory files\n- Extract project decisions, system references\n\n#### For new\u002Fchanged documents and emails:\n- Register as `document` entities via `upsert_entity`\n- Metadata includes path, type, size\n\n#### For removed files:\n- Do NOT auto-delete entities. Just report: \"N files removed since last scan. Their brain entities are preserved — delete manually if needed.\"\n\n### Step 3: Present extraction summary\n\n```\nRESCAN RESULTS\n==============\nProject: {name} ({slug})\n\nNew\u002Fupdated entities:    N (list)\nNew decisions:           N (list)\nNew events:              N (list)\nNew document entities:   N (list)\nSkipped (unchanged):     N files\n\nTotal proposed writes: NN\n```\n\nAsk: **\"Write to brain? [Y\u002Fn\u002Fadjust]\"**\n\n### Step 4: Execute writes and update manifest\n\nSame write order as `\u002Fbrain-init` Step 6:\n1. Entities (upsert)\n2. Relationships\n3. Decisions (dedup check)\n4. Events (dedup check)\n5. Document entities (upsert)\n\nAfter all writes, sync to MemPalace and brain.json:\n```python\nfrom brain.memory_bridge import full_sync\nfull_sync(\"project_brain.db\", project_slug)\n```\n\nThen update the manifest:\n```bash\npython3 ~\u002F.claude\u002Fskills\u002Fbrain\u002Fscripts\u002Fbrain\u002Fbrain_cli.py scan-update\n```\n\n### Step 5: Report\n\n```\nBRAIN UPDATED (rescan)\n======================\nEntities:      +N, ~N updated (total: N)\nDecisions:     +N (total: N)\nEvents:        +N (total: N)\nDocuments:     +N (total: N)\n\nManifest updated: N files tracked\nNext scan will only process changes after {now}.\n```\n\n## When to use \u002Fbrain-rescan vs \u002Fbrain-update\n\n| Scenario | Use |\n|----------|-----|\n| End of conversation session | `\u002Fbrain-update` (extracts from conversation) |\n| New files added to project folder | `\u002Fbrain-rescan` (extracts from files) |\n| Updated CLAUDE.local.md | `\u002Fbrain-rescan` |\n| First time in a project with existing brain | `\u002Fbrain-init` (handles both init + scan) |\n| Periodic refresh | `\u002Fbrain-rescan` |\n","# \u002Fbrain:rescan --- Incremental Knowledge Rescan\n\nDetects what changed since the last scan and updates the brain DB with new knowledge.\n\n## Prerequisites\n\n- `project_brain.db` must exist in the project folder (or parent). If not found, tell the user: \"No brain DB found. Run `\u002Fbrain-init` first.\"\n- At least one project must exist in the DB.\n\n## Procedure\n\n### Step 1: Run the scanner\n\n```bash\npython3 ~\u002F.claude\u002Fskills\u002Fbrain\u002Fscripts\u002Fbrain\u002Fbrain_cli.py scan\n```\n\nCheck the output:\n- If `is_first_scan: true` → this folder was never scanned. Tell the user and proceed with full scan.\n- If `new_files: 0` and `changed_files: 0` → \"Everything up to date. No changes since last scan ({last_scan}).\" → done.\n- Otherwise, show the delta:\n\n```\nRESCAN DELTA\n============\nLast scan:      {last_scan}\nNew files:      N\nChanged files:  N\nRemoved files:  N\nUnchanged:      N\n\nNew\u002Fchanged files:\n  + docs\u002FNewDoc.html          (new)\n  ~ CLAUDE.local.md           (changed)\n  + emails\u002FLatest_Thread.txt  (new)\n\nKnowledge sources:\n  CLAUDE.local.md:  found \u002F not found (changed: yes\u002Fno)\n  Memory files:     N files (N new\u002Fchanged)\n  Documents:        N new, N changed\n  Emails:           N new, N changed\n```\n\n### Step 2: Process only new\u002Fchanged files\n\nFollow the same extraction logic as `\u002Fbrain-init` Step 4, but **only for files in the delta**:\n\n#### If CLAUDE.local.md is new or changed:\n- Re-read and extract entities, decisions, events\n- Use `upsert_entity` so existing entities get updated rather than duplicated\n- For decisions: check existing decisions in DB, only add genuinely new ones (compare decision text)\n\n#### If memory files are new or changed:\n- Read only the new\u002Fchanged memory files\n- Extract project decisions, system references\n\n#### For new\u002Fchanged documents and emails:\n- Register as `document` entities via `upsert_entity`\n- Metadata includes path, type, size\n\n#### For removed files:\n- Do NOT auto-delete entities. Just report: \"N files removed since last scan. Their brain entities are preserved — delete manually if needed.\"\n\n### Step 3: Present extraction summary\n\n```\nRESCAN RESULTS\n==============\nProject: {name} ({slug})\n\nNew\u002Fupdated entities:    N (list)\nNew decisions:           N (list)\nNew events:              N (list)\nNew document entities:   N (list)\nSkipped (unchanged):     N files\n\nTotal proposed writes: NN\n```\n\nAsk: **\"Write to brain? [Y\u002Fn\u002Fadjust]\"**\n\n### Step 4: Execute writes and update manifest\n\nSame write order as `\u002Fbrain-init` Step 6:\n1. Entities (upsert)\n2. Relationships\n3. Decisions (dedup check)\n4. Events (dedup check)\n5. Document entities (upsert)\n\nAfter all writes, sync to MemPalace and brain.json:\n```python\nfrom brain.memory_bridge import full_sync\nfull_sync(\"project_brain.db\", project_slug)\n```\n\nThen update the manifest:\n```bash\npython3 ~\u002F.claude\u002Fskills\u002Fbrain\u002Fscripts\u002Fbrain\u002Fbrain_cli.py scan-update\n```\n\n### Step 5: Report\n\n```\nBRAIN UPDATED (rescan)\n======================\nEntities:      +N, ~N updated (total: N)\nDecisions:     +N (total: N)\nEvents:        +N (total: N)\nDocuments:     +N (total: N)\n\nManifest updated: N files tracked\nNext scan will only process changes after {now}.\n```\n\n## When to use \u002Fbrain-rescan vs \u002Fbrain-update\n\n| Scenario | Use |\n|----------|-----|\n| End of conversation session | `\u002Fbrain-update` (extracts from conversation) |\n| New files added to project folder | `\u002Fbrain-rescan` (extracts from files) |\n| Updated CLAUDE.local.md | `\u002Fbrain-rescan` |\n| First time in a project with existing brain | `\u002Fbrain-init` (handles both init + scan) |\n| Periodic refresh | `\u002Fbrain-rescan` |\n",{"name":5,"description":7},"main","cd89f013b617f7eea982a9bbc60e992974fda2aa","systems\u002Fbrain\u002Fskills\u002Fbrain-rescan",15,"https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco","https:\u002F\u002Fcocoresearch.org\u002Fcoco\u002F","https:\u002F\u002Fgithub.com\u002Fcoco-research","https:\u002F\u002Fcocoresearch.org","Local-first, open-source tools for people who work with AI agents: governed memory, agents that check their own work, and data that stays on your machine.","2026-11-11 12:18:13",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add coco-research\u002Fcoco --skill \"brain:rescan\"",{"tool":63,"command":64},"bunx","bunx skills add coco-research\u002Fcoco --skill \"brain:rescan\"",{"tool":66,"command":67},"pnpm","pnpm dlx skills add coco-research\u002Fcoco --skill \"brain:rescan\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fbrain\u002Fskills\u002Fbrain-rescan\u002FSKILL.md",true,[],[72,95,105,123,157,176],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":79,"publishedAt":42},"01M71KEJXF9KMT0BWCMRSRFA4M","trading-super-intelligence","Trading Super Intelligence Team. Named real-world personas across 8 cells. Built local-first (LM Studio) and validator-gated. Illustrative composites; see DISCLAIMER.md.","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Ftrading\u002FSKILL.md",[78],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[80,81,82,83,84,85,39,86,87,88,89,90,25,91,92,93,94],"super","trading super intelligence","intelligence","trading","validator","personas","composites","studio","team","across","world","gated","2026","lm studio","local-first",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":102,"publishedAt":42},"01M71KEFWS3CMAP7DF1P0FWTDE","strategy-super-intelligence","Strategy Super Intelligence Team. Named real-world personas across 7 cells. Built local-first (LM Studio) and validator-gated. Illustrative composites; see DISCLAIMER.md.","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Fstrategy\u002FSKILL.md",[101],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[103,80,104,82,84,85,39,86,87,88,89,90,25,91,92,93,94],"strategy","strategy super intelligence",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":117,"publishedAt":42},"01M71KED56ZEPK2QE84QSQPMT0","risk-compliance-super-intelligence","Risk & Compliance (GRC) Super Intelligence Team. Named real-world personas across 7 cells. Built local-first (LM Studio) and validator-gated. Illustrative composites; see DISCLAIMER.md.","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Frisk-compliance\u002FSKILL.md",[111,112],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":113,"categoryName":114,"taxonomyType":115,"taxonomyTypeDesc":116},"01JBSEEDCAT000000000000037","律师与法务","PROFESSION","适用职业",[118,80,119,120,121,82,84,85,39,86,122,87,88,89,90,25,91,92,93,94],"risk","risk compliance super intelligence","compliance","risk compliance","grc",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":142,"publishedAt":42},"01M71KE9A2FWSC74VA96W1EZSN","product-design-super-intelligence","Your product + design brain trust and decision partner. Named personas across 8 cells spanning product strategy, discovery\u002Fresearch, growth\u002Fmetrics, design foundations\u002Fusability, design leadership\u002Fcraft, UX\u002Fcontent, design systems, and a…","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Fproduct-design\u002FSKILL.md",[129,132,135,136,139],{"categoryNo":130,"categoryName":131,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":133,"categoryName":134,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":137,"categoryName":138,"taxonomyType":115,"taxonomyTypeDesc":116},"01JBSEEDCAT000000000000031","产品经理",{"categoryNo":140,"categoryName":141,"taxonomyType":115,"taxonomyTypeDesc":116},"01JBSEEDCAT000000000000032","设计师",[143,144,82,145,80,146,147,148,149,150,151,88,89,152,153,92,24,154,155,156],"design","product","product design","product design super intelligence","foundations","product-design","decision","design systems","usability","leadership","ux","craft","metrics","trust",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":165,"publishedAt":42},"01M71KE6H9FPSD9TECYFBPXZ8Y","legal-ip-super-intelligence","Your legal, IP, and regulatory brain trust. 31 named personas across 7 cells covering patent strategy, tech licensing, regulatory litigation, AI governance, open-source compliance, privacy law, and antitrust.","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Flegal-ip\u002FSKILL.md",[163,164],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":113,"categoryName":114,"taxonomyType":115,"taxonomyTypeDesc":116},[166,80,167,82,168,169,156,170,85,171,172,173,103,88,89,174,120,175,92,24],"ip","legal ip super intelligence","legal","sep","tech","litigation","ai governance","open","open-source","governance",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":183,"publishedAt":42},"01M71KE36QRY610V6YVB9JWRND","healthcare-life-sciences-super-intelligence","Your healthcare and life sciences brain trust. 25 named personas across 7 cells covering drug discovery, medtech, biotech strategy, health policy, genomics, clinical trials, and healthcare economics.","https:\u002F\u002Fgithub.com\u002Fcoco-research\u002Fcoco\u002Fblob\u002Fmain\u002Fsystems\u002Fsuperintelligence\u002Fhealthcare-life-sciences\u002FSKILL.md",[182],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[184,80,185,186,82,169,156,187,188,85,189,190,103,88,89,191,192,193,194,92],"healthcare","healthcare life sciences super intelligence","life","economics","discovery","policy","clinical","clinical trials","health","trials","genomics"]