integration-audit

integration-audit is a command for Claude Code from eddiebelaval/squire. It costs 0 tokens per session (1,764 once invoked), scanned A, original, MIT.

A command that checks whether each product feature is connected from the user interface through the API, database, application state, and data types. It produces an interactive HTML report.

In plain words
What is it for?
Use it to review a project’s end-to-end feature wiring and inspect the results in a visual report.
Why use it?
Features can look complete while one layer is missing or disconnected. This audit helps find those gaps before they cause failures.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions Claude Code.

Good fit Use it to review a project’s end-to-end feature wiring and inspect the results in a visual report.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/eddiebelaval/squire/integration-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/eddiebelaval/squire

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for integration-audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/eddiebelaval/squire/integration-audit.svg)](https://agentmods.dev/commands/eddiebelaval/squire/integration-audit)
Your own site
<a href="https://agentmods.dev/commands/eddiebelaval/squire/integration-audit"><img src="https://agentmods.dev/badge/commands/eddiebelaval/squire/integration-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,764 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01764
Opus 5 $0.00000 $0.00882
Sonnet 5 $0.00000 $0.00353
Haiku 4.5 $0.00000 $0.00176

Measured 4d ago against content hash 7323ce541129, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

integration-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/integration-audit.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/integration-audit - Full-Stack Integration Audit with Visual Report

Perform a comprehensive audit of all features, checking whether each feature is fully integrated across every layer of the stack (frontend UI, API routes, database/Supabase, state management, types). Output the results as an interactive HTML visualization using the Factory-inspired design system.

Arguments

/integration-audit [project-path] where project-path is optional:

  • No argument: audit the current working directory
  • A directory path: audit that project specifically
  • Example: /integration-audit ~/Development/Homer

How This Differs From /audit

  • /audit checks codebase health (security, dead code, type safety)
  • /integration-audit checks feature completeness — is every feature wired end-to-end?
  • Output is always an interactive HTML artifact (not a text report)

Phase 1: Discovery (Parallel Scans)

Launch parallel Explore agents (subagent_type: Explore) to scan each layer simultaneously. Each agent returns structured findings.

Agent 1: API Routes Scan

Scan for all API route handlers. For Next.js App Router projects:

  • Glob: **/app/api/**/route.ts, **/app/api/**/route.tsx
  • For each route, extract: path, HTTP methods (GET/POST/PUT/PATCH/DELETE), auth checks (presence of getUser/session/auth middleware), database calls (supabase/prisma/drizzle references), request/response types
  • Also check for: server actions in **/actions/** or "use server" directives

Agent 2: Frontend Pages & Components Scan

Scan for all pages and feature components:

  • Pages: **/app/**/page.tsx, **/pages/**/*.tsx
  • Components: **/components/**/*.tsx, **/features/**/*.tsx
  • For each, extract: API calls (fetch, axios, useSWR, useQuery, server actions), form submissions, state store usage, route links/navigation
  • Identify UI shells: components with placeholder text, TODO comments, or hardcoded mock data

Agent 3: Database & Schema Scan

Scan for database schema and access patterns:

  • Supabase: migration files, type generation files, RLS policies
  • Schema files: **/schema.ts, **/schema.sql, **/migrations/**
  • Type files: shared types/interfaces that define data models
  • For each table/entity, extract: table name, columns, relationships, RLS policies, which API routes access it

Read the full file on GitHub · 159 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 159 lines · 0 tokens per session scan A 7323ce541129

Subscribe to this mod's changes

integration-audit is a command published in the GitHub repository eddiebelaval/squire (21 stars, last pushed 22d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,764 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.