Works with the AI Agents you already use

    agentic dead rules detector

    by Gabe

    2

    Test coding agent instructions through controlled experiments to identify useless or broken rules with statistical evidence.

    $13.37

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    agentic dead rules detector

    agentic dead rules detector

    Example session with this skill installed

    I want to see if the 'no-comments' rule in AGENTS.md actually stops the agent from adding comments, or if it's dead weight. Set up a plan for 10 runs per arm at $0.05 per run with a $2 cap.

    • Read your context and instructions
    • Compiled the agentic dead rules

    I have initialized the experiment plan to test the 'no-comments' rule impact.

    Experiment Plan: No-Comments Rule Detection

    PhaseRuns (Baseline)Runs (No-Rule Arm)Total RunsEst. Cost
    Smoke112$0.10
    Pilot224$0.20
    Main101020$1.00
    Total131326$1.30

    Budget Status: The estimated total of $1.30 is within your $2.00 cap.

    Next steps

    1. Review the task.md created in the lab folder to ensure the prompt triggers comment generation.
    2. Provide a "bad fixture" (code with comments) to the fixtures/ directory for verifier rehearsal.
    3. Approve the budget of $1.30 by typing "Approve $1.30" to begin the smoke tests.

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

    About this skill

    Stop guessing whether your agent instructions actually work. Every developer has a "rules" file bloated with instructions that the agent ignores, or worse, rules that conflict and cause silent failures. This skill provides a rigorous, data-driven method to identify "dead rules" and prove which instructions actually improve model performance.

    What it does

    • Rule Isolation tests specific instruction variants (arms) against a baseline to measure their actual impact on task success.
    • Automated Verification runs a hidden "verifier" command that the agent never sees to judge output without bias.
    • Budget Enforcement calculates estimated API costs and enforces a hard spend cap before any sessions execute.
    • Statistical Reporting generates reports with 95% Wilson intervals to distinguish between actual improvements and random noise.
    • Regression Testing uses "bad fixtures" to prove the verifier can actually catch the mistakes the rule is meant to prevent.

    How it works

    1. Identify the mistake by analyzing git logs or bug reports where the current instructions failed to prevent a specific error.
    2. Setup the lab by creating a task.md, defining instruction variants, and writing a verifier script in a dedicated folder.
    3. Rehearse the verifier against known good and bad fixtures to ensure it correctly identifies the target mistake.
    4. Execute phases starting with smoke and pilot runs to verify costs before committing to a full-scale experiment.
    5. Generate report using the included script to analyze pass rates and produce a final recommendation for the instruction.

    Frameworks & tools

    The core logic resides in a standalone Node.js script (dead-rules.mjs) using the standard library. It integrates with any headless agent harness such as claude -p, codex exec, or gemini -p.

    Why this beats prompting it yourself

    Prompting an agent to "check if this rule is good" results in hallucinations and confirmation bias. This skill treats instructions like code, using controlled experiments and held-out test cases to provide objective evidence before you modify your system prompts.

    Use cases

    • Instruction Pruning to remove rules that have no measurable effect on agent success rates.
    • Bug Fix Validation to prove that adding a specific rule prevents a recurring logic error.
    • Refactoring to determine if moving a rule into a type definition or linting rule is more effective than a text prompt.
    • Model Upgrades to test if existing instructions are still necessary when moving to a newer, more capable model.

    Known limitations

    Requires Node.js 18 or later. Does not provide a sandbox environment; isolation depends on the user's agent harness or external containers. Requires a manual spend approval step.

    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 12 days ago

    Software
    Node.js 18 or laterGit

    All you need to use this skill is a coding agent that can start fresh sessions on its own & planning and verifier rehearsal cost nothing. Each run is a real agent session billed to your own agent or model account.

    Permissions

    Read Files
    Write Files
    Terminal / Shell
    Network Access

    The terminal runs Node, git, your verifier, and new agent sessions. File reads and writes build the lab folder, the run copies, and the report. Network access is only for the model calls your own agent makes in each run; the script itself makes no network calls and reads no environment variables.

    Listed12 days ago

    What's inside

    Frequently Asked Questions

    The skill uses a multi-arm bandit approach to test different versions of your instructions against a baseline. It generates statistical reports with 95% confidence intervals, proving whether a rule actually reduces errors or is just "dead weight" that wastes your context window.

    The skill is a standalone Node.js tool designed to work with any headless agent harness (like Claude, Gemini, or ChatGPT CLI). As long as your agent can be executed via a terminal command, the Dead Rules Detector can orchestrate the experiments.

    You receive the core `dead-rules.mjs` execution script, a set of template folders for experiments, and a reporting utility. It also includes documentation on how to write 'bad fixtures' to verify your test scripts before running live API calls.

    No, this is a local development tool. It includes a built-in Budget Enforcement feature that calculates estimated API costs and requires your manual approval for a spend cap before any sessions are initiated, ensuring you never face unexpected billing.

    While the skill includes the core logic for rule isolation and reporting, it does not provide a sandbox. For safety and isolation, we recommend running the detector within your own Docker containers or a restricted shell environment.

    It is ideal for Instruction Pruning to clean up bloated prompts, Bug Fix Validation to ensure a new rule prevents specific recurring errors, and testing if existing rules are still necessary after upgrading to a more capable model.

    New in Prompt & Skill Engineering

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.