# Axiom audit camera

> Axiom audit camera is an open-source agent skill for developer tools. Audits Swift camera, video and audio capture code for deprecated APIs and reliability gaps. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-codex/skills/axiom-audit-camera
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-audit-camera
- **Collection:** https://github.com/CharlesWiltgen/Axiom
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill turns the agent into a reviewer for AVFoundation capture code in Swift. It maps how sessions, device discovery, outputs, threading and audio sessions are wired together, then checks the code against a list of known anti-patterns such as main-thread session work, deprecated rotation handling, missing interruption observers, and missing purpose strings.

Beyond matching known problems, the agent looks for missing pieces like runtime error recovery, permission denial guidance, and audio session deactivation when capture ends. Findings are grouped by severity, with a summary health rating and suggested fixes with code examples, and the output includes a test plan covering interruptions, permission changes and rotation.

The skill is a set of instructions for an agent that scans the project with grep and file reads, so it expects access to a Swift codebase and works best on iOS projects using AVCaptureSession or AVAudioSession.

## When your agent uses it

> Use this agent to scan Swift code for camera, video, and audio capture issues including deprecated APIs, missing interruption handlers, threading violations, and permission anti-patterns.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-codex/skills/axiom-audit-camera)
- [License: MIT](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-codex/skills/axiom-audit-camera)

## Features

- **Capture pipeline mapping:** Summarizes sessions, devices, outputs, threading and audio configuration before judging the code.
- **Deprecated API detection:** Flags older rotation, device enumeration, notification and picker APIs and suggests current replacements.
- **Interruption coverage checks:** Looks for observers covering camera, audio and runtime error interruptions and their recovery handling.
- **Permission and purpose string review:** Checks camera, microphone and photo library permission requests and usage description keys.
- **Severity-ranked report:** Groups issues into critical, high, medium and low levels with file references and fixes.
- **Capture health rating:** Scores overall capture reliability as reliable, fragile or broken.

## Good for

- Check my camera code for deprecated AVFoundation APIs
- Find why my camera preview goes black after a phone call
- Review my AVCaptureSession setup for threading problems
- Audit my app's microphone and photo library permission handling
- Suggest a test plan for my video recording flow

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/axiom-audit-camera` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/axiom-audit-camera &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-camera" ~/.claude/skills/axiom-audit-camera &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/axiom-audit-camera` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/axiom-audit-camera` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/axiom-audit-camera &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-camera" ~/.agents/skills/axiom-audit-camera &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/axiom-audit-camera` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/axiom-audit-camera` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/axiom-audit-camera &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-camera" ~/.cursor/skills/axiom-audit-camera &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/axiom-audit-camera` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/CharlesWiltgen/Axiom.git --path axiom-codex/skills/axiom-audit-camera
```

Or copy the folder to `~/.gemini/skills/axiom-audit-camera` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/axiom-audit-camera`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/axiom-audit-camera &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-camera" ~/.copilot/skills/axiom-audit-camera &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/axiom-audit-camera` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git
```

Then copy `Axiom/axiom-codex/skills/axiom-audit-camera` into your agent's skills folder as `axiom-audit-camera`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Axiom audit camera need to run?

It needs access to the Swift source code of the project, since the agent runs Glob, Grep and Read against Swift files and excludes test, preview and vendor folders.

### Does Axiom audit camera change my code?

The skill describes an audit. It reports findings and suggests fixes with code examples, and does not describe editing files on its own.

### When does Axiom audit camera trigger?

The skill's description says to use it to scan Swift code for camera, video and audio capture issues, and it also responds to requests such as checking camera code or reviewing AVFoundation capture code.

### How do I install Axiom audit camera in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/axiom-audit-camera to use it in all your projects, or to .claude/skills/axiom-audit-camera in one project.

### Does Axiom audit camera run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Axiom audit camera?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Axiom audit camera?

The closest alternatives to Axiom audit camera are Axiom audit testing, Axiom audit icloud, Axiom audit codable, Axiom audit swiftui architecture and Axiom audit accessibility.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Axiom audit testing](https://ai-powered.com/skills/axiom-audit-testing): Axiom audit testing is an open-source agent skill for developer tools.
- [Axiom audit icloud](https://ai-powered.com/skills/axiom-audit-icloud): Axiom audit icloud is an open-source agent skill for developer tools.
- [Axiom audit codable](https://ai-powered.com/skills/axiom-audit-codable): Axiom audit codable is an open-source agent skill for developer tools.
- [Axiom audit swiftui architecture](https://ai-powered.com/skills/axiom-audit-swiftui-architecture): Axiom audit swiftui architecture is an open-source agent skill for developer tools.
- [Axiom audit accessibility](https://ai-powered.com/skills/axiom-audit-accessibility): Axiom audit accessibility is an open-source agent skill for developer tools.
- [Axiom media](https://ai-powered.com/skills/axiom-media-charleswiltgen-2): Axiom media is an open-source agent skill for developer tools.
- [Axiom health check](https://ai-powered.com/skills/axiom-health-check): Axiom health check is an open-source agent skill for developer tools.
- [Axiom audit memory](https://ai-powered.com/skills/axiom-audit-memory): Axiom audit memory is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/axiom-audit-camera
