[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MB6JMSAHTBZT5VXAFT88S":3,"skill-same:01M77MB6JMSAHTBZT5VXAFT88S":56},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":55},"01M77MB6JMSAHTBZT5VXAFT88S","migrate",null,"Universal migration from Obsidian, Notion, Logseq, markdown, CSV, JSON, Roam","singhvedant\u002Ftbrain","singhvedant","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F71930695?v=4","01M77M5AXVZ7M5XWPANT3J9NS5","Vedant Singh","01M77M5AZ21DXDMR8ZPN3CPR07",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsinghvedant\u002Ftbrain\u002Fblob\u002Fmain\u002Fskills\u002Fmigrate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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":24,"mutating":30,"triggers":31,"description":7},[25,26,27,28,29],"put_page","search","add_link","add_tag","sync_brain",true,[32,33,34],"migrate from","import from obsidian","import from notion","main","6fd71a8e8b329f5375cf01a74a9da2af1909f4e0","skills\u002Fmigrate","https:\u002F\u002Fgithub.com\u002Fsinghvedant\u002Ftbrain","https:\u002F\u002Fgithub.com\u002Fsinghvedant","singhvedant1701.github.io","Web\u002FApp developer\r\nCloud Computing\r\nAI and ML","2026-07-04 14:54:38",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":30},[45,48,51],{"tool":46,"command":47},"npx","npx skills add singhvedant\u002Ftbrain --skill migrate",{"tool":49,"command":50},"bunx","bunx skills add singhvedant\u002Ftbrain --skill migrate",{"tool":52,"command":53},"pnpm","pnpm dlx skills add singhvedant\u002Ftbrain --skill migrate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsinghvedant\u002Ftbrain\u002Fblob\u002Fmain\u002Fskills\u002Fmigrate\u002FSKILL.md",[],[57,63,69,76,83,90],{"skillNo":58,"name":59,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M77MH99TG5CXS6ZC5V519J27","query-helper","https:\u002F\u002Fgithub.com\u002Fsinghvedant\u002Ftbrain\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fquery-helper\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M77MH8A3A5PTQM0PQH6SCBA8","broken","https:\u002F\u002Fgithub.com\u002Fsinghvedant\u002Ftbrain\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fbroken\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M77MH6HHY2G5V0BXP8V316F8","brain-ops","Read, enrich, and write brain pages with source attribution.","https:\u002F\u002Fgithub.com\u002Fsinghvedant\u002Ftbrain\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fskill-catalog\u002Fskills\u002Fbrain-ops\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M77MH54BXVPFXK48DKBKFNRF","signal-detector","Always-on ambient signal capture for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002Fsinghvedant\u002Ftbrain\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fsignal-detector\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M77MH3MPW52RQDQGTDR38MZT","query","Look up brain pages in the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002Fsinghvedant\u002Ftbrain\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fquery\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M77MH17X2DRV1DD6HV8Z89BA","context-now","ALWAYS-ON time-sensitivity discipline for the OpenClaw reference fixture.","https:\u002F\u002Fgithub.com\u002Fsinghvedant\u002Ftbrain\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fopenclaw-reference-minimal\u002Fskills\u002Fcontext-now\u002FSKILL.md",[],[]]