macos-finder-extension
Skill0 starsChanged 21 days agoMITView on GitHub
Design, implement, debug, and verify macOS Finder Sync extensions for context menus, badges, toolbar actions, monitored directories, and host-app communication. Use when implementing Finder integration or diagnosing missing menus, incorrect icon colors, sandbox access, localization, signing, registration, or stale builds; do not use as a File Provider sync-engine guide.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- app-icon-studioSkill
- disk-cleanupSkill
- localize-app-store-screenshotsSkill
- macos-direct-distributionSkill
- mobbin-searchSkill
- smooth-alpha-edgesSkill
- stock-value-analysisSkill
- task-artifactsSkill
- write-ai-docSkill
- xcode-cloud-setupSkill
- xhs-giveaway-monitorSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Do not change signing, entitlements, sandbox status, bundle identifiers, App Groups, or embedding outside the user's authorized scope.
- Distinctive: line 23
Read the focused references when relevant:
- Distinctive: line 25
Always read architecture.md when implementing or restructuring a Finder Sync extension.
- Distinctive: line 26
Read sandbox-permissions.md when the workflow reads or writes files outside an existing authorized root, or when macOS prompts unexpectedly.
- Distinctive: line 27
Read verification.md before installing, diagnosing registration, or handing off a build.
- Very specific: line 28
Read menu-icons.md whenever adding or changing menu icons or diagnosing their color.
- Distinctive: line 29
Read icon-actions.md only for custom-icon/reset-icon work or when its failure patterns match the current bug.
- Distinctive: line 31
Use the bundled inspection script after building or installing:
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
macOS Finder Extension
Build Finder Sync extensions as thin Finder UI adapters, with durable state and substantial work owned by the containing app or its existing service layer.
Before implementation, decide whether Finder Sync is the correct extension point. Finder Sync is appropriate for menus, badges, labels, and toolbar UI in monitored directories. File Provider is appropriate for synchronized or virtualized file domains; a Service or Quick Action may be enough for one simple command.
Do not change signing, entitlements, sandbox status, bundle identifiers, App Groups, or embedding outside the user's authorized scope. Reuse approval already given for the task; ask only when a required change adds scope.
Workflow
- Inspect the existing project and distribution model before adding targets or capabilities.
- Define Finder-facing features, monitored-directory scope, app communication, state ownership, and file-authorization needs separately.
- Implement the smallest extension surface that satisfies the request.
- Localize extension UI in the extension target. For menu icons, read menu-icons.md, choose template or intentional full-color rendering, and check the actual colors in Finder.
- Build the exact signed candidate, install one canonical copy, register it once, restart Finder, and test the real UI.
Read the focused references when relevant:
- Always read architecture.md when implementing or restructuring a Finder Sync extension.
- Read sandbox-permissions.md when the workflow reads or writes files outside an existing authorized root, or when macOS prompts unexpectedly.
- Read verification.md before installing, diagnosing registration, or handing off a build.
- Read menu-icons.md whenever adding or changing menu icons or diagnosing their color. A runtime symbol with
isTemplate = trueis not sufficient evidence. - Read icon-actions.md only for custom-icon/reset-icon work or when its failure patterns match the current bug.
Use the bundled inspection script after building or installing:
bash <skill-path>/scripts/inspect_finder_extension.sh \
/path/to/App.app \
Contents/PlugIns/FinderExtension.appex \
com.example.App.FinderExtensionThe bundle identifier is optional. The script inspects the extension point, signing teams, actual signed entitlements, and registration count without assuming a specific permission policy.
Completion Standard
A successful build is not enough. Verify the requested menus, badges, or toolbar behavior in Finder; verify host communication against the installed app; exercise every requested location or file class; and prove that signed permissions and extension registrations match the intended architecture. Menu icons require observed normal and highlighted states in both Light and Dark appearances; report any untested state as incomplete.
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.

