testing-skills-with-subagents

testing-skills-with-subagents is a skill for Claude Code, Codex from movebrickschi/harness-engineering-mcp. It costs 57 tokens per session (2,905 once invoked), scanned A, a copy of Testing Skills With Subagents, MIT.

A testing guide for agent skills that applies test-driven development (TDD) to process instructions. It runs pressure scenarios without the skill, improves the instructions, and tests them again.

In plain words
What is it for?
It is for verifying skills that enforce working practices, especially when agents may be tempted to ignore costly or time-consuming requirements.
Why use it?
It shows whether a skill changes agent behaviour and helps close gaps that agents might otherwise use to skip its rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions subagents.

Good fit It is for verifying skills that enforce working practices, especially when agents may be tempted to ignore costly or time-consuming requirements.

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

Made for: Claude Code, 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-skills-with-subagents

README.md
[![agentmods](https://agentmods.dev/badge/skills/movebrickschi/harness-engineering-mcp/testing-skills-with-subagents/github.svg)](https://agentmods.dev/skills/movebrickschi/harness-engineering-mcp/testing-skills-with-subagents)
Your own site
<a href="https://agentmods.dev/skills/movebrickschi/harness-engineering-mcp/testing-skills-with-subagents"><img src="https://agentmods.dev/badge/skills/movebrickschi/harness-engineering-mcp/testing-skills-with-subagents/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-skills-with-subagents

Your own site · 80×15
<a href="https://agentmods.dev/skills/movebrickschi/harness-engineering-mcp/testing-skills-with-subagents"><img src="https://agentmods.dev/badge/skills/movebrickschi/harness-engineering-mcp/testing-skills-with-subagents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,905 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 98% copy Near-identical to another mod 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.00057 $0.02905
Opus 5 $0.00028 $0.01452
Sonnet 5 $0.00011 $0.00581
Haiku 4.5 $0.00006 $0.00291

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

Security

Grade A, and why

testing-skills-with-subagents 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 10d 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.

Origin

This is a copy

98% identical to Testing Skills With Subagents — 19 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/skills/testing-skills-with-subagents/SKILL.md · 388 lines

How it starts

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

Testing Skills With Subagents

Overview

Testing skills is just TDD applied to process documentation.

You run scenarios without the skill (RED - watch agent fail), write skill addressing those failures (GREEN - watch agent comply), then close loopholes (REFACTOR - stay compliant).

Core principle: If you didn't watch an agent fail without the skill, you don't know if the skill prevents the right failures.

REQUIRED BACKGROUND: You MUST understand superpowers:test-driven-development before using this skill. That skill defines the fundamental RED-GREEN-REFACTOR cycle. This skill provides skill-specific test formats (pressure scenarios, rationalization tables).

Complete worked example: See examples/CLAUDE_MD_TESTING.md for a full test campaign testing CLAUDE.md documentation variants.

When to Use

Test skills that:

  • Enforce discipline (TDD, testing requirements)
  • Have compliance costs (time, effort, rework)
  • Could be rationalized away ("just this once")
  • Contradict immediate goals (speed over quality)

Don't test:

  • Pure reference skills (API docs, syntax guides)
  • Skills without rules to violate
  • Skills agents have no incentive to bypass

TDD Mapping for Skill Testing

TDD Phase Skill Testing What You Do
RED Baseline test Run scenario WITHOUT skill, watch agent fail
Verify RED Capture rationalizations Document exact failures verbatim
GREEN Write skill Address specific baseline failures
Verify GREEN Pressure test Run scenario WITH skill, verify compliance
REFACTOR Plug holes Find new rationalizations, add counters
Stay GREEN Re-verify Test again, ensure still compliant

Same cycle as code TDD, different test format.

RED Phase: Baseline Testing (Watch It Fail)

Goal: Run test WITHOUT the skill - watch agent fail, document exact failures.

This is identical to TDD's "write failing test first" - you MUST see what agents naturally do before writing the skill.

Read the full file on GitHub · 388 lines

Files

What ships with it

1 file 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. 10d ago First seen · 388 lines · 57 tokens per session scan A b63b2231b235

Subscribe to this mod's changes

testing-skills-with-subagents is a skill published in the GitHub repository movebrickschi/harness-engineering-mcp (2 stars, last pushed 3mo ago), licensed MIT. It adds 57 tokens to every session and 2,905 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to Testing Skills With Subagents, differing in 19 lines, and is treated as a copy.