Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Honest Tests

    1

    Stop AI coding agents from writing fake tests. An agent skill + CLI that detects tests that can't fail, and proves it with mutation testing.

    Free

    Security scanned
    honest-tests

    honest-tests

    Example session with this skill installed

    Audit the tests in src/checkout and tell me which ones can't actually fail.

    • Read your context and instructions
    • Compiled the honest-tests

    Test honesty audit: src/checkout

    10 of 14 tests can't fail. Mutation score for pricing.ts: 15.4% (22 of 26 mutants survived).

    Confirmed errors

    TestRuleWhy it can't failFix
    pricing.test.ts:39 "computes the discounted price"swallowed-assertionthe catch eats the AssertionError, and 70 is actually wrongdrop the try/catch, expect 80
    checkout.test.ts:12 "qualifies members"asserts-on-mockasserts the value the mock was told to returncall the real checkoutTotal

    Surviving mutants

    • pricing.ts:22 >= → >: no test checks the exact free-shipping threshold (50).

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

    About this skill

    Your AI wrote 200 tests. Many of them can't fail.

    AI-written test suites fail in predictable ways: they assert that a value equals itself, assert on the return value of a mock they just configured, mock the very module under test, wrap assertions in try/catch, or never assert at all. They stay green forever and protect nothing.

    honest-tests teaches your agent to write tests that go red when the behavior they name breaks, and to prove it.

    Two modes

    • Write tests: eight hard rules (never weaken an assertion to pass, expected values come from outside the code under test, mock only boundaries...), then a self-audit before reporting done.
    • Audit tests: a phased procedure: detect with the open-source CLI, verify every finding by reading the test, prove weak tests with mutation testing, and report a headline like "10 of 14 tests can't fail" with a fix for each.

    What it catches (13 rules): tests with no assertions, tautologies (expect(x).toBe(x)), asserting on mocks or on literals the test just built, mocking the unit under test, swallowed or catch-only assertions, matchers that never run, snapshot-only tests, conditional assertions, and leftover .only/.skip.

    Mutation testing makes small deliberate bugs in your source (>= → >, true → false, return x → undefined) on a temporary copy and shows which ones no test notices: concrete, line-level proof of what your suite doesn't check.

    Runs locally. MIT-licensed, open source: github.com/mintwork/honest-tests.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    JavaScript and TypeScript tests only (vitest, jest); pytest support is planned. Mutation testing runs one mutant at a time, so large files take a while; cap runs with --max-mutants. Static rules are heuristics: the skill's Phase 2 verifies each finding before reporting it.

    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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed today

    • Free with an Agensi account

    Software
    Node.js 22+JS/TS project (vitest or jest)@mintwork/honest-tests

    Permissions

    Allowed Hosts

    registry.npmjs.org (npx downloads the @mintwork/honest-tests CLI)

    File Scopes

    Test
    and
    source
    files
    in
    your
    project
    (read)
    A
    temporary
    copy
    of
    the
    for
    mutation
    runs
    (deleted
    afterwards;
    working
    tree
    is
    never
    modified)

    Runs locally. No data leaves your machine apart from downloading the open-source CLI from npm.

    Listedtoday

    What's inside

    Frequently Asked Questions

    No. The audit only reads files, and mutation testing runs on a temporary copy of your project that is deleted afterwards.

    Yes. The skill and the CLI are MIT-licensed open source at github.com/mintwork/honest-tests.

    vitest and jest today. pytest is planned.

    Free