coordinate-external-ag…
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts,…
Design and diagnose macOS file access. Use for App Sandbox, App Groups, user selection, security-scoped bookmarks across relaunches, helpers or extensions, stale access, TCC overlap, POSIX or ACL, Data Vault, and SIP denials.
Claude Code
$ npx -y skills add gaelic-ghost/socket --skill macos-sandbox-file-access-workflow --agent claude-code
Codex
$ npx skills add gaelic-ghost/socket --skill macos-sandbox-file-access-workflow -a codex -y
Cursor
$ npx skills add gaelic-ghost/socket --skill macos-sandbox-file-access-workflow -a cursor -y
Gemini CLI
$ npx skills add gaelic-ghost/socket --skill macos-sandbox-file-access-workflow -a gemini-cli -y
GitHub Copilot
$ npx skills add gaelic-ghost/socket --skill macos-sandbox-file-access-workflow -a github-copilot -y
OpenCode
$ npx skills add gaelic-ghost/socket --skill macos-sandbox-file-access-workflow -a opencode -y
Windsurf
$ npx skills add gaelic-ghost/socket --skill macos-sandbox-file-access-workflow -a windsurf -y
name: macos-sandbox-file-access-workflow description: Design and diagnose macOS file access. Use for App Sandbox, App Groups, user selection, security-scoped bookmarks across relaunches, helpers or extensions, stale access, TCC overlap, POSIX or ACL, Data Vault, and SIP denials.
Preserve user intent and access lifetime while selecting the smallest supported file-access mechanism. Treat a URL or path as resource identity, not durable authorization, and keep App Sandbox, TCC, POSIX, and mandatory controls distinct.
1. Record the data owner, exact operation, resource type, read/write/execute need, persistence duration, process boundary, distribution channel, macOS build, and exact error. 2. Read `references/sandbox-and-filesystem-control-map.md` and identify every applicable control layer before choosing a capability. 3. Use the app container or a standard supported container-relative directory when it satisfies the feature. Use an App Group only for a real same-team shared-container requirement. 4. Prefer direct user selection through the appropriate open/save panel, document URL, drag/drop, or Photos/File Provider selection surface for external data. 5. Request only the user-selected read-only, read-write, or executable entitlement that the feature actually needs. Do not replace a narrow selection with Full Disk Access. 6. Create a security-scoped bookmark only when access must survive the current interaction or process lifetime. Follow every step in `references/security-scoped-bookmark-lifecycle.md`. 7. For helpers, XPC services, app extensions, or shared containers, use `references/helpers-groups-and-process-boundaries.md`; verify which process resolves and consumes authorization rather than passing a path and assuming authority follows. 8. Perform the narrow operation and balance every successful `startAccessingSecurityScopedResource()` with `stopAccessingSecurityScopedResource()`. Do not retain access indefinitely for convenience. 9. If access still fails, classify the exact denying layer: path resolution/symlink, ownership/mode/ACL, sandbox, TCC Files and Folders/Full Disk Access, mount/volume state, coordination, Data Vault, SIP, or service policy. 10. Validate relaunch, moved/renamed/removed resources, read-only enforcement, helper/extension behavior, revoked/inaccessible access, stale and malformed bookmark recovery, and privacy-safe logging using `references/validation-fixtures.md`.
Coordinate independently operated external agents through durable handoffs. Use when work crosses hosts, sessions, accounts,…
Assign worktree, branch, write, validation, integration, and cleanup ownership before parallel repository work. Use when a worker…
Design framework-neutral agent and automation workflows before implementation. Use when choosing between Codex app automations,…
Design evaluation workflows for agent, skill, prompt, and automation behavior before implementation. Use when choosing eval…
Design safe n8n workflows with deterministic routing, credentials, idempotency, recovery, local-model checks, drafts, and exact…
Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.