# permiso-accessibility-permissions

A skill for coding agents that shows how to add a guided macOS accessibility permission panel to a Swift app.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 386 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/permiso-accessibility-permissions/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/permiso-accessibility-permissions

## What it does

Permiso is a Swift library that walks the user through enabling a permission in System Settings with an animated overlay. The skill covers wiring it into a project and calling it from code.

It ships Swift snippets: `PermisoAssistant.shared.present(panel: .accessibility)`, an `AXIsProcessTrusted()` check, a timer that polls until access is granted, and a SwiftUI settings view with a request button. Troubleshooting notes are included too — the panel stays hidden when called off the main thread, and `AXIsProcessTrusted()` can keep returning false until the app is relaunched.

You need Swift 5.9+ and macOS. Apps that use accessibility APIs must not be sandboxed, or need the right entitlements. Call `present(panel:)` from `@MainActor`, otherwise nothing renders.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill permiso-accessibility-permissions -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/permiso-accessibility-permissions/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/permiso-accessibility-permissions/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill permiso-accessibility-permissions -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/permiso-accessibility-permissions/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill permiso-accessibility-permissions -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/permiso-accessibility-permissions/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills permiso-accessibility-permissions
```

2. **Manually: put the files in place**
- File: `.github/skills/permiso-accessibility-permissions/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill permiso-accessibility-permissions -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/permiso-accessibility-permissions
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/permiso-accessibility-permissions/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill permiso-accessibility-permissions -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/permiso-accessibility-permissions/SKILL.md

## When to use it
- point the user to the right System Settings pane for accessibility access
- add a Codex Computer Use style permission panel to a macOS app
- gate an accessibility-dependent action behind an `AXIsProcessTrusted()` check
- detect the moment access is granted without restarting the app
- put a request-access button into a SwiftUI settings screen

## Example prompts
- show me how to call `PermisoAssistant.shared.present(panel: .accessibility)` on app launch
- add a Permiso request button for accessibility access to my SwiftUI settings view
- set up a timer polling `AXIsProcessTrusted()` so the app notices when access is granted

## Similar
- [accessibility](https://affpapa.org/en/nevibecode/skills/affaan-m-accessibility.md) — skill · 5100 installs
- [clerk-swift](https://affpapa.org/en/nevibecode/skills/clerk-swift.md) — skill · 14500 installs
- [swiftui-patterns](https://affpapa.org/en/nevibecode/skills/affaan-m-swiftui-patterns.md) — skill · 4600 installs
- [swiftui-whats-new-27](https://affpapa.org/en/nevibecode/skills/swiftui-whats-new-27.md) — skill · 737 installs
- [axiom-accessibility](https://affpapa.org/en/nevibecode/skills/axiom-accessibility.md) — skill · 1200 installs
- [ios-accessibility](https://affpapa.org/en/nevibecode/skills/dadederk-ios-accessibility.md) — skill · 911 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 139 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
