agentleFS
LocalKinAILocalKinAI/kinclaw/skills/notes_pin/SKILL.md

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".

The file

Files
SKILL.md

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:

  1. Activates Notes + selects the note (by exact name match)
  2. Looks for "Pin Note" or "Unpin Note" in the File menu
  3. Clicks the right one for the requested target state
  4. 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: unpin

Note: 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.