test-software

test-software is a skill for Codex from Phelan164/codex-howto. It costs 65 tokens per session (382 once invoked), scanned A, original, MIT.

A software-testing workflow for choosing, writing, running, and evaluating tests at levels such as unit, integration, contract, and end-to-end. TDD, or test-driven development, is not specifically required here.

In plain words
What is it for?
Use it when adding tests, reproducing bugs, improving coverage, investigating flaky tests, or planning testing across services.
Why use it?
It helps match each risk to an appropriate test while avoiding misleading snapshots, uncontrolled dependencies, unsafe test targets, and blind retries for flaky tests.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when adding tests, reproducing bugs, improving coverage, investigating flaky tests, or planning testing across services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phelan164/codex-howto/test-software
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 Phelan164/codex-howto --skill test-software
Clone the repo
git clone --depth 1 https://github.com/Phelan164/codex-howto

Made for: 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 test-software

README.md
[![agentmods](https://agentmods.dev/badge/skills/phelan164/codex-howto/test-software/github.svg)](https://agentmods.dev/skills/phelan164/codex-howto/test-software)
Your own site
<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.

agentmods 80×15 button for test-software

Your own site · 80×15
<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>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 382 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00065 $0.00382
Opus 5.5 $0.00026 $0.00153
Sonnet 5.5 $0.00013 $0.00076
Haiku 4.5 $0.00006 $0.00038

Measured 1mo ago against content hash 72bc9a51a8ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/test-software/SKILL.md · 45 lines

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:

  1. risks in priority order;
  2. proposed test layer for each risk;
  3. fixtures and dependencies;
  4. commands to run;
  5. coverage intentionally deferred.

For implementation, report focused and broader checks separately.

Files

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.

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. 1mo ago First seen · 45 lines · 65 tokens per session scan A 72bc9a51a8ac

Subscribe to this mod's changes

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.