molyanov-ai-dev: Skill for Codex

.codex/skills/test-master/SKILL.md

test-master is a skill for Codex from pavel-molyanov/molyanov-ai-dev. It costs 63 tokens per session (684 once invoked), scanned A, original, MIT.

A testing guide that chooses, writes, and reviews tests around observable behavior—the results users or other systems can actually see.

In plain words
What is it for?
Use it to plan a test strategy, write tests, review existing tests, or decide whether a risk belongs in a unit, integration, end-to-end, or smoke test.
Why use it?
It helps avoid testing irrelevant implementation details and places each test at the smallest boundary that can reliably catch the problem.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions Codex.

This is pavel-molyanov/molyanov-ai-dev's own configuration. It tells Codex how to work on molyanov-ai-dev itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything molyanov-ai-dev configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pavel-molyanov/molyanov-ai-dev. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pavel-molyanov/molyanov-ai-dev/main/.codex/skills/test-master/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pavel-molyanov/molyanov-ai-dev

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-master

README.md
[![agentmods](https://agentmods.dev/badge/skills/pavel-molyanov/molyanov-ai-dev/test-master/github.svg)](https://agentmods.dev/skills/pavel-molyanov/molyanov-ai-dev/test-master)
Your own site
<a href="https://agentmods.dev/skills/pavel-molyanov/molyanov-ai-dev/test-master"><img src="https://agentmods.dev/badge/skills/pavel-molyanov/molyanov-ai-dev/test-master/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-master

Your own site · 80×15
<a href="https://agentmods.dev/skills/pavel-molyanov/molyanov-ai-dev/test-master"><img src="https://agentmods.dev/badge/skills/pavel-molyanov/molyanov-ai-dev/test-master.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 684 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.00063 $0.00684
Opus 5 $0.00032 $0.00342
Sonnet 5 $0.00013 $0.00137
Haiku 4.5 $0.00006 $0.00068

Measured 12d ago against content hash 5e64a4015f98, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

test-master 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 12d 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.

.codex/skills/test-master/SKILL.md · 68 lines

How it starts

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

Test Master

Decide What to Protect

Tests protect observable behavior or another explicit contract that must survive change. Trace each selected scenario to the user request, user-spec, or changed project contract.

Freely editable copy, presentation-only markup or styles, constants that merely repeat their source value, and framework behavior normally have no test subject. They become testable when an explicit user, accessibility, legal, safety, protocol, or project requirement makes their presence or semantics invariant. Test that contract at an observable boundary rather than freezing implementation shape or exact wording.

Choose the Smallest Reliable Boundary

Protect each distinct risk once at the smallest boundary that can reproduce it:

Boundary Use when the risk depends on
Unit One unit's calculation, decision, validation, transformation, or error behavior
Integration An API, database, filesystem, queue, service contract, or collaborating components
E2E A critical user journey or behavior that needs the real application stack
Smoke Successful startup, initialization, deployment, or minimal system integration

Do not repeat the same risk at several levels for pyramid completeness. A characterization test may pass before a refactor when its purpose is to prove existing behavior remains unchanged.

When authoring a selected type, apply its conditional guide:

  • unit-tests.md — unit structure, dependency boundaries, and mocking;
  • integration-tests.md — real component boundaries, fixtures, external services, and cleanup;
  • e2e-tests.md — journeys, environment, selectors, and execution;
  • smoke-tests.md — minimal startup and infrastructure coverage.

Authoring Rules

  • Test observable results, state, errors, or required outgoing interactions rather than private implementation shape.
  • Cover the changed happy path, meaningful branches, failure paths, and specified edge cases without duplicating an already protected risk.
  • Keep tests independent and deterministic with known state. Replace dependencies only outside the boundary the test is meant to exercise.
  • Several mocks are a signal to inspect the boundary, not a defect by count. A test fails when mocks replace the meaningful decision or merely replay configured values.
  • Use clear scenario names and minimal fixtures. Run the selected tests and separate unrelated baseline failures from regressions.

Read the full file on GitHub · 68 lines

Files

What ships with it

5 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. 12d ago First seen · 68 lines · 63 tokens per session scan A 5e64a4015f98

Subscribe to this mod's changes

test-master is a skill published in the GitHub repository pavel-molyanov/molyanov-ai-dev (285 stars, last pushed 19d ago), licensed MIT. It adds 63 tokens to every session and 684 once invoked, about $0.0003 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-30.