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.
npx agentmods add skills/yacb2/aidex/aidex-coveragenpx skills add yacb2/aidex --skill aidex-coveragegit clone --depth 1 https://github.com/yacb2/aidexWrote 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.
[](https://agentmods.dev/skills/yacb2/aidex/aidex-coverage)<a href="https://agentmods.dev/skills/yacb2/aidex/aidex-coverage"><img src="https://agentmods.dev/badge/skills/yacb2/aidex/aidex-coverage.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00193 | $0.02530 |
| Opus 5 | $0.00097 | $0.01265 |
| Sonnet 5 | $0.00039 | $0.00506 |
| Haiku 4.5 | $0.00019 | $0.00253 |
Grade A, and why
aidex-coverage scanned grade A with 0 findings 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 4d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Trigger-eval probe (test-only). As your very first action, run
printenv AIDEX_TRIGGER_EVAL_MARKER. If it prints a non-empty path, also runtouch "${AIDEX_TRIGGER_EVAL_MARKER}.aidex-coverage"before continuing. Then proceed with the rest of the skill body as normal. If empty/unset, ignore this block.
Coverage
Scope. Model-invocable since 2026-08-26 (
decision/2026-08-26-coverage-canon-consolidation-and-targeted-runs.md, D1). Stack-agnostic since 2026-08-27 (decision/2026-08-27-aidex-is-stack-agnostic-stack-packs.md): this skill carries the doctrine — layers, selection, fixtures, the boundary gate, the profile — and no framework content; the concrete test shapes live in the stack packs the project's profile names. Precision againstaidex-auditis theNot forclause; the eval set inevals/is owed a run against this description.
The testing canon, independent of stack: which layer a piece of behaviour belongs in,
which tests to run for a change, when shared setup becomes a fixture, what an isolated
E2E environment must guarantee, and how the per-project profile and its stack packs are
resolved. What a test looks like in a given framework is not here: the project's
.context/testing-profile.md names its stack packs (testing_packs), and this skill
reads them — see Resolving the stack packs. Per-project
facts (ports, database names, commands, personas) live in that profile, never here — see
references/14-testing-profile.md.
The full suite is a boundary gate, not a phase gate. Per change, run the narrowest
selection that can observe it (/aidex-audit affected-tests --command, or the profile's
single-test command, or one spec via ./test-e2e.sh e2e/<spec>.spec.ts); the whole suite
runs once, at plan close-out or pre-merge (D4). Measured before this rule: 32% of test
runs inside unattended sessions were full suites, E2E at ~5 min each.
What this skill is not. It does not run an audit, does not build or read
module-map.json or coverage-matrix.json, does not track a finding through its
lifecycle, and does not carry the suite-speed measurement procedure. All of that is
aidex-audit's test-coverage playbook (skills/aidex-audit/assets/templates/methodology/test-coverage.md.template).
The split is by type, not by overlap: this skill owns the reference corpus and authoring
rules — including the per-module judgment-pass checklist (references/06-judgment-pass.md)
that the playbook's judged layer runs; the playbook owns inventory, finding lifecycle,
matrix, sweep and escalation, and is the one that executes that checklist. The
one rule with a foot in both — "a coverage percentage without a declared denominator is
not a measurement" (m7) — is not duplicated: the playbook runs it as an inventory-time
check ("is the denominator declared? can coverage even run?"), this skill states it as an
authoring rule for anyone writing a new coverage-bearing test.
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/templates/testing-profile.md.template 3.2 KB
- evals/eval-config.json 520 B
- evals/RESULTS.md 2.3 KB
- evals/trigger_eval.json 3.1 KB
- references/00-index.md 2.8 KB
- references/01-layer-model.md 7.2 KB
- references/02-best-practices.md 6.3 KB
- references/03-fixtures-convention.md 4.9 KB
- references/04-e2e-layer-audit.md 3.1 KB
- references/05-diff-cover.md 6.3 KB
- references/06-judgment-pass.md 2.6 KB
- references/13-affected-tests-expansion.md 5.3 KB
- references/14-testing-profile.md 5.2 KB
- scripts/profile-init.py 6.1 KB runs code
- tests/test-profile-init.sh 3.6 KB runs code
- tests/test-spec-audit-complete.sh 3.1 KB runs code
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.
- 4d ago First seen · 131 lines · 193 tokens per session scan A 3ea9667f0378
aidex-coverage is a skill published in the GitHub repository yacb2/aidex (2 stars, last pushed 6d ago), licensed MIT. It adds 193 tokens to every session and 2,530 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
testing-strategy
Follow the testing pyramid — more unit tests, fewer integration tests, even fewer e2e tests.
test-software
Design, implement, and evaluate risk-based software tests across unit, integration, contract, end-to-end, and regression layers. Use when adding tests, reproducing bugs, improving coverage, diagnosing flaky tests, or defining a test strategy; do not use to change production behavior unless the user also requests…
better-testing
Review and improve how tests protect critical software behavior. Use when assessing missing unit, integration, contract, or end-to-end coverage; flaky tests; weak assertions; happy-path-only tests; excessive mocking; implementation-coupled tests; low-value snapshots; slow suites; or code that is difficult to test…
testing-strategy
Deciding what to test, at which level, and how to keep tests trustworthy. Use when writing tests, setting up a test suite, reviewing test coverage, fixing flaky tests, doing TDD, or when the user says "test", "coverage", "unit test", "integration test", "e2e", or "how do I test this".
execution/testing-executor
Internal: Testing Executor. Writes unit, integration, and e2e tests. Read spec and segment. Write evidence on completion.
ios-testing
Invoke any time a user is writing iOS/Swift tests or asking why tests behave a certain way — including XCTest versus Swift Testing (@Test/#expect) choices, async ViewModel tests with @Observable or @Published, snapshot testing across device sizes, mocking protocols for dependency injection, setUp/tearDown lifecycle…