Skip to main content
command CX Codex

audit · gmickel — Claude Code command: project memory audit

The audit command checks .flow/memory/ entries against the current code and assigns an action to each one. Use it when project notes may need revision.

MIT ★ 730 updated 2026-10-29

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add gmickel/flow-next
/plugin install flow-next@flow-next
Open on GitHub

What audit does

audit passes its arguments to the flow-next-audit skill. The skill discovers memory entries, investigates the codebase, then marks each entry to keep, update, consolidate, replace, delete, or harden. You can narrow the scope with a concept, category, module, or path, or pass mode:autofix.

In interactive mode, the skill asks questions before acting. It then applies changes, produces a report, commits, and checks whether the entries can be discovered. The command is disabled for automatic model invocation, so start it explicitly.

For Claude Code, add the marketplace and install flow-next; invoke the command as /flow-next:audit. Codex uses the prompt file at ~/.codex/prompts/audit.md.

What it helps with

  • check .flow/memory/ entries against the codebase
  • spot project notes that need revision
  • consolidate duplicate memory entries
  • replace or harden entries after investigation

Example prompts for the agent

  • Audit every entry in .flow/memory/ against the current code.
  • Check the memory entries for the authentication module.
  • Run the audit with mode:autofix.

How to install audit

1Plugin marketplace

/plugin marketplace add gmickel/flow-next
/plugin install flow-next@flow-next

2Manually: put the files in place

.claude/commands/audit.md

Call it with /audit. For all projects use ~/.claude/commands/

Questions about audit

How do I install audit in Claude Code?

Run /plugin marketplace add gmickel/flow-next, then /plugin install flow-next@flow-next. The command file is .claude/commands/audit.md.

What does the audit command do?

It invokes flow-next-audit, which checks .flow/memory/ entries against the codebase and assigns an action to each entry.

Can I limit the audit to one module?

Yes. Pass a scope hint such as a module name or path; the skill receives the arguments unchanged.

Source text

audit.md · MIT
---
name: audit
description: Audit `.flow/memory/` entries against the current codebase — Keep / Update / Consolidate / Replace / Delete / Harden per entry
argument-hint: "[mode:autofix] [scope hint — concept, category, module, or path]"
disable-model-invocation: true
---

# IMPORTANT: This command MUST invoke the skill `flow-next-audit`

The ONLY purpose of this command is to call the `flow-next-audit` skill. You MUST use that skill now.

**Arguments:** $ARGUMENTS

Pass the arguments to the skill verbatim. The skill handles mode detection (`mode:autofix` token), discovery, investigation, classification, asking (interactive only), execution, report, commit, and discoverability check.

© Gordon Mickel · MIT · gmickel/flow-next

Similar slash commands

All slash commands for Agent setup: memory, context, orchestration →

audit by other authors comes first.

audit INDX A command for Claude Code ranks files by refactoring priority using AST metrics only. It audits selected paths and explains why files rank near the top. CX Codex +1 ★ 113repo stars audit LihFolk audit is a Claude Code command that audits Roblox Luau code for security holes, exploits, and storage flaws. It runs automated checks and builds a ranked fix list from P0 to P3. CX Codex +1 ★ 98repo stars agent-architecture-audit affaan-m agent-architecture-audit is a Claude Code skill that traces faults in agent and LLM applications. Run it when the failing layer is unclear or before a release. CX Codex +1 6,500installs memory-audit nhadaututtheky memory-audit reviews NeuralMemory quality across six dimensions and returns a graded report with prioritized findings. Useful when your agent keeps tripping over stale notes. CX Codex +1 615installs agency-continuity-audit Revert Creations The agency-continuity-audit plugin for Claude Code and Codex checks persistent agent workspaces, separating evidence of goals, state, and recovery from self-reports. CX Codex ★ 1,596repo stars system-audit awrshift The system-audit Claude Code skill audits an agent system against evidence and ranks follow-up fixes. It runs on self-audit requests or at checkpoints such as before a milestone. CX Codex +1 ★ 33repo stars inspeximus: agent memory with provenance, GDPR erasure and a tamper-evident audit trail DanceNitra inspeximus: agent memory with provenance, GDPR erasure and a tamper-evident audit trail is an MCP server for Claude Code and Codex that stores agent memory and retires stale data during task changes. CX Codex +1 ★ 8repo stars audit-reference-originality MengTo audit-reference-originality compares a shipped site with its reference corpus and flags overlaps in copy, brands, numbers, images and code. Useful before release. CX Codex +1 1,700installs

From the same set70

The whole set →

Project sponsors

Companies that keep this analytics open