Skip to content
Skill

Axiom audit codable

Audits Swift Codable code for decoding, encoding and serialization safety issues

Axiom audit codable is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
1.3K
Last commit
License
MIT
Listing updated

Similar skills

About Axiom audit codable

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (20 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Axiom audit codable 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.

More from CharlesWiltgen/Axiom

  1. Finds the code patterns behind flaky Swift Testing failures and explains each root cause

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  2. Audits Swift test suites for flaky patterns, slow setups and Swift Testing migration gaps

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  3. Drives iOS Simulator tests: UI input, screenshots, location, push and accessibility checks

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  4. Guides an agent through Swift unit, UI and async tests, flaky-test fixes and test speed

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  5. Interprets iOS and macOS crash logs and points the agent to the likely fix

    • Open source
    • 1.3K GitHub stars
    • Developer tools