apple-notes-core-workflow-b

Featured

Export and convert Apple Notes to Markdown, JSON, HTML, and SQLite. Use when backing up notes, exporting to other apps, converting HTML to Markdown, or building searchable note archives from Apple Notes. Trigger: "export apple notes", "apple notes to markdown", "backup apple notes", "apple notes to JSON", "convert apple notes".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Apple Notes Core Workflow B — Export & Conversion ## Overview Export 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. ## Instructions ### Step 1: Export All Notes to JSON ```bash osascript -l JavaScript -e ' const Notes = Application("Notes"); const allNotes = Notes.defaultAccount.notes(); const exported = allNotes.map(n => ({ id: n.id(), title: n.name(), body: n.body(), folder: n.container().name(), created: n.creationDate().toISOString(), modified: n.modificationDate().toISOString(), })); JSON.stringify(exported, null, 2); ' > apple-notes-export.json echo "Exported $(jq length apple-notes-export.json) notes to apple-notes-export.json" ``` ### Step 2: Export Notes as Markdown Files ```bash #!/bin/bash # scripts/notes-to-markdown.sh OUTPUT_DIR="${1:-./notes-export}" mkdir -p "$OUTPUT_DIR" osascript -l JavaScript -e ' const Notes = Application("Notes"); const notes = Notes.defaultAccount.notes(); notes.map(n => JSON.stringify({ title: n.name(), body: n.body(), folder: n.container().name(), })).join("\n---SEPARATOR---\n"); ' | while IFS= read -r line; do if [ "$line" = "---SEPARATOR---" ]; then continue; fi title=$(echo "$line" | jq -r '.title' 2>/dev/null) body=$(echo "$line" | jq -r '.body' 2>/dev/null) folder=$(echo "$line" | jq -r '.folder' 2>/dev/null) # Conver...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category