[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75MHBPH5FR78FSA67KPV17Z":3,"skill-same:01M75MHBPH5FR78FSA67KPV17Z":54},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":13,"repositoryHtmlUrl":37,"repositoryHomepageUrl":38,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":40,"install":41,"resources":53},"01M75MHBPH5FR78FSA67KPV17Z","migrate",null,"Universal migration from Obsidian, Notion, Logseq, markdown, CSV, JSON, Roam","Sigmacodeat\u002FSigmabrain","Sigmacodeat","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F220578687?v=4","01M75M8ZBH9439AFP2NTF8K98S","01M75M8ZC680S4377SFWSKP0D1",0,"MIT","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Fskills\u002Fmigrate\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: migrate\ndescription: Universal migration from Obsidian, Notion, Logseq, markdown, CSV, JSON, Roam\ntriggers:\n  - \"migrate from\"\n  - \"import from obsidian\"\n  - \"import from notion\"\ntools:\n  - put_page\n  - search\n  - add_link\n  - add_tag\n  - sync_brain\nmutating: true\n---\n\n# Migrate Skill\n\nUniversal migration from any wiki, note tool, or brain system into GBrain.\n\n## Contract\n\n- Source data is never modified or deleted; migration is additive only.\n- Every migrated page is verified round-trip: written to gbrain, read back, spot-checked.\n- Cross-references from the source system (wikilinks, block refs, tags) are converted to gbrain equivalents.\n- Migration is tested on a sample (5-10 files) before bulk execution.\n- Post-migration health check confirms page count, link integrity, and embedding coverage.\n\n## Supported Sources\n\n| Source | Format | Strategy |\n|--------|--------|----------|\n| Obsidian | Markdown + `[[wikilinks]]` | Direct import, convert wikilinks to gbrain links |\n| Notion | Exported markdown or CSV | Parse Notion's export structure |\n| Logseq | Markdown with `((block refs))` | Convert block refs to page links |\n| Plain markdown | Any .md directory | Import directory into gbrain directly |\n| CSV | Tabular data | Map columns to frontmatter fields |\n| JSON | Structured data | Map keys to page fields |\n| Roam | JSON export | Convert block structure to pages |\n\n## Phases\n\n1. **Assess the source.** What format? How many files? What structure?\n2. **Plan the mapping.** How do source fields map to gbrain fields (type, title, tags, compiled_truth, timeline)?\n3. **Test with a sample.** Import 5-10 files, verify by reading them back from gbrain and exporting.\n4. **Bulk import.** Import the full directory into gbrain.\n5. **Verify.** Check gbrain health and statistics, spot-check pages.\n6. **Build links.** Extract cross-references from content and create typed links in gbrain.\n\n## Obsidian Migration\n\n1. Import the vault directory into gbrain (Obsidian vaults are markdown directories)\n2. Wire the graph with native wikilink support (v0.12.1+):\n\n   ```bash\n   gbrain extract links --source db --dry-run | head -20    # preview\n   gbrain extract links --source db                         # commit\n   ```\n\n   `extract links` natively parses `[[relative\u002Fpath]]` and `[[relative\u002Fpath|Display Text]]`\n   alongside standard `[text](page.md)` markdown syntax. Ancestor-search resolution handles\n   wiki KBs where authors omit one or more leading `..\u002F` prefixes. The `.md` suffix is\n   inferred automatically for wikilinks.\n\nObsidian-specific:\n- Tags (`#tag`) become gbrain tags\n- Frontmatter properties map to gbrain frontmatter\n- Attachments (images, PDFs) are noted but handled separately via file storage\n\n## Notion Migration\n\n1. Export from Notion: Settings > Export > Markdown & CSV\n2. Notion exports nested directories with UUIDs in filenames\n3. Strip UUIDs from filenames for clean slugs\n4. Map Notion's database properties to frontmatter\n5. Import the cleaned directory into gbrain\n\n## CSV Migration\n\nFor tabular data (e.g., CRM exports, contact lists):\n1. For each row in the CSV, create a page with column values as frontmatter\n2. Use a designated column as the slug (e.g., name)\n3. Use another column as compiled_truth (e.g., notes)\n4. Store each page in gbrain\n\n## Verification\n\nAfter any migration:\n1. Check gbrain statistics to verify page count matches source\n2. Check gbrain health for orphans and missing embeddings\n3. Export pages from gbrain for round-trip verification\n4. Spot-check 5-10 pages by reading them from gbrain\n5. Test search: search gbrain for \"someone you know is in the data\"\n\n## Anti-Patterns\n\n- **Bulk import without sample test.** Never import the full dataset before verifying with 5-10 files. The cost of cleaning up hundreds of bad pages is enormous.\n- **Destroying source data.** Migration is additive. Never modify, move, or delete the source files.\n- **Ignoring cross-references.** Wikilinks, block refs, and tags from the source system must be converted to gbrain equivalents. Dropping them loses the knowledge graph.\n- **Skipping verification.** A migration without post-import health check, page count comparison, and spot-check reads is incomplete.\n\n## Output Format\n\n```\nMIGRATION REPORT -- [source] -> GBrain\n=======================================\n\nSource: [format] ([file count] files, [size])\nMapping: [field mapping summary]\n\nSample Test (N files):\n- Imported: N\u002FN\n- Round-trip verified: N\u002FN\n- Cross-refs converted: N\n\nBulk Import:\n- Total imported: N\n- Skipped (duplicates\u002Ferrors): N\n- Links created: N\n- Tags migrated: N\n\nVerification:\n- Page count match: [yes\u002Fno]\n- Health check: [pass\u002Ffail]\n- Search test: [query] -> [result count] hits\n```\n\n## Tools Used\n\n- Store\u002Fupdate pages in gbrain (put_page)\n- Read pages from gbrain (get_page)\n- Link entities in gbrain (add_link)\n- Tag pages in gbrain (add_tag)\n- Get gbrain statistics (get_stats)\n- Check gbrain health (get_health)\n- Search gbrain (query)\n","# Migrate Skill\n\nUniversal migration from any wiki, note tool, or brain system into GBrain.\n\n## Contract\n\n- Source data is never modified or deleted; migration is additive only.\n- Every migrated page is verified round-trip: written to gbrain, read back, spot-checked.\n- Cross-references from the source system (wikilinks, block refs, tags) are converted to gbrain equivalents.\n- Migration is tested on a sample (5-10 files) before bulk execution.\n- Post-migration health check confirms page count, link integrity, and embedding coverage.\n\n## Supported Sources\n\n| Source | Format | Strategy |\n|--------|--------|----------|\n| Obsidian | Markdown + `[[wikilinks]]` | Direct import, convert wikilinks to gbrain links |\n| Notion | Exported markdown or CSV | Parse Notion's export structure |\n| Logseq | Markdown with `((block refs))` | Convert block refs to page links |\n| Plain markdown | Any .md directory | Import directory into gbrain directly |\n| CSV | Tabular data | Map columns to frontmatter fields |\n| JSON | Structured data | Map keys to page fields |\n| Roam | JSON export | Convert block structure to pages |\n\n## Phases\n\n1. **Assess the source.** What format? How many files? What structure?\n2. **Plan the mapping.** How do source fields map to gbrain fields (type, title, tags, compiled_truth, timeline)?\n3. **Test with a sample.** Import 5-10 files, verify by reading them back from gbrain and exporting.\n4. **Bulk import.** Import the full directory into gbrain.\n5. **Verify.** Check gbrain health and statistics, spot-check pages.\n6. **Build links.** Extract cross-references from content and create typed links in gbrain.\n\n## Obsidian Migration\n\n1. Import the vault directory into gbrain (Obsidian vaults are markdown directories)\n2. Wire the graph with native wikilink support (v0.12.1+):\n\n   ```bash\n   gbrain extract links --source db --dry-run | head -20    # preview\n   gbrain extract links --source db                         # commit\n   ```\n\n   `extract links` natively parses `[[relative\u002Fpath]]` and `[[relative\u002Fpath|Display Text]]`\n   alongside standard `[text](page.md)` markdown syntax. Ancestor-search resolution handles\n   wiki KBs where authors omit one or more leading `..\u002F` prefixes. The `.md` suffix is\n   inferred automatically for wikilinks.\n\nObsidian-specific:\n- Tags (`#tag`) become gbrain tags\n- Frontmatter properties map to gbrain frontmatter\n- Attachments (images, PDFs) are noted but handled separately via file storage\n\n## Notion Migration\n\n1. Export from Notion: Settings > Export > Markdown & CSV\n2. Notion exports nested directories with UUIDs in filenames\n3. Strip UUIDs from filenames for clean slugs\n4. Map Notion's database properties to frontmatter\n5. Import the cleaned directory into gbrain\n\n## CSV Migration\n\nFor tabular data (e.g., CRM exports, contact lists):\n1. For each row in the CSV, create a page with column values as frontmatter\n2. Use a designated column as the slug (e.g., name)\n3. Use another column as compiled_truth (e.g., notes)\n4. Store each page in gbrain\n\n## Verification\n\nAfter any migration:\n1. Check gbrain statistics to verify page count matches source\n2. Check gbrain health for orphans and missing embeddings\n3. Export pages from gbrain for round-trip verification\n4. Spot-check 5-10 pages by reading them from gbrain\n5. Test search: search gbrain for \"someone you know is in the data\"\n\n## Anti-Patterns\n\n- **Bulk import without sample test.** Never import the full dataset before verifying with 5-10 files. The cost of cleaning up hundreds of bad pages is enormous.\n- **Destroying source data.** Migration is additive. Never modify, move, or delete the source files.\n- **Ignoring cross-references.** Wikilinks, block refs, and tags from the source system must be converted to gbrain equivalents. Dropping them loses the knowledge graph.\n- **Skipping verification.** A migration without post-import health check, page count comparison, and spot-check reads is incomplete.\n\n## Output Format\n\n```\nMIGRATION REPORT -- [source] -> GBrain\n=======================================\n\nSource: [format] ([file count] files, [size])\nMapping: [field mapping summary]\n\nSample Test (N files):\n- Imported: N\u002FN\n- Round-trip verified: N\u002FN\n- Cross-refs converted: N\n\nBulk Import:\n- Total imported: N\n- Skipped (duplicates\u002Ferrors): N\n- Links created: N\n- Tags migrated: N\n\nVerification:\n- Page count match: [yes\u002Fno]\n- Health check: [pass\u002Ffail]\n- Search test: [query] -> [result count] hits\n```\n\n## Tools Used\n\n- Store\u002Fupdate pages in gbrain (put_page)\n- Read pages from gbrain (get_page)\n- Link entities in gbrain (add_link)\n- Tag pages in gbrain (add_tag)\n- Get gbrain statistics (get_stats)\n- Check gbrain health (get_health)\n- Search gbrain (query)\n",{"name":5,"tools":23,"mutating":29,"triggers":30,"description":7},[24,25,26,27,28],"put_page","search","add_link","add_tag","sync_brain",true,[31,32,33],"migrate from","import from obsidian","import from notion","main","b8e699fc7cff8641b94a51ac9d4aa599fcc03ae5","server\u002Fskills\u002Fmigrate","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain","https:\u002F\u002Fsigmabrain.vercel.app","https:\u002F\u002Fgithub.com\u002FSigmacodeat","2026-07-09 09:21:55",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":29},[43,46,49],{"tool":44,"command":45},"npx","npx skills add Sigmacodeat\u002FSigmabrain --skill migrate",{"tool":47,"command":48},"bunx","bunx skills add Sigmacodeat\u002FSigmabrain --skill migrate",{"tool":50,"command":51},"pnpm","pnpm dlx skills add Sigmacodeat\u002FSigmabrain --skill migrate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Fskills\u002Fmigrate\u002FSKILL.md",[],[55,61,67,74,81,88],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M75MW3405DES0348DPKVF20G","query-helper","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fquery-helper\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M75MW29T3N856QPT2SK467A3","broken","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fbroken\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M75MVZV51CX9W3Y602M0GJR9","brain-ops","Read, enrich, and write brain pages with source attribution.","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fbrain-ops\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M75MVXQAQBVNQBZPKPEBPRHV","signal-detector","Always-on ambient signal capture for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fsignal-detector\u002FSKILL.md",[],[],{"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":18},"01M75MVWJN0EV5EFW6JMMC73XC","query","Look up brain pages in the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fquery\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M75MVVA7Q6PMDBTPQGT49M6M","context-now","ALWAYS-ON time-sensitivity discipline for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002FSigmacodeat\u002FSigmabrain\u002Fblob\u002Fmain\u002Fserver\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fcontext-now\u002FSKILL.md",[],[]]