codecov

codecov is a skill for Claude Code, Codex from alunduil/alunduil-chezmoi. It costs 63 tokens per session (816 once invoked), scanned A, original, 0BSD.

Codecov data lookup guide for checking test results and code coverage. Codecov is a service that records how much code tests exercise and which tests fail or behave inconsistently.

In plain words
What is it for?
Use it to investigate flaky or failed tests and check coverage for a branch, pull request, file, or commit.
Why use it?
It provides failure history, stack traces, flaky-test signals, and coverage data when the Codecov website cannot be used directly. This helps distinguish a real regression from an intermittent test problem.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate flaky or failed tests and check coverage for a branch, pull request, file, or commit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alunduil/alunduil-chezmoi/codecov
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.

Any agent
npx skills add alunduil/alunduil-chezmoi --skill codecov
Clone the repo
git clone --depth 1 https://github.com/alunduil/alunduil-chezmoi

Made for: Claude Code, Codex.

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 codecov

README.md
[![agentmods](https://agentmods.dev/badge/skills/alunduil/alunduil-chezmoi/codecov/github.svg)](https://agentmods.dev/skills/alunduil/alunduil-chezmoi/codecov)
Your own site
<a href="https://agentmods.dev/skills/alunduil/alunduil-chezmoi/codecov"><img src="https://agentmods.dev/badge/skills/alunduil/alunduil-chezmoi/codecov/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codecov

Your own site · 80×15
<a href="https://agentmods.dev/skills/alunduil/alunduil-chezmoi/codecov"><img src="https://agentmods.dev/badge/skills/alunduil/alunduil-chezmoi/codecov.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 816 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00063 $0.00816
Opus 5 $0.00032 $0.00408
Sonnet 5 $0.00013 $0.00163
Haiku 4.5 $0.00006 $0.00082

Measured 11d ago against content hash b7248833795b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

codecov scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`https://api.codecov.io` base. Don't shell out to `curl` directly.
dot_claude/skills/codecov/SKILL.md · 88 lines

How it starts

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

Codecov

Auth is already in env — dot_bashrc exports CODECOV_API_TOKEN. The codecov-api wrapper in ~/.local/bin/ injects auth + the https://api.codecov.io base. Don't shell out to curl directly.

Triggers

  • "Is <test> flaky?" / "What's its failure rate?"
  • "Show failed tests on <branch> recently."
  • "Why is <test> failing?" (stack trace lookup)
  • "What's the coverage delta on this PR / file / branch?"
  • Any Codecov UI URL behind the login wall.

Repo coordinates

Most paths take {service}/{owner}/{repo} where service is one of github, gitlab, bitbucket (no .com). Derive from the current checkout via git remote get-url origin.

REST — flaky / failed tests

GET /api/v2/{service}/{owner}/repos/{repo}/test-results/

Verified query parameters:

  • branch — filter by branch name
  • commit_id — filter by commit SHA
  • outcomepass | failure | skip | error
  • duration_min / duration_max — seconds
  • page / page_size — pagination
codecov-api "/api/v2/github/<owner>/repos/<repo>/test-results/?branch=main&outcome=failure&page_size=100"

Detail (stack trace, etc.):

codecov-api "/api/v2/github/<owner>/repos/<repo>/test-results/<id>/"

REST has no flake_rate filter and no test-name filter. For a ranked flake answer, paginate outcome=failure, group by name, divide by total runs of that name (separate call without outcome), or use GraphQL.

GraphQL — ranked flake aggregates

POST /graphql/ is the same wrapper:

codecov-api /graphql/ \
  -X POST -H 'Content-Type: application/json' \
  -d '{"query":"...","variables":{...}}'

Schema entry points worth knowing: repository.testAnalytics.testResults, repository.testAnalytics.flakeAggregates. When in doubt, fetch the schema ({ __schema { types { name } } }) and read it.

Coverage queries

The full v2 swagger lives at https://api.codecov.io/api/v2/docs/ — consult it for commits/, report/, pulls/{id}/, compare/ endpoints rather than memorising paths. All take the same {service}/ {owner}/{repo} prefix and the same auth.

Read the full file on GitHub · 88 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. 11d ago First seen · 88 lines · 63 tokens per session scan A b7248833795b

Subscribe to this mod's changes

codecov is a skill published in the GitHub repository alunduil/alunduil-chezmoi (2 stars, last pushed today), licensed 0BSD. It adds 63 tokens to every session and 816 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

speeding-up-laravel-tests

Use when Laravel/Pest test suites are slow, CI duration is growing, individual tests take seconds, or the user asks to speed up, optimize, or profile tests. Covers factories, fakes, config caching, XDebug/pcov, BCRYPTROUNDS, LazilyRefreshDatabase, and stray HTTP requests.

freekmurze/dotfiles · 72 tokens

test-code

Testing philosophy, test types (unit, integration, golden, fuzz, property, benchmark, smoke, E2E), per-language conventions (Rust, Go, Python, TypeScript), file organization, fixtures/mocks, CI strategy, and what NOT to test. Use when writing tests, reviewing test coverage, setting up test infrastructure, or deciding…

urmzd/dotfiles · 101 tokens

mise

Configure pinned mise tools and canonical install, format, check, test, build, and watch tasks shared by hooks and CI.

fmind/dotfiles · 27 tokens

testing-conventions

Test conventions across this portfolio — regression-test comment format, property-test setup for TS and Python, the financial-math arbitrary settings that were tuned by measurement, and why a failing check may be pinning a defect rather than reporting one. Load before writing tests, adding a regression test to a bug…

w2ur/claude-code-setup · 81 tokens

test-driven-development

Implement an isolated bug fix or behavior change with an honest red-green-refactor cycle. Use when a regression test should fail before the fix, or when refactors or seams must prove correctness.

fmind/dot · 42 tokens

playwright

Drive browsers with Python Playwright for end-to-end tests, screenshots, traces, and code generation. Use for browser automation or e2e testing.

fmind/dot · 33 tokens