# Audit

> Audit is an open-source agent skill for developer tools. Runs keep-honest audits on a project and reports drift, stale docs and tech debt. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/zerotechdebt/ffflow/tree/main/plugin/skills/audit
- **Repository:** https://github.com/zerotechdebt/ffflow
- **GitHub stars:** 6
- **License:** Apache-2.0
- **Skill name:** audit
- **Collection:** https://github.com/zerotechdebt/ffflow
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill coordinates a set of per-type auditors for a project. Each auditor, called a cartridge, checks one area such as CLAUDE.md freshness, spec drift, characterization tests, architecture conformance, complexity and refactor signals, tech-debt patterns, or RID traceability at the highest level. The coordinator runs the applicable cartridges, merges their results into a single audit state file, and renders one report with pass, warn or fail status per auditor.

Where a cartridge has a deterministic check, such as a justfile recipe, that check runs first and its violations become findings. The judgement part of each audit then covers only what the check cannot see. The skill can also turn findings above a threshold into a plan folder that feeds the planning workflow, and it can apply conservative auto-fixes that are staged for review rather than committed.

It expects a project that uses the FFFlow layout with a config file and an audit state file, and it runs with Python-based scripts. CI use is limited: the machine-readable output mode exists, but the skill notes that no supported headless entry point is shipped yet.

## When your agent uses it

> Run the FFFlow keep-honest auditors against this project. Coordinator with per-type cartridges (CLAUDE.md freshness, spec drift, characterization tests, architecture conformance, complexity/refactor signals, and L3 RID traceability). Use --type to target one; --plan to convert findings into work.

## What it can access

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

- [Runs Python scripts](https://github.com/zerotechdebt/ffflow/tree/HEAD/plugin/skills/audit)
- [No network calls found in its scripts](https://github.com/zerotechdebt/ffflow/tree/HEAD/plugin/skills/audit)
- [License: Apache-2.0](https://github.com/zerotechdebt/ffflow/tree/HEAD/plugin/skills/audit)

## Features

- **Per-type auditors:** Separate cartridges cover CLAUDE.md freshness, spec drift, architecture, refactor signals and more.
- **Unified audit state:** Results are merged into one state file that records validated commits and open findings.
- **Mechanical checks:** Deterministic recipes run fast and give the same answer on every run, suitable for pre-push.
- **Plan generation:** Findings above a chosen threshold can be converted into a plan folder for further work.
- **Conservative auto-fix:** Obvious fixes are applied and staged for review, while risky changes are routed to a plan.
- **Single report:** Output is a human-readable summary, or JSON with an exit code for scripted use.

## Good for

- Check whether project docs still match the current code
- Find drift between specs and the implementation
- Flag high-complexity functions and duplicated code
- Scan for bare TODOs and vague tech-debt notes
- Turn audit findings into a plan for follow-up work
- Run only the spec audit before a push

## Install

### Claude Code

This skill ships in the `fff` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add zerotechdebt/ffflow
/plugin install fff@ffflow
```

Or copy only this skill to `~/.claude/skills/audit`:

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/audit` 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/zerotechdebt/ffflow.git --path plugin/skills/audit
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git
```

Then copy `ffflow/plugin/skills/audit` into your agent's skills folder as `audit`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the audit skill change in my project?

It reads the project config and audit state, runs the selected cartridges and writes their results to the audit state file. It can also create a plan folder with --plan and stage small fixes with --fix, without committing them.

### How do I run only one kind of audit?

Pass --type with a comma-separated list of cartridge names, for example --type claude-md,spec.

### Can Audit run in CI today?

The skill describes a JSON output mode and exit codes, but it notes that no supported headless entry point exists yet, so CI wiring is left to the project.

### Which audits run at which project level?

Some cartridges run at any level, some need L1 or higher, and the RID traceability cartridge runs only at L3. Judgement audits block only at L3, while mechanical checks block wherever they are enabled.

### How do I install Audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/audit to use it in all your projects, or to .claude/skills/audit in one project. Or install the fff plugin, which includes it: /plugin marketplace add zerotechdebt/ffflow, then /plugin install fff@ffflow.

### Does Audit run scripts?

Yes. It runs Python scripts. No network calls were found in its 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 Audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Audit?

The closest alternatives to Audit are System audit, Testing audit, CLI audit, Audit and Skill review.

## Where this comes from

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

## Alternatives

- [System audit](https://ai-powered.com/skills/system-audit): System audit is an open-source agent skill for developer tools.
- [Testing audit](https://ai-powered.com/skills/testing-audit): Testing audit is an open-source agent skill for developer tools.
- [CLI audit](https://ai-powered.com/skills/cli-audit): CLI audit is an open-source agent skill for developer tools.
- [Audit](https://ai-powered.com/skills/audit-localixai): Audit is an open-source agent skill for developer tools.
- [Skill review](https://ai-powered.com/skills/skill-review): Skill review is an open-source agent skill for developer tools.
- [Skill audit](https://ai-powered.com/skills/skill-audit): Skill audit is an open-source agent skill for developer tools.
- [Review pipeline](https://ai-powered.com/skills/review-pipeline): Review pipeline is an open-source agent skill for developer tools.
- [Maintain verification skill](https://ai-powered.com/skills/maintain-verification-skill): Maintain verification skill is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/audit-zerotechdebt
