[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78XDYWPAVZ5B0NF0VBZFW9J":3,"skill-same:01M78XDYWPAVZ5B0NF0VBZFW9J":57},{"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":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M78XDYWPAVZ5B0NF0VBZFW9J","apple-notes-security-basics",null,"Apply security best practices for Apple Notes automation scripts.\nTrigger: \"apple notes security\".","jukeyman\u002Fjukeyman-skills","jukeyman","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142960420?v=4","01M78FR4Y3DHMMCBCC0GXXNB3F","RICK JEFFERSON","01M78FR4Z8RVQRAD31Y5J7V6EB",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--apple-notes-pack--apple-notes-security-basics\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: apple-notes-security-basics\ndescription: |\n  Apply security best practices for Apple Notes automation scripts.\n  Trigger: \"apple notes security\".\nallowed-tools: Read, Write, Edit, Bash(osascript:*), Grep\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, macos, apple-notes, automation]\ncompatible-with: claude-code\n---\n\n# Apple Notes Security Basics\n\n## Overview\n\nApple Notes security involves three layers: macOS TCC (Transparency, Consent, and Control) which gates which apps can send Apple Events to Notes.app, the macOS sandbox that prevents direct database access, and iCloud encryption that protects notes in transit and at rest. For automation scripts, the primary security concerns are: preventing unauthorized Apple Events access, securing exported note data, avoiding credential leakage in scripts, and understanding the difference between standard and end-to-end encrypted (locked) notes.\n\n## Security Checklist\n\n- [ ] Scripts run only locally (never expose osascript to network input)\n- [ ] No note content written to log files (may contain PII or secrets)\n- [ ] TCC permissions scoped to specific apps only (not blanket approval)\n- [ ] Exported notes stored with restrictive permissions (`chmod 600`)\n- [ ] iCloud account uses two-factor authentication\n- [ ] Automation scripts do not hardcode note content or search terms\n- [ ] Temporary files cleaned up after processing (`trap` on exit)\n- [ ] Locked (encrypted) notes handled separately (cannot be read via JXA)\n\n## TCC Permission Management\n\n```bash\n# Check current TCC grants for Apple Events\nsqlite3 ~\u002FLibrary\u002FApplication\\ Support\u002Fcom.apple.TCC\u002FTCC.db \\\n  \"SELECT client, allowed, auth_reason FROM access WHERE service='kTCCServiceAppleEvents';\" \\\n  2>\u002Fdev\u002Fnull || echo \"Cannot read TCC.db — SIP is active (this is expected)\"\n\n# Reset all Apple Events permissions (forces re-prompt)\ntccutil reset AppleEvents\n\n# View which apps have automation access in System Settings:\n# System Settings > Privacy & Security > Automation\nopen \"x-apple.systempreferences:com.apple.preference.security?Privacy_Automation\"\n```\n\n## Safe Data Export Pattern\n\n```bash\n#!\u002Fbin\u002Fbash\n# Secure export with cleanup on exit\nEXPORT_FILE=$(mktemp \u002Ftmp\u002Fnotes-export-XXXXXX.json)\ntrap 'rm -f \"$EXPORT_FILE\"' EXIT\n\n# Export with restricted permissions from the start\numask 077\nosascript -l JavaScript -e '\n  const Notes = Application(\"Notes\");\n  JSON.stringify(Notes.defaultAccount.notes().map(n => ({\n    title: n.name(),\n    body: n.plaintext(),\n    folder: n.container().name()\n  })));\n' > \"$EXPORT_FILE\"\n\necho \"Exported to $EXPORT_FILE ($(wc -c \u003C \"$EXPORT_FILE\") bytes)\"\n# Process the file...\n# File is automatically deleted on exit via trap\n```\n\n## Locked Notes and Encryption\n\n```javascript\n\u002F\u002F Locked notes (end-to-end encrypted) cannot be read via JXA\n\u002F\u002F Attempting to access a locked note's body() returns an error\nconst Notes = Application(\"Notes\");\n\nconst allNotes = Notes.defaultAccount.notes();\nallNotes.forEach(n => {\n  try {\n    const body = n.body();\n    \u002F\u002F Note is unlocked — process normally\n  } catch (e) {\n    \u002F\u002F Note is likely locked (encrypted)\n    console.log(`Skipping locked note: ${n.name()}`);\n  }\n});\n\n\u002F\u002F Note: There is no JXA API to unlock notes programmatically.\n\u002F\u002F Locked notes require the user's password\u002Fbiometrics in Notes.app UI.\n```\n\n## Keychain Integration for Scripts\n\n```bash\n# Store automation credentials in macOS Keychain (not in script files)\n# Add a credential\nsecurity add-generic-password -a \"notes-automation\" -s \"notes-export-key\" \\\n  -w \"your-encryption-key\" -T \u002Fusr\u002Fbin\u002Fosascript\n\n# Retrieve in scripts\nKEY=$(security find-generic-password -a \"notes-automation\" -s \"notes-export-key\" -w 2>\u002Fdev\u002Fnull)\n[ -z \"$KEY\" ] && echo \"ERROR: Keychain credential not found\" && exit 1\n```\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| TCC prompt never appears | App already denied; macOS won't re-prompt | `tccutil reset AppleEvents`; retry |\n| Cannot read locked notes | End-to-end encrypted; no JXA access | Skip locked notes; document limitation for users |\n| Export file readable by other users | Default umask too permissive | Set `umask 077` before writing; `chmod 600` after |\n| Script exposes note content in process list | Note content passed as CLI argument | Pipe content via stdin or temp file instead of `-e` argument |\n| Automation works after upgrade but TCC reset | macOS upgrade clears some TCC entries | Re-approve automation permissions after every OS update |\n\n## Resources\n\n- [Apple Platform Security Guide](https:\u002F\u002Fsupport.apple.com\u002Fguide\u002Fsecurity\u002Fwelcome\u002Fweb)\n- [TCC Deep Dive](https:\u002F\u002Fwww.rainforestqa.com\u002Fblog\u002Fmacos-tcc-db-deep-dive)\n- [Mac Automation Scripting Guide](https:\u002F\u002Fdeveloper.apple.com\u002Flibrary\u002Farchive\u002Fdocumentation\u002FLanguagesUtilities\u002FConceptual\u002FMacAutomationScriptingGuide\u002F)\n- [macOS Keychain Services](https:\u002F\u002Fdeveloper.apple.com\u002Fdocumentation\u002Fsecurity\u002Fkeychain_services)\n\n## Next Steps\n\nFor enterprise access control and MDM integration, see `apple-notes-enterprise-rbac`. For production security validation, see `apple-notes-prod-checklist`.\n","# Apple Notes Security Basics\n\n## Overview\n\nApple Notes security involves three layers: macOS TCC (Transparency, Consent, and Control) which gates which apps can send Apple Events to Notes.app, the macOS sandbox that prevents direct database access, and iCloud encryption that protects notes in transit and at rest. For automation scripts, the primary security concerns are: preventing unauthorized Apple Events access, securing exported note data, avoiding credential leakage in scripts, and understanding the difference between standard and end-to-end encrypted (locked) notes.\n\n## Security Checklist\n\n- [ ] Scripts run only locally (never expose osascript to network input)\n- [ ] No note content written to log files (may contain PII or secrets)\n- [ ] TCC permissions scoped to specific apps only (not blanket approval)\n- [ ] Exported notes stored with restrictive permissions (`chmod 600`)\n- [ ] iCloud account uses two-factor authentication\n- [ ] Automation scripts do not hardcode note content or search terms\n- [ ] Temporary files cleaned up after processing (`trap` on exit)\n- [ ] Locked (encrypted) notes handled separately (cannot be read via JXA)\n\n## TCC Permission Management\n\n```bash\n# Check current TCC grants for Apple Events\nsqlite3 ~\u002FLibrary\u002FApplication\\ Support\u002Fcom.apple.TCC\u002FTCC.db \\\n  \"SELECT client, allowed, auth_reason FROM access WHERE service='kTCCServiceAppleEvents';\" \\\n  2>\u002Fdev\u002Fnull || echo \"Cannot read TCC.db — SIP is active (this is expected)\"\n\n# Reset all Apple Events permissions (forces re-prompt)\ntccutil reset AppleEvents\n\n# View which apps have automation access in System Settings:\n# System Settings > Privacy & Security > Automation\nopen \"x-apple.systempreferences:com.apple.preference.security?Privacy_Automation\"\n```\n\n## Safe Data Export Pattern\n\n```bash\n#!\u002Fbin\u002Fbash\n# Secure export with cleanup on exit\nEXPORT_FILE=$(mktemp \u002Ftmp\u002Fnotes-export-XXXXXX.json)\ntrap 'rm -f \"$EXPORT_FILE\"' EXIT\n\n# Export with restricted permissions from the start\numask 077\nosascript -l JavaScript -e '\n  const Notes = Application(\"Notes\");\n  JSON.stringify(Notes.defaultAccount.notes().map(n => ({\n    title: n.name(),\n    body: n.plaintext(),\n    folder: n.container().name()\n  })));\n' > \"$EXPORT_FILE\"\n\necho \"Exported to $EXPORT_FILE ($(wc -c \u003C \"$EXPORT_FILE\") bytes)\"\n# Process the file...\n# File is automatically deleted on exit via trap\n```\n\n## Locked Notes and Encryption\n\n```javascript\n\u002F\u002F Locked notes (end-to-end encrypted) cannot be read via JXA\n\u002F\u002F Attempting to access a locked note's body() returns an error\nconst Notes = Application(\"Notes\");\n\nconst allNotes = Notes.defaultAccount.notes();\nallNotes.forEach(n => {\n  try {\n    const body = n.body();\n    \u002F\u002F Note is unlocked — process normally\n  } catch (e) {\n    \u002F\u002F Note is likely locked (encrypted)\n    console.log(`Skipping locked note: ${n.name()}`);\n  }\n});\n\n\u002F\u002F Note: There is no JXA API to unlock notes programmatically.\n\u002F\u002F Locked notes require the user's password\u002Fbiometrics in Notes.app UI.\n```\n\n## Keychain Integration for Scripts\n\n```bash\n# Store automation credentials in macOS Keychain (not in script files)\n# Add a credential\nsecurity add-generic-password -a \"notes-automation\" -s \"notes-export-key\" \\\n  -w \"your-encryption-key\" -T \u002Fusr\u002Fbin\u002Fosascript\n\n# Retrieve in scripts\nKEY=$(security find-generic-password -a \"notes-automation\" -s \"notes-export-key\" -w 2>\u002Fdev\u002Fnull)\n[ -z \"$KEY\" ] && echo \"ERROR: Keychain credential not found\" && exit 1\n```\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| TCC prompt never appears | App already denied; macOS won't re-prompt | `tccutil reset AppleEvents`; retry |\n| Cannot read locked notes | End-to-end encrypted; no JXA access | Skip locked notes; document limitation for users |\n| Export file readable by other users | Default umask too permissive | Set `umask 077` before writing; `chmod 600` after |\n| Script exposes note content in process list | Note content passed as CLI argument | Pipe content via stdin or temp file instead of `-e` argument |\n| Automation works after upgrade but TCC reset | macOS upgrade clears some TCC entries | Re-approve automation permissions after every OS update |\n\n## Resources\n\n- [Apple Platform Security Guide](https:\u002F\u002Fsupport.apple.com\u002Fguide\u002Fsecurity\u002Fwelcome\u002Fweb)\n- [TCC Deep Dive](https:\u002F\u002Fwww.rainforestqa.com\u002Fblog\u002Fmacos-tcc-db-deep-dive)\n- [Mac Automation Scripting Guide](https:\u002F\u002Fdeveloper.apple.com\u002Flibrary\u002Farchive\u002Fdocumentation\u002FLanguagesUtilities\u002FConceptual\u002FMacAutomationScriptingGuide\u002F)\n- [macOS Keychain Services](https:\u002F\u002Fdeveloper.apple.com\u002Fdocumentation\u002Fsecurity\u002Fkeychain_services)\n\n## Next Steps\n\nFor enterprise access control and MDM integration, see `apple-notes-enterprise-rbac`. For production security validation, see `apple-notes-prod-checklist`.\n",{"name":5,"tags":24,"author":29,"license":15,"version":30,"description":31,"allowed-tools":32,"compatible-with":33},[25,26,27,28],"saas","macos","apple-notes","automation","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Apply security best practices for Apple Notes automation scripts.\nTrigger: \"apple notes security\".\n","Read, Write, Edit, Bash(osascript:*), Grep","claude-code","main","99825ad3f3bcc6597ddcc7294a14e6e922f2b67b","skills\u002Fsaas-packs--apple-notes-pack--apple-notes-security-basics",0,"https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills","https:\u002F\u002Fgithub.com\u002Fjukeyman","https:\u002F\u002FRJBUSINESSSOLUTIONS.ORG","Credit and Finance Expert | Developer\r\n\r\nI'm Rick Jefferson, a seasoned credit and finance expert with over a decade of experience in financial literacy,","2026-07-13 07:03:29",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add jukeyman\u002Fjukeyman-skills --skill apple-notes-security-basics",{"tool":49,"command":50},"bunx","bunx skills add jukeyman\u002Fjukeyman-skills --skill apple-notes-security-basics",{"tool":52,"command":53},"pnpm","pnpm dlx skills add jukeyman\u002Fjukeyman-skills --skill apple-notes-security-basics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsaas-packs--apple-notes-pack--apple-notes-security-basics\u002FSKILL.md",true,[],[58,65,72,79,86,94],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M79ANS2SM329NEP5ZCX106RR","zustand-store-creator","Create zustand store creator operations. Auto-activating skill for Frontend Development.\nTriggers on: zustand store creator, zustand store creator\nPart of the Frontend Development skill category. Use when working with zustand store creator functionality. Trigger with phrases like \"zustand store creator\", \"zustand creator\", \"zustand\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-creator\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79AMZKP4YDEZ7EHG1Y7PP74","zero-trust-config-helper","Configure with zero trust config helper operations. Auto-activating skill for Security Advanced.\nTriggers on: zero trust config helper, zero trust config helper\nPart of the Security Advanced skill category. Use when configuring systems or services. Trigger with phrases like \"zero trust config helper\", \"zero helper\", \"zero\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-config-helper\u002FSKILL.md",[],[],{"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":78,"publishedAt":19},"01M79AMJSBCEJQNBTYNAHYN5HM","zapier-integration-helper","Assist with zapier integration helper operations. Auto-activating skill for Business Automation.\nTriggers on: zapier integration helper, zapier integration helper\nPart of the Business Automation skill category. Use when working with APIs or building integrations. Trigger with phrases like \"zapier integration helper\", \"zapier helper\", \"zapier\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzapier-integration-helper\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79AHJZGVMARS13VFQYRR1MP","yaml-config-validator","Validate yaml config validator operations. Auto-activating skill for DevOps Basics.\nTriggers on: yaml config validator, yaml config validator\nPart of the DevOps Basics skill category. Use when configuring systems or services. Trigger with phrases like \"yaml config validator\", \"yaml validator\", \"yaml\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fyaml-config-validator\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79AHGDZRN0020RDQSQDPAM8","xvary-stock-research","Thesis-driven equity analysis from public SEC EDGAR and market data; \u002Fanalyze, \u002Fscore, \u002Fcompare workflows with bundled Python tools (Claude Code, Cursor, Codex).","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxvary-stock-research\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M79AHCYJ9FV9RMHQ24HDRN33","xss-vulnerability-scanner","Scan xss vulnerability scanner operations. Auto-activating skill for Security Fundamentals.\nTriggers on: xss vulnerability scanner, xss vulnerability scanner\nPart of the Security Fundamentals skill category. Use when working with xss vulnerability scanner functionality. Trigger with phrases like \"xss vulnerability scanner\", \"xss scanner\", \"xss\".","https:\u002F\u002Fgithub.com\u002Fjukeyman\u002Fjukeyman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxss-vulnerability-scanner\u002FSKILL.md",[],[]]