# Axiom audit codable

> Axiom audit codable is an open-source agent skill for developer tools. Audits Swift Codable code for decoding, encoding and serialization safety issues. 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-codable
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-audit-codable
- **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 Codable auditor for Swift and Objective-C projects. It begins by mapping the serialization layout of the codebase: which types conform to Codable, where JSON encoders and decoders are created, which date and key strategies are configured, and which data crosses network, disk or inter-process boundaries. It then runs a set of grep-based scans for known anti-patterns such as hand-built JSON strings, try? swallowing decode errors, JSONSerialization cast chains, missing date strategies, and bare catch blocks, verifying each hit by reading the surrounding code.

Beyond pattern matching, the skill asks the agent to reason about gaps: missing snake_case mapping, custom property wrappers that silently fall back, string enums without an unknown case, encoder and decoder settings that disagree across files, and fields the API sends but the struct omits. Findings are grouped by severity, cross-referenced for compound risks, and summarized in a serialization health score with recommended fixes.

The skill expects a Swift or Objective-C codebase that the agent can search and read, with access to file search and reading tools. It is distributed under the MIT license.

## When your agent uses it

> Use when the user mentions Codable review, JSON encoding/decoding issues, data serialization audit, or modernizing legacy code.

## 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-codable)
- [License: MIT](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-codex/skills/axiom-audit-codable)

## Features

- **Serialization architecture map:** Summarizes Codable type counts, decoder configuration and the boundaries where data is serialized.
- **Anti-pattern detection:** Runs eight grep-based checks for issues such as try? decode failures and manual JSON building.
- **Completeness reasoning:** Looks for missing key mappings, silent fallbacks, unknown enum cases and dropped API fields.
- **Cross-file drift checks:** Compares date and key strategies between encoder and decoder sites that share a format.
- **Severity-graded report:** Produces findings ranked CRITICAL to LOW with file locations and code fixes.
- **Health score:** Rates the codebase as safe, needing hardening or unsafe based on the scan results.

## Good for

- Review my Codable models for snake_case decoding problems
- Find try? calls that silently swallow decode errors
- Check that JSON encoders and decoders use matching date strategies
- Migrate JSONSerialization code to Codable structs
- Scan my Swift project for serialization issues before a release

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/axiom-audit-codable` 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-codable &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-codable" ~/.claude/skills/axiom-audit-codable &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/axiom-audit-codable` 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-codable &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-codable" ~/.agents/skills/axiom-audit-codable &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/axiom-audit-codable` 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-codable &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-codable" ~/.cursor/skills/axiom-audit-codable &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/axiom-audit-codable` 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-codable
```

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

### VS Code

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

```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-codable &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-codable" ~/.copilot/skills/axiom-audit-codable &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/axiom-audit-codable` 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-codable` into your agent's skills folder as `axiom-audit-codable`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Axiom audit codable trigger?

It is used when the user mentions Codable review, JSON encoding or decoding issues, data serialization audits, or modernizing legacy code.

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

It needs access to search and read a Swift or Objective-C codebase. It explicitly excludes test, vendor and build folders such as Pods, DerivedData and .build.

### Does Axiom audit codable change my code?

The skill produces an audit report with suggested code fixes. It describes the fixes but does not state that it applies them.

### What license applies?

The skill is released under the MIT license.

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

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

### Does Axiom audit codable 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 codable?

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 codable?

The closest alternatives to Axiom audit codable are Axiom audit swiftdata, Axiom audit testing, Axiom audit accessibility, Axiom audit camera and Axiom audit concurrency.

## Where this comes from

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

## Alternatives

- [Axiom audit swiftdata](https://ai-powered.com/skills/axiom-audit-swiftdata): Axiom audit swiftdata is an open-source agent skill for developer tools.
- [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 accessibility](https://ai-powered.com/skills/axiom-audit-accessibility): Axiom audit accessibility is an open-source agent skill for developer tools.
- [Axiom audit camera](https://ai-powered.com/skills/axiom-audit-camera): Axiom audit camera is an open-source agent skill for developer tools.
- [Axiom audit concurrency](https://ai-powered.com/skills/axiom-audit-concurrency): Axiom audit concurrency 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 core data](https://ai-powered.com/skills/axiom-audit-core-data): Axiom audit core data is an open-source agent skill for developer tools.
- [Axiom analyze swift performance](https://ai-powered.com/skills/axiom-analyze-swift-performance): Axiom analyze swift performance is an open-source agent skill for developer tools.

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