SkillsReviewed · zebbern

Audit Flow

Audit Flow is a Claude Code skill for developers mapping how software works, but its records depend on careful code reading rather than automatic runtime tracing. It stores linked steps and findings in SQLite and exports reports and Mermaid diagrams; its database replacement and Git merge operations need particular care.

Researched 16 Nov 2026

In short.

Audit Flow is a Claude Code skill for developers and reviewers documenting software flows, but tracing remains manual and some database operations can replace audit history. It provides structured records, branching relationships, findings and several export formats through a Python helper. The implementation has narrower validation and export guarantees than its documentation suggests, and concurrent edits to the same flow can be lost during merging. Nothing was executed; installation, compatibility, output rendering and operational reliability are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied skills/audit-flow folder at revision c8f12ba31081ce52578dea413c74789ab5437829: SKILL.md, COMMANDS.md, EXAMPLES.md, schema.sql, scripts/audit.py and setup.sh, plus the repository-root LICENSE. Other repository skills, the actual root .gitattributes file and external services are outside this evidence. Installation, execution, database recovery, merge outcomes, diagram rendering and live assistant compatibility remain untested.

The overview

identity

Audit Flow is the skills/audit-flow folder in zebbern/claude-code-guide. It combines assistant instructions, command documentation, worked examples, a SQLite schema, a Python CLI and a Bash setup script. The skill metadata credits ArunJRK and declares version 1.0.0.

The source snapshot is revision c8f12ba31081ce52578dea413c74789ab5437829. Obtain the complete folder from [https://github.com/zebbern/claude-code-guide/tree/c8f12ba31081ce52578dea413c74789ab5437829/skills/audit-flow].

assessment

Its strongest use is keeping a code-reading exercise organized: steps have file references, relationships distinguish reads from writes, and findings remain separate from the system actions being described. Saved sessions can support later documentation and review.

Adoption should depend on whether that structure justifies maintaining SQL records and checking generated output. The helper manages recorded information; its available commands do not discover application flows or establish that a security finding is correct. Important implementation limits affect validation, diagram ordering and preservation of concurrent changes.

users

The documented audiences include developers reviewing authentication, debugging a request path, explaining service boundaries, planning features and reconstructing incidents. Fine granularity records function-level steps; coarse granularity records broader boundaries.

Beginners can follow the examples, but reliable use requires understanding SQL identifiers, code references and Git behavior. Experienced reviewers are better placed to judge whether a recorded relationship reflects the code. The interaction asks for decisions during tracing, which suits guided analysis more than unattended operation. Its compliance purpose label does not establish regulatory acceptance.

capabilities

Records cover CODE, API, AUTH, DATA and NETWORK layers. Relationships describe execution, reads, writes, validation, transformation, conditional branches and merges. Findings carry severity, category, description and references to relevant steps.

The Python helper lists and displays sessions, exports JSON, Markdown and Mermaid, and optionally exports YAML. Mermaid output includes numbered nodes, layer groups, conditional edge labels and different arrows for reads and writes. Additional commands provide CSV exchange, SQL dumps and Git merge/diff integration. These capabilities are present in source; their outputs were not generated or rendered.

Using it

requirements

The skill specifies Python 3.8 or later. Core Python functionality uses the standard library, including sqlite3; YAML export optionally imports PyYAML. Bash is needed for setup.sh, and Git is needed for that setup script and the merge/diff features. Direct SQL examples using the sqlite3 command require that separate executable.

The documented installation layout is .claude/skills/audit-flow/. The Python helper also supports standalone use with its accompanying schema. No specific Claude Code version, operating-system compatibility matrix or verified Python-version results are supplied.

mechanism

A session contains named flows. Each flow contains tuples, meaning individual steps with a layer, action, subject and optional file reference. Edges connect those steps, while findings record observations separately. The database is .audit/audit.db, and exports normally go under docs/audits/{session-name}/.

An analyst or assistant reads application code and inserts the records through SQL. The documented /audit-flow start, add, link and finding interactions are conversational controls; the Python argument parser has no corresponding record-creation subcommands. A stored status such as verified is a label, not evidence that a test occurred.

setup

Keep the complete folder together because scripts/audit.py loads the neighboring schema.sql. The documented process begins by reading the schema and checking for an existing database. Initialization is intended only when the database is absent; subsequent work should inspect existing sessions and preserve their history.

setup.sh initializes a missing database, configures repository-local Git drivers, edits or creates .gitattributes and creates docs/audits. When it creates .gitattributes, it also adds a repository-wide text line-ending rule. Running git-setup alone configures the drivers but only reports a missing attributes entry. Session creation and population remain separate steps.

example

One worked example follows an authenticated API request. A token check branches into a valid-token path and an expired-token refresh path, which converge before an API call. Each branch carries its condition, making the two routes explicit.

For an application review, a developer could attach actual source locations to those steps and record a token-storage or logging concern as a finding referencing the affected records. The examples are illustrative rather than findings about a real application. Their hard-coded identifiers must be replaced with identifiers from the actual database.

Assessment & evidence

limitations

Validation checks missing branch conditions, disconnected nodes, ambiguous labels and diagram size. It warns at 40 nodes and reports an error at 60. Export does not automatically invoke validation. Cycle detection is absent, and the entry-node helper falls back to the first node when none has zero incoming edges, weakening the advertised missing-entry check. The schema does not enforce acyclic flows or require both edge endpoints to belong to the same flow; ordinary helper connections do not explicitly enable foreign-key enforcement.

The numbered traversal is breadth-first rather than a dependency-respecting topological sort, so a merge can receive a number before a longer incoming path finishes. Observation classification relies on concern status and parent statuses, which can move actual system actions into the observations group. The exporter defines styles but does not generate the promised legend block.

The documented prohibition on destroying history is not enforced throughout the implementation. init --force deletes an existing database, CSV import replaces it, and database merging rewrites the destination. The merge ignores the common ancestor and chooses one version of each conflicting flow using its parent session's timestamp. Concurrent edits from the other version can disappear, and findings can lose references to discarded steps. Child-record edits do not themselves update the session timestamp.

Export completeness also varies. Single-flow Markdown export omits session Git context, and the exporter does not create the required INDEX.md manifest. The Git-context collection helper is defined but is not called by the available commands. These are source-level findings; their runtime effects were not tested.

reasoning

The useful design choice is separating application behavior from reviewer observations. A relationship such as WRITES states that something changes data; a finding states what the reviewer believes is wrong. Keeping those distinct makes a trace easier to question and maintain.

SQLite preserves records across conversations, but persistence does not establish accuracy. File references identify locations without embedding an immutable copy of the code. Record the source commit and inspect the relevant code before reusing a trace. Structural validation cannot establish complete coverage, runtime behavior or the absence of vulnerabilities.

alternatives

The folder supports an assistant-led skill and standalone Python/SQL use. Standalone use retains storage and export functions, while the user supplies the tracing decisions and record creation.

For one short flow, a manually maintained document and Mermaid diagram may involve less setup; this is an inference from Audit Flow's database and Git requirements. Observing actual execution would require a separate runtime tracing approach because the examples explicitly limit tracing to code reading. No named competing resource or comparative benchmark is established by the supplied evidence.

evidence

The available source consists of SKILL.md, COMMANDS.md, EXAMPLES.md, schema.sql, scripts/audit.py and setup.sh, together with the repository LICENSE. The documentation describes intended use; the schema and implementation expose the concrete storage, validation, export and merge behavior.

No commands were executed. The supplied material contains no execution results establishing successful installation, rendered diagrams, safe concurrent merging, compatibility or performance. Worked examples do not establish those outcomes.

Access & freshness

costs

The supplied files establish no purchase price, subscription price or support fee for Audit Flow. The core helper uses local Python and SQLite, with PyYAML optional.

Claude Code access costs, model charges, token consumption and the time required to maintain traces are unknown. There are no supplied measurements supporting a savings estimate or total operating cost.

rights

The repository LICENSE grants MIT rights to use, copy, modify, publish, distribute, sublicense and sell the software and associated documentation. Copies or substantial portions must retain the copyright and permission notice. The notice credits zebbern, 2025, and disclaims warranty.

SKILL.md also declares MIT. The original notice is available at [https://raw.githubusercontent.com/zebbern/claude-code-guide/c8f12ba31081ce52578dea413c74789ab5437829/LICENSE].

freshness

This account describes revision c8f12ba31081ce52578dea413c74789ab5437829, captured on 16 November 2026 at 07:44:01 UTC. The skill identifies itself as version 1.0.0.

The capture time is not a release or maintenance date. Subsequent changes on main, current Claude Code compatibility and whether these implementation limits have since changed are unknown.

actions

Obtain the complete versioned folder and retain its MIT notice. Inspect schema.sql and the scripts, check for existing .audit/audit.db history, and preserve a backup before using any replacement or merge operation. Review the Git configuration and .gitattributes changes before running setup.sh.

Evaluate a small flow in a disposable project copy, using real database identifiers and explicit branch conditions. Populate source-version context, validate before exporting, and inspect the rendered diagram's order and report metadata. Before relying on shared database history, rehearse conflicting edits to the same flow and compare the resulting records and finding references with both originals. These are proposed evaluation steps, not completed tests.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/audit-flow/COMMANDS.mdselected · checked 2026-11-16
skills/audit-flow/EXAMPLES.mdselected · checked 2026-11-16
skills/audit-flow/SKILL.mdselected · checked 2026-11-16
skills/audit-flow/schema.sqlselected · checked 2026-11-16
skills/audit-flow/scripts/audit.pyselected · checked 2026-11-16
skills/audit-flow/setup.shselected · checked 2026-11-16