Supercov is an open-source tool developed by Supercorp, positioned as "providing coverage, security, and code quality for coding agents." It tells coding agents what to fix and what to test: it scores code quality, flags security risks with Jev, runs the test commands you already use, and breaks uncovered paths into individual actionable small tasks. The agent picks a target, writes a focused test or makes a focused refactor, proves the improvement, and then moves on to the next round. Supercov only provides coverage signals and evidence; it does not host, schedule, or replace your coding agent.
[Key capabilities]
- Code quality scoring: with no arguments or configuration, it automatically finds source code, asks Jev a set of yes/no questions about each file, and performs the calculation itself, so every part of the score can be checked against the file. You can look only at the parts that triggered questions, read a single file in full, or review a single change. Jev charges only for what it reads, not for writes, at a little over one cent per megabyte of source code; answers are cached by content, so a second run pays only for what changed.
- Security risk checks: it asks twelve security checks per file using the same key, covering injection, secrets in source code, and paths and redirects from requests, among others. Results are not averaged: a file is either clean or explicitly states what was triggered, and when Jev confirms it, gives the line and the code on that line.
- Coverage measurement: starting from your existing test suite,
--Everything after that is your test command, and Supercov runs it without modifying source code, tests, runner configuration, or normal build artifacts. It measures lines, statements, functions, branches, MC/DC independence witnesses, optional chaining, default values, logical assignment paths, try/catch and zero-iteration control-flow paths, and provides per-test traceability when the runner exposes precise test boundaries. The denominator is determined by the source structure before the run, so adding or removing tests will not silently change the meaning of 100%; ambiguous source scope, uninstrumented code, and missing evidence are all shown as completeness blockers. - Assertion coverage: coverage shows which code was executed, while assertion coverage shows which breakages the tests can catch. Supercov asks Jev test by test: would changing each statement that this test executed make the test fail? When the question is the same, the answer is reused across runs, and after a commit only the changed parts are asked again.
- Mutation testing: make small changes to the code (such as changing < to <= or deleting a call) and check whether any test fails. A change that all tests pass indicates that no test is checking this, even if the line is covered. Each language uses mutants from existing tools and compares judgment results against public projects: JavaScript/TypeScript uses StrykerJS (Vitest, Playwright, Jest, node:test, Mocha, AVA, node-tap, bun:test, Vitest Browser Mode), Rust uses cargo-mutants (cargo test, cargo-nextest), Java/Kotlin uses PIT (JUnit 5, JUnit 4, Kotest, Spock, TestNG, with Maven, Gradle, Ant), Python uses mutmut (pytest, python -m unittest), and in the preview stage Go uses Gremlins and Ruby uses mutant. The run process already knows which tests can reach each mutant and which never change its value, so mutants that no test reaches or infects can be judged without running, and the rest are run only against the tests that could kill them. Normal runs cost nothing extra.
- Portable HTML report: generate a private, interactive single-file report that opens in a browser and shows a visual history of up to ten recent runs; selecting a run automatically compares it with the previous snapshot. There is no server, externalresources, account, or file picker. The file is written to .supercov/reports/, and the .gitignore included in that directory excludes it from git, so it can be attached directly to a pull request, and reviewers can download it and double-click to view it.
- GitHub Actions integration: run tests in one step and tell the pull request which changed lines have not been executed by tests; it supports all supported languages, keeps a single comment updated, marks these lines in the diff, and can set a lower bound (such as min-changed-lines: 90) to make the job fail. No account, upload token, or server is required, and the report does not leave the runner.
[How to use]
Paste the prompt into Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, or any coding agent that can execute terminal commands to get started. You can also install the agent skill so that it automatically invokes Supercov when you want to test, check coverage, refactor, or run a security scan; install the plugin in Claude Code, and for other agents that read skills use npx skills add supercorp-ai/supercov. The Claude Code to Gemini CLI extension adds five directly usable commands. Typical loop: the full test suite (Supercov runs in an isolated workspace) -- command after); use short paginated queries to find a useful gap (uncovered files, lines, branches, decisions, value paths, without loading large HTML reports into context); write a focused test (the agent only changes tests, not application code or coverage configuration); rerun and use diff to prove what the new test covers; repeat while useful gaps remain. Failing tests, incomplete evidence, or ambiguous scope stay visible rather than being rounded away.
[Installation] Same version, same binary, multiple entry points: brew install supercorp-ai/tap/supercov; Go projects can use go run github.com/supercorp-ai/supercov/cmd/supercov@latest; pip install supercov-cli and gem install supercov install a wheel or gem carrying the binary for the corresponding platform, with no compilation needed; cargo binstall downloads the same binary from GitHub releases, while a regular cargo install supercov builds from source and requires Rust 1.95. JVM projects have no registry of their own, so take the binary directly: Homebrew as above, npx if Node is already present, or download the platform archive from the latest release; Maven and Gradle are driven as test commands, not plugins, and Supercov only adds the JUnit Platform launcher needed for measurement to build files inside its isolated workspace copy—your pom.xml or build.gradle is never edited.
[Supported languages and test suites] JavaScript, TypeScript, Rust, Python, Ruby, Go, Java, Kotlin. The npx path requires Node.js 22 or newer; other installation methods do not require Node. Rust currently uses Rust 1.95 and supports cargo-nextest 0.9.138 and newer. Python requires CPython 3.9 or newer and measures pytest and unittest runs. Ruby requires Ruby 3.3 or newer (full measurement requires 3.4 or newer) and measures RSpec, Minitest, test-unit, and Cucumber. Go requires Go 1.22 or newer and measures go test. Java and Kotlin require JDK 17 or newer together with Maven or Gradle, and measure all JUnit Platform engines (JUnit 5, JUnit 4 via Vintage, Kotest, Spock) as well as TestNG. Exact per-test attribution is used when an adapter is available; for other supported runners, aggregated structural coverage is reported without guessing which path is covered by which test. Works with Vite, Next, Turbopack, Webpack, esbuild, SWC, and projects with no build step, and a single command can collect evidence from multiple supported runners into one run.
[Supported operating systems and architectures] The CLI is a single native binary, and npx supercov selects the build for the machine it runs on, with nothing compiled during installation. The JavaScript, TypeScript, Python, Ruby, Rust, Go, Java, and Kotlin suites have been verified on Linux, macOS, and Windows; containers, virtual machines, and remote executors run the same Linux build. Each release publishes the same binary to npm, PyPI (supercov-cli, with per-platform wheels), and RubyGems (supercov, with per-platform gems except arm64 Windows, which Ruby does not have), and publishes the source to crates.io (supercov).
[Local, private, zero changes] Everything Supercov writes lives under a hidden .supercov/ directory: run evidence in .supercov/runs/<run-id>/ and isolated build caches in .supercov/workspaces/. It ignores itself in Git, so no .gitignore changes are needed. The CLI does not contact Supercov services during coverage runs; package tools such as npx may access the npm registry to download Supercov when it is not yet cached. It does not rewrite source code, tests, imports, reporter lists, or runner It does not configure, produce dependency trees or normal build artifacts, nor does it take over an existing user-created supercov/ directory. Collection-style output supports --limit and --offset and prints a copyable next-page command; when integration requires it, --json can be used to get machine-readable output.
[Applicable scenarios and limitations] It is suitable for letting coding agents continuously fill in coverage on top of a real test suite, for converting idle agent time into coverage that stays in the repository before a reset or at night, for use as a repeatable quality loop in an automated software factory (the factory handles scheduling, and Supercov gives each agent a bounded next-step task and an immutable record of results), and for attaching a single-file report to a pull request for human review. Limitations: the coverage feature is free and open source, but the Jev calls related to scoring and security/assertions require a TypeSafe AI API key, which the coding agent will usually ask you for; billing is based on the amount of source code read, and after answers are cached you pay only for the changed parts. Supercov itself does not host, schedule, or replace coding agents, nor does it rewrite your project configuration.