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 commands/osmantic/ods/test-coveragegit clone --depth 1 https://github.com/Osmantic/ODSWhat 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.00000 | $0.03856 |
| Opus 5 | $0.00000 | $0.01928 |
| Sonnet 5 | $0.00000 | $0.00771 |
| Haiku 4.5 | $0.00000 | $0.00386 |
Grade A, and why
test-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 2d 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 — 485 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Coverage Updater
Analyze current test coverage, identify gaps, and write missing tests to improve coverage across both Shell (BATS) and Python (pytest) test suites.
Arguments
$ARGUMENTS- Options to control scope and behavior:--type=shell|python|dashboard|all- Test type to focus on (default:all)--target=N- Coverage percentage target for Python (default:80); shell uses structural coverage--module=<name>- Restrict to a specific module (e.g.,tier-map,helpers,routers.setup)--dry-run- Analyze gaps and report plan without writing tests--fix- Fix failing existing tests before writing new ones
Test Type Definitions
| Type | Location Pattern | What It Tests | Run Command |
|---|---|---|---|
| Shell unit (BATS) | tests/bats-tests/<lib>.bats |
Installer lib functions in isolation | bats tests/bats-tests/<lib>.bats |
| Shell integration | tests/test-<feature>.sh |
Multi-module shell interactions | bash tests/test-<feature>.sh |
| Shell contract | tests/contracts/test-*.sh |
Installer contract assertions | bash tests/contracts/test-*.sh |
| Shell smoke | tests/smoke/<platform>.sh |
Platform-specific end-to-end | bash tests/smoke/<platform>.sh |
| Python unit | dashboard-api/tests/test_<module>.py |
FastAPI routers, helpers, security | pytest tests/test_<module>.py |
| Dashboard UI | dashboard/src/**/*.test.* |
React component tests (if present) | npm test (in dashboard/) |
Philosophy: Ask Early, Ask Often
This skill should liberally use AskUserQuestion at decision points. Test coverage involves tradeoffs between speed and thoroughness. Validate priorities rather than guessing what the user wants covered.
- Before writing tests — confirm which modules to prioritize
- When gaps are large — ask where to focus effort first
- After coverage run — ask about iteration vs stopping
- When source code looks buggy — ask before fixing vs just testing
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.
- 2d ago First seen · 485 lines · 0 tokens per session scan A e4b085bbdfcf
test-coverage is a command published in the GitHub repository Osmantic/ODS (5,145 stars, last pushed 2d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 3,856 tokens. 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-30.
Other commands, from other repositories
resume-workflow
Resume workflow execution from current branch context.
start-development
Start development workflow process in Moira.
finish-feature
Start feature completion workflow in Moira.
text-to-3d
Generate a static textured GLB from one subject description, locally.
triage
Triage Linear issue with comprehensive analysis.
domains
Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.