# permissionkit

A skill that walks the agent through PermissionKit: a child asks a parent for an exception to communication limits over iMessage.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 3600 installs · ★ 1237
- Author: dpearson2699
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dpearson2699/swift-ios-skills/tree/HEAD/skills/permissionkit/SKILL.md
- Updated: 2026-07-31
- HTML: https://affpapa.org/en/nevibecode/skills/permissionkit

## What it does

Reach for this skill when a Swift app restricts a child's contact with other people and needs a way for the child to ask a parent for an exception. The agent gets the whole flow: `CommunicationLimits` reports whether a phone number or email is already known, `PermissionQuestion` carries the request, `AskCenter.shared.ask(_:in:)` starts the send, and the verdict arrives later via `responses(for:)`.

The skill ships a version table. Core types such as `CommunicationTopic` and `CommunicationLimits` start at iOS 26.0, `AskError` at 26.1, and `AskCenter`, `PermissionButton` plus significant-update topics at 26.2. It also covers attaching a name and avatar to the question and lists the available actions, `.message` and `.audioCall` among them.

Everything runs through iMessage. That rules it out as a general in-app consent, moderation or chat-safety layer. Entitlement keys should come from Apple's docs and Xcode capabilities rather than guesswork. When communication limits are off, `ask` throws `AskError.communicationLimitsNotEnabled`, so that branch needs handling.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill permissionkit -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill permissionkit -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill permissionkit -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dpearson2699/swift-ios-skills permissionkit
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill permissionkit -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dpearson2699/swift-ios-skills --path skills/permissionkit
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill permissionkit -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/dpearson2699/swift-ios-skills/tree/HEAD/skills/permissionkit/SKILL.md

## When to use it
- Explain to a child why a contact is blocked by a parental limit
- Build a request for one contact or several to send to a parent
- Find out which phone numbers and emails the system already recognises
- Attach a name and avatar so the parent knows who the request is about
- Handle the error thrown when communication limits are off

## Example prompts
- Check with `CommunicationLimits` whether `+1234567890` is known, and build a question if it isn't
- Add a SwiftUI screen with `PermissionButton` that sends a parent a request for `.audioCall`
- Catch `AskError.communicationLimitsNotEnabled` inside `requestPermission`

## Similar
- [vercel-react-native-skills](https://affpapa.org/en/nevibecode/skills/vercel-react-native-skills.md) — skill · 255200 installs
- [animate-expo](https://affpapa.org/en/nevibecode/skills/animate-expo.md) — skill · 137900 installs
- [mobile-native](https://affpapa.org/en/nevibecode/skills/mobile-native.md) — skill · 86600 installs
- [aso](https://affpapa.org/en/nevibecode/skills/aso.md) — skill · 75400 installs
- [swiftui-pro](https://affpapa.org/en/nevibecode/skills/swiftui-pro.md) — skill · 35200 installs
- [orca-emulator](https://affpapa.org/en/nevibecode/skills/orca-emulator.md) — skill · 5800 installs

From the same set: [dpearson2699/swift-ios-skills](https://affpapa.org/en/nevibecode/by/dpearson2699/swift-ios-skills.md) — 86 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
