notes_pin
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
Pin or unpin a Notes note (by exact title match). Uses UI menu navigation because macOS 14+ removed the AppleScript `pinned` property — direct `set pinned of note to true` errors with "Can't make pinned of note ... into type specifier".
In this repository22 other files it gives its agents.
- app_open_cleanSkill
- browser_sessionSkill
- cerebellumSkill
- git_commitSkill
- imsg_sendSkill
- learnSkill
- locationSkill
- mail_draftSkill
- music_pauseSkill
- music_playSkill
- notes_attach_imageSkill
- notes_checklistSkill
- notes_export_pdfSkill
- notes_formatSkill
- notes_move_to_folderSkill
- notes_tableSkill
- sttSkill
- summarizeSkill
- translateSkill
- ttsSkill
- weatherSkill
- webSkill
The file
Files
notes_pin — pin / unpin a Notes note via File menu
macOS 14+ removed AppleScript's pinned property. The only reliable
way to set pin state is the File menu's "Pin Note" / "Unpin Note"
item, which Notes shows toggled based on current state.
This skill:
- Activates Notes + selects the note (by exact name match)
- Looks for "Pin Note" or "Unpin Note" in the File menu
- Clicks the right one for the requested target state
- Idempotent — if already in the desired state, returns success without re-clicking
Examples
notes_pin note="KinBench Pinned 164" state=true
→ ok: pin
notes_pin note="KinBench Unpin 165" state=false
→ ok: unpinNote: pin state remains unverifiable via AppleScript on macOS 14+, so
this skill cannot self-verify. The skill returns ok based on
"correct menu item was clicked" — the caller's eval should confirm
via UI inspection or trust the action.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

