audit-pipeline-quickstart

audit-pipeline-quickstart is an agent for coding agents from DNYoussef/context-cascade. It costs 0 tokens per session (1,491 once invoked), scanned A, original, MIT.

An agent workflow that runs three audits on a software project: finding fake or unfinished code, testing functionality, and checking coding style. A mock or stub is placeholder code that does not perform the real job.

In plain words
What is it for?
Use it to inspect a new release, harden a prototype, clean up legacy code, or prepare a feature branch for review.
Why use it?
It helps expose unfinished prototype code, functional defects, and quality problems before production deployment or code review.

Agent

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.

agentmods
npx agentmods add agents/dnyoussef/context-cascade/audit-pipeline-quickstart
Clone the repo
git clone --depth 1 https://github.com/DNYoussef/context-cascade

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 audit-pipeline-quickstart

README.md
[![agentmods](https://agentmods.dev/badge/agents/dnyoussef/context-cascade/audit-pipeline-quickstart.svg)](https://agentmods.dev/agents/dnyoussef/context-cascade/audit-pipeline-quickstart)
Your own site
<a href="https://agentmods.dev/agents/dnyoussef/context-cascade/audit-pipeline-quickstart"><img src="https://agentmods.dev/badge/agents/dnyoussef/context-cascade/audit-pipeline-quickstart.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,491 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.01491
Opus 5 $0.00000 $0.00745
Sonnet 5 $0.00000 $0.00298
Haiku 4.5 $0.00000 $0.00149

Measured 4d ago against content hash f47816365d51, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

audit-pipeline-quickstart 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.

docs/agents/audit-pipeline-quickstart.md · 226 lines

How it starts

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

Audit Pipeline - Quick Start

🚀 One Command to Production-Ready Code

/audit-pipeline

That's it! This runs all 3 phases automatically:

  1. Theater Detection - Find all mocks/fakes
  2. Functionality - Test everything (with Codex auto-fix)
  3. Style - Polish to production standards

📊 The 3 Phases

Phase What It Does Time Can Run Alone
1. Theater Find mocks, TODOs, stubs 2-5 min /theater-detection-audit
2. Functionality Test + Codex auto-fix 5-15 min /functionality-audit
3. Style Lint + refactor + polish 3-10 min /style-audit

Total: ~15-30 min for medium project

💡 Common Use Cases

Pre-Production Deployment

/audit-pipeline "Pre-production quality gate for v2.0 release"

After Rapid Prototyping

/audit-pipeline "Harden prototype code for production"

Legacy Code Cleanup

/audit-pipeline "Modernize legacy authentication module"

Before Code Review

/audit-pipeline "Clean up feature branch before PR"

🎯 What You Get

Before

def get_user(id):
    return {"id": 123, "name": "Test"}  # FAKE DATA - TODO: real DB

After Phase 1 (Theater Detected)

⚠️ Theater found: Hardcoded test data in get_user()
→ Needs: Real database query implementation

After Phase 2 (Functionality + Codex)

def get_user(user_id):
    with get_db_connection() as conn:
        result = conn.execute("SELECT * FROM users WHERE id=?", (user_id,))
        if not result:
            raise UserNotFoundError(f"User {user_id} not found")
        return {"id": result[0], "name": result[1]}

✅ Tested in sandbox, Codex fixed 2 edge cases

After Phase 3 (Style Polish)

def get_user(user_id: int) -> Dict[str, Any]:
    """
    Fetch user from database by ID.

    Args:
        user_id: Unique user identifier

    Returns:
        User data dictionary

    Raises:
        UserNotFoundError: If user doesn't exist
    """
    logger.debug(f"Fetching user {user_id}")

    with get_db_connection() as conn:
        cursor = conn.cursor()
        cursor.execute(
            "SELECT id, name, email FROM users WHERE id = ?",
            (user_id,)
        )
        result = cursor.fetchone()

        if not result:
            raise UserNotFoundError(f"User {user_id} not found")

        return {
            "id": result[0],
            "name": result[1],
            "email": result[2]
        }

✅ Production-ready with types, docs, logging, validation!

Read the full file on GitHub · 226 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 · 226 lines · 0 tokens per session scan A f47816365d51

Subscribe to this mod's changes

audit-pipeline-quickstart is an agent published in the GitHub repository DNYoussef/context-cascade (33 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,491 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-08-30.