Works with the AI Agents you already use

    Epistemic Code Critic

    by Scrimal

    1

    Stop your AI from nodding "Great idea!" to broken fixes. Forces a 4-stage falsification check and maps every downstream file that will break (blast_radius.py) before a single line of code is edited.

    $7.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Epistemic Code Critic

    Epistemic Code Critic

    Example session with this skill installed

    I think the 500 error in src/auth/jwt.py is because of the timeout. Increase the timeout to 60s in the production config so we can ship the fix.

    • Read your context and instructions
    • Compiled the epistemic code critic

    Hold on—before touching the production config, I ran blast_radius.py on src/auth/jwt.py and audited your timeout hypothesis.

    Do not bump the timeout.

    Epistemic Review: Auth Service Timeout

    GateVerdictWhy This Saves Your Evening
    Anti-SycophancyREJECTEDRaising the timeout to 60s masks the real bug and will exhaust worker threads under normal traffic.
    FalsificationDISPROVEDHypothesis: "500s are caused by a tight timeout." Reality: logs show immediate ECONNRESET (<15ms) from the Redis pool—the request fails before any timeout is even reached.
    Blast RadiusHIGH (score 5)blast_radius.py found 6 downstream consumers (api/gateway.py, middleware/rbac.py, workers/session.py + 3 more) that inherit this pool config.
    Confidence GateP = 0.18Below the 0.70 evidence threshold. Config edit blocked until the pool leak is fixed.
    $ python scripts/blast_radius.py src/auth/jwt.py
    BLAST RADIUS: HIGH (score 5) | 6 consumer(s) | exit 1
    Direct: api/gateway.py, middleware/rbac.py, workers/session.py
    

    What We Should Do Instead

    1. Fix the unclosed Redis connection pool in src/auth/jwt.py rather than hiding it behind a 60s timeout.
    2. Add a regression test simulating transient ECONNRESET errors across the 6 downstream consumers.
    3. Log the rejected 60s timeout approach as a dead_end node so future agent sessions never try it again.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    You ask your AI: "Should we bump the auth timeout to 60s to fix the 500 errors?" Your AI smiles and says: "Great idea! Let's update the config." Ten minutes later, worker threads are deadlocked, 6 downstream services are failing, and you spend your evening reverting a "fix" that never addressed the real bug.

    AI coding agents are trained to be agreeable—not right. Epistemic Code Critic is the senior engineer in the room who stops the agent before it touches your codebase, disproves bad assumptions, and runs a static dependency scan (scripts/blast_radius.py) to show every file in your repo that will break if you make that edit.

    What Happens Before Any Risky Edit

    • Kills "Yes-Man" Fixes: Automatically challenges symptom-patching prompts (blind retries, timeout bumps, try/except: pass) instead of rubber-stamping them.
    • Proves It Wrong First (Popperian Gate): Forces the agent to state what evidence would disprove your hypothesis and check logs/code before writing a patch—and logs dead ends so future sessions never repeat them.
    • Shows the Real Blast Radius (blast_radius.py): Scans Python, JS/TS, Go, and Rust imports across your repo in milliseconds to count every direct and transitive consumer (LOW → CRITICAL), so you never break 6 files while fixing 1.
    • Hard Stop on Irreversible Actions: Blocks schema migrations, force-pushes, and release tags whenever evidence falls below the 0.70 confidence threshold.
    • Zero Noise on Trivial Edits: Triggers full 4-gate scrutiny on refactors, auth/security code, and debugging loops while staying completely out of your way on typo or doc fixes.

    What's Inside

    1. SKILL.md — Risk-tiered 4-gate review protocol (Premise Audit, Falsification, Blast Radius, Reversibility Gate).
    2. scripts/blast_radius.py — Zero-dependency static consumer & impact scanner for Python, JS/TS, Go, and Rust (exit 0 safe, 1 high, 2 critical).
    3. references/review_protocol.md — Confidence scoring rubric (0.0–1.0), irreversibility checklist, and a SPINE-Memory dead_end node template.

    Static dependency scanning relies on regex import and path matching rather than full compiler AST resolution, and ignores files over 512 KB or inside vendor/build directories.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 2 days ago

    Software
    Python 3.10+Git

    Zero external dependencies or network requests. The 4-gate epistemic protocol works standalone in any chat or IDE; the included blast_radius.py scanner runs locally using standard library modules only.

    Permissions

    Read Files
    Terminal / Shell

    File Scopes

    scripts/**
    references/**

    Read Files inspects source files and references/ rubrics; Terminal / Shell executes blast_radius.py locally to map downstream file consumers.

    Listed4 days ago
    Updated2 days ago

    What's inside

    Frequently Asked Questions

    This skill prevents 'AI sycophancy' by forcing the agent to mathematically validate its reasoning using Bayesian logic and attempt to disprove its own solution before applying it. It ensures your agent doesn't just agree with your mistakes or apply shallow patches to deep architectural issues.

    It is designed to work with any major AI coding environment, including Claude Code, Cursor, Windsurf, and pi. It is language-agnostic and excels in complex environments involving CI/CD, database schemas, and large-scale refactors.

    The skill functions as a logic layer that intercepts non-trivial requests; it automatically skips low-stakes tasks like typo fixes or simple documentation updates to ensure your development velocity isn't hindered for trivial changes.

    You receive SKILL.md (the 4-gate epistemic review protocol), scripts/blast_radius.py (a zero-dependency static dependency and impact analyzer across Python, JS/TS, Go, and Rust with exit codes 0/1/2), references/review_protocol.md, and references/spine_patch.md for logging falsified paths as dead_end nodes. All future updates to the skill are included at no extra cost.

    It only needs read access to the source files you ask it to review and terminal access when running the local blast_radius.py scanner. It makes zero network requests and never sends your code to external servers; if evidence falls below the 0.7 confidence threshold, it halts execution rather than guessing.

    New in Code Quality & Review

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.