testing

testing is a skill for Codex from shinpr/codex-workflows. It costs 36 tokens per session (778 once invoked), scanned A, original, MIT.

A repository-aware guide for testing code, including test-driven development (TDD), where a failing test is written before the implementation. It explains how to choose test boundaries and produce observable proof that behavior works.

In plain words
What is it for?
Use it when writing, reviewing, or fixing tests, especially to select a focused test, verify a behavior change, and run the required wider checks.
Why use it?
It prevents tests from being treated as an afterthought and helps match testing to the repository’s existing commands, fixtures, thresholds, and conventions.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when writing, reviewing, or fixing tests, especially to select a focused test, verify a behavior change, and run the required wider checks.

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

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 testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/shinpr/codex-workflows/testing/github.svg)](https://agentmods.dev/skills/shinpr/codex-workflows/testing)
Your own site
<a href="https://agentmods.dev/skills/shinpr/codex-workflows/testing"><img src="https://agentmods.dev/badge/skills/shinpr/codex-workflows/testing/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 testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/shinpr/codex-workflows/testing"><img src="https://agentmods.dev/badge/skills/shinpr/codex-workflows/testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 778 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00036 $0.00778
Opus 5.5 $0.00014 $0.00311
Sonnet 5.5 $0.00007 $0.00156
Haiku 4.5 $0.00004 $0.00078

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

Security

Grade A, and why

testing 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.

.agents/skills/testing/SKILL.md · 54 lines

How it starts

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

Testing

Tests guarantee accepted behavior, and the next agent reads every existing test as a requirement to preserve. A brittle, duplicated, or implementation-shaped test therefore becomes a false requirement: it gets worked around, and the workaround leaves debt in the implementation. Keep the set of tests whose proof is worth its maintenance.

Reference

Read references/typescript.md only for TypeScript tests in web frontend work, including React, RTL, MSW, and Playwright tests. It does not apply to backend or non-web TypeScript tests.

Governing Sources

Use test commands, thresholds, boundaries, fixtures, and conventions from the repository, task, Work Plan, Design Doc, or test skeleton. When these sources are silent, select the smallest repository-supported proof without introducing a new project-wide default.

Test Selection

  • Prove accepted behavior by default through integration and E2E tests at the boundary users and callers observe. Add a unit test for logic whose cases one representative boundary test cannot prove, such as calculations, parsing, or branching rules.
  • Each behavioral claim is owned by one test: such logic by its unit test, other behavior by the test at the narrowest integration or E2E boundary where it is observable. A test at a wider boundary or in a variant (viewport, device, role) proves what that boundary or variant adds, such as wiring, mapping, persistence, rendering, or navigation, and keeps at most one representative case of a rule owned elsewhere.
  • For non-behavioral work or behavior already proven at the required boundary, use the smallest applicable verification instead of creating duplicate proof. Reuse existing evidence only while it remains valid for the changed behavior. Documentation, pure configuration, and disposable exploration need no new test. A productionized spike must gain tests before completion. Repository-required checks still apply.

Proof Selection

  • Test through the public or externally observable boundary named by the acceptance criterion or proof obligation.
  • Keep a dependency real when that dependency is the boundary under proof; isolate external I/O only when the selected test level permits it.

Read the full file on GitHub · 54 lines

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 Changed · -5 lines · +8 tokens per session 1be3c8c69151
  2. 2mo ago Changed 015b0c14cd0b
  3. 2mo ago Changed 68a62379b11c
  4. 3mo ago First seen · 59 lines · 28 tokens per session scan A 89d20e24e1dd

Subscribe to this mod's changes

testing is a skill published in the GitHub repository shinpr/codex-workflows (42 stars, last pushed 3d ago), licensed MIT. It adds 36 tokens to every session and 778 once invoked, about $0.0001 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-30.

Related

testing compared with skills from other repositories

testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
testingshinpr/codex-workflowsSkill423d agoMITA36Codex
tdde2b-dev/E2BSkill15ktodayApache-2.0A33Codex
django-tddhashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A32Claude Code, Codex
golang-testinghashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A35Claude Code, Codex
laravel-tddhashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A27Claude Code, Codex
setupnizos/tdd-guardSkill2.4k1mo agoMITA39Claude Code
chrome-cdpmattzcarey/shippieSkill2.5k1mo agoMITA91Claude Code, Codex