[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F7A5RTM174TK31YF5NTCDJ":3,"skill-same:01M6F7A5RTM174TK31YF5NTCDJ":77},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":59,"ownerHtmlUrl":60,"ownerBlogUrl":6,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6F7A5RTM174TK31YF5NTCDJ","apple-notes-core-workflow-b",null,"Export and convert Apple Notes to Markdown, JSON, HTML, and SQLite.\nUse when backing up notes, exporting to other apps, converting HTML to Markdown,\nor building searchable note archives from Apple Notes.\nTrigger: \"export apple notes\", \"apple notes to markdown\", \"backup apple notes\",\n\"apple notes to JSON\", \"convert apple notes\".","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fapple-notes-core-workflow-b\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"workflow","apple notes core workflow b","apple","apple notes","notes","core","edit","apple-notes","osascript","apps","io","html to markdown","up","write","read","node","markdown","Bash","sqlite","code","2026-11-10 10:12:30",false,"---\nname: apple-notes-core-workflow-b\ndescription: |\n  Export and convert Apple Notes to Markdown, JSON, HTML, and SQLite.\n  Use when backing up notes, exporting to other apps, converting HTML to Markdown,\n  or building searchable note archives from Apple Notes.\n  Trigger: \"export apple notes\", \"apple notes to markdown\", \"backup apple notes\",\n  \"apple notes to JSON\", \"convert apple notes\".\nallowed-tools: Read, Write, Edit, Bash(osascript:*), Bash(node:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, macos, apple-notes, automation, export]\ncompatible-with: claude-code\n---\n\n# Apple Notes Core Workflow B — Export & Conversion\n\n## Overview\n\nExport Apple Notes to portable formats: Markdown, JSON, HTML files, and SQLite databases. Apple Notes stores content as HTML internally — these workflows convert it to developer-friendly formats.\n\n## Instructions\n\n### Step 1: Export All Notes to JSON\n\n```bash\nosascript -l JavaScript -e '\n  const Notes = Application(\"Notes\");\n  const allNotes = Notes.defaultAccount.notes();\n  const exported = allNotes.map(n => ({\n    id: n.id(),\n    title: n.name(),\n    body: n.body(),\n    folder: n.container().name(),\n    created: n.creationDate().toISOString(),\n    modified: n.modificationDate().toISOString(),\n  }));\n  JSON.stringify(exported, null, 2);\n' > apple-notes-export.json\n\necho \"Exported $(jq length apple-notes-export.json) notes to apple-notes-export.json\"\n```\n\n### Step 2: Export Notes as Markdown Files\n\n```bash\n#!\u002Fbin\u002Fbash\n# scripts\u002Fnotes-to-markdown.sh\nOUTPUT_DIR=\"${1:-.\u002Fnotes-export}\"\nmkdir -p \"$OUTPUT_DIR\"\n\nosascript -l JavaScript -e '\n  const Notes = Application(\"Notes\");\n  const notes = Notes.defaultAccount.notes();\n  notes.map(n => JSON.stringify({\n    title: n.name(),\n    body: n.body(),\n    folder: n.container().name(),\n  })).join(\"\\n---SEPARATOR---\\n\");\n' | while IFS= read -r line; do\n  if [ \"$line\" = \"---SEPARATOR---\" ]; then continue; fi\n  title=$(echo \"$line\" | jq -r '.title' 2>\u002Fdev\u002Fnull)\n  body=$(echo \"$line\" | jq -r '.body' 2>\u002Fdev\u002Fnull)\n  folder=$(echo \"$line\" | jq -r '.folder' 2>\u002Fdev\u002Fnull)\n\n  # Convert HTML to basic Markdown\n  md_body=$(echo \"$body\" | sed 's\u002F\u003Ch1>\u002F# \u002Fg; s\u002F\u003C\\\u002Fh1>\u002F\u002Fg; s\u002F\u003Ch2>\u002F## \u002Fg; s\u002F\u003C\\\u002Fh2>\u002F\u002Fg; s\u002F\u003Cp>\u002F\u002Fg; s\u002F\u003C\\\u002Fp>\u002F\\n\u002Fg; s\u002F\u003Cbr>\u002F\\n\u002Fg; s\u002F\u003Cli>\u002F- \u002Fg; s\u002F\u003C\\\u002Fli>\u002F\u002Fg; s\u002F\u003C[^>]*>\u002F\u002Fg')\n\n  safe_title=$(echo \"$title\" | tr '\u002F:' '-' | head -c 100)\n  mkdir -p \"$OUTPUT_DIR\u002F$folder\"\n  echo -e \"# $title\\n\\n$md_body\" > \"$OUTPUT_DIR\u002F$folder\u002F$safe_title.md\"\ndone\n\necho \"Export complete: $OUTPUT_DIR\"\n```\n\n### Step 3: Export to SQLite Database\n\n```bash\n# Using apple-notes-to-sqlite (pip install apple-notes-to-sqlite)\npip install apple-notes-to-sqlite\napple-notes-to-sqlite export notes.db\n\n# Or build your own with JXA + sqlite3\nosascript -l JavaScript -e '\n  const Notes = Application(\"Notes\");\n  const notes = Notes.defaultAccount.notes();\n  const rows = notes.map(n =>\n    `INSERT INTO notes (title, body, folder, created) VALUES (${JSON.stringify(n.name())}, ${JSON.stringify(n.body())}, ${JSON.stringify(n.container().name())}, ${JSON.stringify(n.creationDate().toISOString())});`\n  ).join(\"\\n\");\n  rows;\n' > \u002Ftmp\u002Fnotes-inserts.sql\n\nsqlite3 notes.db \u003C\u003C 'SQL'\nCREATE TABLE IF NOT EXISTS notes (id INTEGER PRIMARY KEY, title TEXT, body TEXT, folder TEXT, created TEXT);\n.read \u002Ftmp\u002Fnotes-inserts.sql\nSELECT COUNT(*) || ' notes imported' FROM notes;\nSQL\n```\n\n### Step 4: Full-Text Search on Exported Notes\n\n```bash\n# Search across all exported notes\nosascript -l JavaScript -e '\n  const Notes = Application(\"Notes\");\n  const query = \"project plan\";\n  const results = Notes.defaultAccount.notes().filter(n => {\n    const body = n.body().toLowerCase();\n    const name = n.name().toLowerCase();\n    return body.includes(query) || name.includes(query);\n  });\n  results.map(n => `${n.name()} (${n.container().name()})`).join(\"\\n\");\n'\n```\n\n## Output\n\n- JSON export of all notes with metadata\n- Markdown files organized by folder\n- SQLite database with full note content\n- Full-text search across notes\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| Slow export | Thousands of notes | Export in batches by folder |\n| HTML artifacts in Markdown | Complex formatting | Use a proper HTML-to-MD library (turndown) |\n| Missing attachments | Images not exported | Attachments need separate export path |\n| Encoding issues | Unicode in note titles | Use safe filename sanitization |\n\n## Resources\n\n- [apple-notes-to-sqlite](https:\u002F\u002Fgithub.com\u002Fdogsheep\u002Fapple-notes-to-sqlite)\n- [AppleNotesExport](https:\u002F\u002Fgithub.com\u002Fjohansan\u002FAppleNotesExport)\n\n## Next Steps\n\nFor common errors, see `apple-notes-common-errors`.\n\n","# Apple Notes Core Workflow B — Export & Conversion\n\n## Overview\n\nExport Apple Notes to portable formats: Markdown, JSON, HTML files, and SQLite databases. Apple Notes stores content as HTML internally — these workflows convert it to developer-friendly formats.\n\n## Instructions\n\n### Step 1: Export All Notes to JSON\n\n```bash\nosascript -l JavaScript -e '\n  const Notes = Application(\"Notes\");\n  const allNotes = Notes.defaultAccount.notes();\n  const exported = allNotes.map(n => ({\n    id: n.id(),\n    title: n.name(),\n    body: n.body(),\n    folder: n.container().name(),\n    created: n.creationDate().toISOString(),\n    modified: n.modificationDate().toISOString(),\n  }));\n  JSON.stringify(exported, null, 2);\n' > apple-notes-export.json\n\necho \"Exported $(jq length apple-notes-export.json) notes to apple-notes-export.json\"\n```\n\n### Step 2: Export Notes as Markdown Files\n\n```bash\n#!\u002Fbin\u002Fbash\n# scripts\u002Fnotes-to-markdown.sh\nOUTPUT_DIR=\"${1:-.\u002Fnotes-export}\"\nmkdir -p \"$OUTPUT_DIR\"\n\nosascript -l JavaScript -e '\n  const Notes = Application(\"Notes\");\n  const notes = Notes.defaultAccount.notes();\n  notes.map(n => JSON.stringify({\n    title: n.name(),\n    body: n.body(),\n    folder: n.container().name(),\n  })).join(\"\\n---SEPARATOR---\\n\");\n' | while IFS= read -r line; do\n  if [ \"$line\" = \"---SEPARATOR---\" ]; then continue; fi\n  title=$(echo \"$line\" | jq -r '.title' 2>\u002Fdev\u002Fnull)\n  body=$(echo \"$line\" | jq -r '.body' 2>\u002Fdev\u002Fnull)\n  folder=$(echo \"$line\" | jq -r '.folder' 2>\u002Fdev\u002Fnull)\n\n  # Convert HTML to basic Markdown\n  md_body=$(echo \"$body\" | sed 's\u002F\u003Ch1>\u002F# \u002Fg; s\u002F\u003C\\\u002Fh1>\u002F\u002Fg; s\u002F\u003Ch2>\u002F## \u002Fg; s\u002F\u003C\\\u002Fh2>\u002F\u002Fg; s\u002F\u003Cp>\u002F\u002Fg; s\u002F\u003C\\\u002Fp>\u002F\\n\u002Fg; s\u002F\u003Cbr>\u002F\\n\u002Fg; s\u002F\u003Cli>\u002F- \u002Fg; s\u002F\u003C\\\u002Fli>\u002F\u002Fg; s\u002F\u003C[^>]*>\u002F\u002Fg')\n\n  safe_title=$(echo \"$title\" | tr '\u002F:' '-' | head -c 100)\n  mkdir -p \"$OUTPUT_DIR\u002F$folder\"\n  echo -e \"# $title\\n\\n$md_body\" > \"$OUTPUT_DIR\u002F$folder\u002F$safe_title.md\"\ndone\n\necho \"Export complete: $OUTPUT_DIR\"\n```\n\n### Step 3: Export to SQLite Database\n\n```bash\n# Using apple-notes-to-sqlite (pip install apple-notes-to-sqlite)\npip install apple-notes-to-sqlite\napple-notes-to-sqlite export notes.db\n\n# Or build your own with JXA + sqlite3\nosascript -l JavaScript -e '\n  const Notes = Application(\"Notes\");\n  const notes = Notes.defaultAccount.notes();\n  const rows = notes.map(n =>\n    `INSERT INTO notes (title, body, folder, created) VALUES (${JSON.stringify(n.name())}, ${JSON.stringify(n.body())}, ${JSON.stringify(n.container().name())}, ${JSON.stringify(n.creationDate().toISOString())});`\n  ).join(\"\\n\");\n  rows;\n' > \u002Ftmp\u002Fnotes-inserts.sql\n\nsqlite3 notes.db \u003C\u003C 'SQL'\nCREATE TABLE IF NOT EXISTS notes (id INTEGER PRIMARY KEY, title TEXT, body TEXT, folder TEXT, created TEXT);\n.read \u002Ftmp\u002Fnotes-inserts.sql\nSELECT COUNT(*) || ' notes imported' FROM notes;\nSQL\n```\n\n### Step 4: Full-Text Search on Exported Notes\n\n```bash\n# Search across all exported notes\nosascript -l JavaScript -e '\n  const Notes = Application(\"Notes\");\n  const query = \"project plan\";\n  const results = Notes.defaultAccount.notes().filter(n => {\n    const body = n.body().toLowerCase();\n    const name = n.name().toLowerCase();\n    return body.includes(query) || name.includes(query);\n  });\n  results.map(n => `${n.name()} (${n.container().name()})`).join(\"\\n\");\n'\n```\n\n## Output\n\n- JSON export of all notes with metadata\n- Markdown files organized by folder\n- SQLite database with full note content\n- Full-text search across notes\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| Slow export | Thousands of notes | Export in batches by folder |\n| HTML artifacts in Markdown | Complex formatting | Use a proper HTML-to-MD library (turndown) |\n| Missing attachments | Images not exported | Attachments need separate export path |\n| Encoding issues | Unicode in note titles | Use safe filename sanitization |\n\n## Resources\n\n- [apple-notes-to-sqlite](https:\u002F\u002Fgithub.com\u002Fdogsheep\u002Fapple-notes-to-sqlite)\n- [AppleNotesExport](https:\u002F\u002Fgithub.com\u002Fjohansan\u002FAppleNotesExport)\n\n## Next Steps\n\nFor common errors, see `apple-notes-common-errors`.\n\n",{"name":5,"tags":44,"author":49,"license":15,"version":50,"description":51,"allowed-tools":52,"compatible-with":53},[45,46,26,47,48],"saas","macos","automation","export","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Export and convert Apple Notes to Markdown, JSON, HTML, and SQLite.\nUse when backing up notes, exporting to other apps, converting HTML to Markdown,\nor building searchable note archives from Apple Notes.\nTrigger: \"export apple notes\", \"apple notes to markdown\", \"backup apple notes\",\n\"apple notes to JSON\", \"convert apple notes\".\n","Read, Write, Edit, Bash(osascript:*), Bash(node:*), Grep","claude-code","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fapple-notes-core-workflow-b",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill apple-notes-core-workflow-b",{"tool":69,"command":70},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill apple-notes-core-workflow-b",{"tool":72,"command":73},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill apple-notes-core-workflow-b","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fapple-notes-core-workflow-b\u002FSKILL.md",true,[],[78,87,96,104,110,116],{"skillNo":79,"name":80,"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":81,"categories":82,"keywords":83,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[84,85,86],"model","model hierarchy","model hierarchy skill",{"skillNo":88,"name":89,"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":90,"categories":91,"keywords":92,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[93,94,95],"MCP","zoom","zoom mcp",{"skillNo":97,"name":98,"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":99,"categories":100,"keywords":101,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[102,103,28,94],"sdk","zoom apps sdk",{"skillNo":105,"name":106,"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":107,"categories":108,"keywords":109,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[106],{"skillNo":111,"name":112,"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":113,"categories":114,"keywords":115,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[112],{"skillNo":117,"name":118,"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":119,"categories":120,"keywords":121,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[118]]