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 skills add Phelan164/codex-howto --skill test-softwaregit clone --depth 1 https://github.com/Phelan164/codex-howtoWrote 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/phelan164/codex-howto/test-software)<a href="https://agentmods.dev/skills/phelan164/codex-howto/test-software"><img src="https://agentmods.dev/badge/skills/phelan164/codex-howto/test-software/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.
<a href="https://agentmods.dev/skills/phelan164/codex-howto/test-software"><img src="https://agentmods.dev/badge/skills/phelan164/codex-howto/test-software.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00065 | $0.00382 |
| Opus 5.5 | $0.00026 | $0.00153 |
| Sonnet 5.5 | $0.00013 | $0.00076 |
| Haiku 4.5 | $0.00006 | $0.00038 |
Grade A, and why
test-software 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 1mo 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.
What it actually says
Test Software
Test contract
- Define the behavior, invariant, or defect before selecting a test layer.
- Use the lowest layer that observes the risk without hiding the integration boundary under test.
- Test behavior rather than private implementation details.
- Avoid snapshots that hide meaningful assertions.
- Do not mock the component whose integration contract is under test.
- Control time, randomness, concurrency, and external dependencies explicitly.
- Keep fixtures minimal and readable.
- Do not “fix” flaky tests by adding blind retries or sleeps.
- Do not claim a regression test without proving it fails against the broken behavior when feasible.
- Treat tests as potentially state-changing: they may write databases, queues, files, snapshots, browsers, or external sandboxes.
- Do not run tests against production, shared customer data, or external services without explicit authorization and a verified isolation strategy.
- Stop when the configured test target or cleanup behavior is ambiguous.
Execute and report
Read references/test-strategy.md when choosing test layers or specialized methods, investigating flakes, or planning cross-service coverage.
Build deterministic fixtures, implement the smallest high-value set, and run focused tests repeatedly before broader required checks. Separate product, test, and environment failures.
For a strategy request, return:
- risks in priority order;
- proposed test layer for each risk;
- fixtures and dependencies;
- commands to run;
- coverage intentionally deferred.
For implementation, report focused and broader checks separately.
What ships with it
2 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.
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.
- 1mo ago First seen · 45 lines · 65 tokens per session scan A 72bc9a51a8ac
test-software is a skill published in the GitHub repository Phelan164/codex-howto (14 stars, last pushed yesterday), licensed MIT. It adds 65 tokens to every session and 382 once invoked, about $0.0003 per session on Opus 5.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
codexkit-test-hardening
Strengthen test coverage around changed behavior, edge cases, and regressions without writing noisy or brittle tests.
Test Strategy
How to decide what to test at what level — the test pyramid, risk-based coverage, and matching test depth to change risk.
Android Testing
JUnit + Robolectric unit tests, Compose UI tests, screenshot tests, and Espresso for legacy views.
iOS Testing
XCTest unit tests, XCUITest UI tests, snapshot testing, and performance baselines for iOS apps.
Spring Test Pyramid
Unit, integration, slice, and E2E test patterns for Spring Boot applications.
unit-test-starter
Generate starter unit tests for a small function or module. Use when a junior developer needs test scaffolding and edge cases.