# callkit

Teaches an agent to build VoIP calling into an iOS app: the system call screen, PushKit registration, audio sessions, and a caller ID extension.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 3100 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/callkit/SKILL.md
- Updated: 2026-07-31
- HTML: https://affpapa.org/en/nevibecode/skills/callkit

## What it does

This skill covers VoIP calls that surface in the iOS call screen rather than a hand-built one. It goes through the provider and call controller objects, both call directions, registering for VoIP pushes with PushKit, tying the audio session to call actions, and a Call Directory extension for caller ID and number blocking.

Sections follow the work order: project capabilities, provider configuration, incoming and outgoing flows, push registration, audio, the directory extension. Samples are Swift and assume one shared `CXProvider` kept alive for the app's lifetime. A table for iOS 26.4+ explains `PKVoIPPushMetadata.mustReport`: a `true` value means the call has to be announced before the push handler returns, a `false` value means no announcement is needed. There is also a common-mistakes section and a review checklist.

Three project settings come first: the Voice over IP background mode, the Push Notifications capability, and a separate Call Directory Extension target if blocking is planned. Skipping the announcement of a required call gets the app terminated, and repeated misses can cut off VoIP push delivery.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

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

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

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

## When to use it
- show an incoming VoIP call in the native call screen
- register for VoIP pushes and pass the token to your server
- place an outgoing call through the call controller
- tie the audio session to answer and end actions
- label callers and block numbers with a directory extension

## Example prompts
- Set up VoIP push registration with `PKPushRegistry` and send the token to my backend.
- Walk me through reporting an incoming call, then fulfil `CXAnswerCallAction` once the server connection is up.
- Check my `CXProviderDelegate` against the common mistakes section.

## 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
