engineering-audit

engineering-audit is a command for Claude Code from Fmarzochi/EGC. It costs 0 tokens per session (939 once invoked), scanned A, original, Apache-2.0.

A read-only check of a software project’s overall engineering health, covering areas such as security, tests, documentation, code quality, and builds. It gives the project a score, ranks problems by urgency, and suggests how to fix them.

In plain words
What is it for?
Use it to assess an unfamiliar codebase, find high-priority engineering issues, or create a practical cleanup plan before making changes.
Why use it?
It gives developers a broad view of risks and maintenance problems without changing their files. Focus and quick-scan options help narrow the review or reduce its runtime.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to assess an unfamiliar codebase, find high-priority engineering issues, or create a practical cleanup plan before making changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fmarzochi/egc/engineering-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/Fmarzochi/EGC

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 engineering-audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/fmarzochi/egc/engineering-audit/github.svg)](https://agentmods.dev/commands/fmarzochi/egc/engineering-audit)
Your own site
<a href="https://agentmods.dev/commands/fmarzochi/egc/engineering-audit"><img src="https://agentmods.dev/badge/commands/fmarzochi/egc/engineering-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for engineering-audit

Your own site · 80×15
<a href="https://agentmods.dev/commands/fmarzochi/egc/engineering-audit"><img src="https://agentmods.dev/badge/commands/fmarzochi/egc/engineering-audit.svg" alt="Reviewed on agentmods" width="80" 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 939 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.00939
Opus 5 $0.00000 $0.00469
Sonnet 5 $0.00000 $0.00188
Haiku 4.5 $0.00000 $0.00094

Measured 6d ago against content hash 2b5d42b8e6e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

engineering-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 6d 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/engineering-audit.md · 126 lines

How it starts

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

Engineering Audit

Input: $ARGUMENTS

Runs a full engineering health assessment of the current project. Produces an Engineering Score (0–10), a ranked issue list (CRITICAL / HIGH / MEDIUM / LOW), and a concrete remediation plan.

This command NEVER modifies files. Use /engineering-fix to apply corrections after reviewing the plan.


Argument Handling

Parse $ARGUMENTS:

Argument Behavior
--threshold <N> Only report issues where score < N (e.g. --threshold 7 shows scores below 7)
--focus <dimension> Run only one dimension (e.g. --focus security, --focus complexity)
--quick Skip slow checks (coverage, duplicate detection): fast scan only
blank Full audit, all dimensions

Execution

Step 1: Detect Project

ls package.json tsconfig.json pyproject.toml go.mod Cargo.toml 2>/dev/null

Identify: Node/TypeScript, Python, Go, Rust, or mixed. Adjust tool selection accordingly.

Step 2: Run Audit

Invoke the engineering-auditor agent with the project context and parsed arguments.

The agent will:

  1. Collect metrics across all 12 dimensions (or the focused dimension if --focus was passed)
  2. Score each dimension 0–10
  3. Compute the weighted Engineering Score
  4. Rank all findings: CRITICAL → HIGH → MEDIUM → LOW

Step 3: Display Report

Print the full report:

═══════════════════════════════════════════════
  ENGINEERING AUDIT: <project name>
  <timestamp>
═══════════════════════════════════════════════

Engineering Score: X.X / 10

  Maintainability  X.X  [████████░░]
  Security         X.X  [█████████░]
  Testing          X.X  [██████░░░░]
  Architecture     X.X  [████████░░]
  Documentation    X.X  [█████░░░░░]
  Lint Health      X.X  [█████████░]
  Type Safety      X.X  [████████░░]
  Build Health     X.X  [██████████]

───────────────────────────────────────────────
CRITICAL  (N)
───────────────────────────────────────────────
  ▸ [file:line] description
    Root cause: ...
    Fix: Extract Method: split into X and Y

HIGH  (N)
───────────────────────────────────────────────
  ▸ [file:line] description

MEDIUM  (N)
───────────────────────────────────────────────
  ▸ [file:line] description

LOW  (N)
───────────────────────────────────────────────
  ▸ [file:line] description

───────────────────────────────────────────────
To apply fixes: /engineering-fix
───────────────────────────────────────────────

Read the full file on GitHub · 126 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. 6d ago First seen · 126 lines · 0 tokens per session scan A 2b5d42b8e6e4

Subscribe to this mod's changes

engineering-audit is a command published in the GitHub repository Fmarzochi/EGC (49 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 939 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.