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 atretyak1985/swarmery --skill testinggit clone --depth 1 https://github.com/atretyak1985/swarmeryWrote 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/atretyak1985/swarmery/testing)<a href="https://agentmods.dev/skills/atretyak1985/swarmery/testing"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/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.
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/testing"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/testing.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.00044 | $0.01056 |
| Opus 5.5 | $0.00018 | $0.00422 |
| Sonnet 5.5 | $0.00009 | $0.00211 |
| Haiku 4.5 | $0.00004 | $0.00106 |
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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Write tests, run test suites, and debug test failures across the project's repositories (.claude/project.json → repos). Typical layout: a device/edge repo <device> (Python/pytest), the main app apps/<mainApp> (TypeScript/Jest + RTL, Playwright E2E), and an infrastructure repo (deployment config via template render + dry-run); placeholders come from project.json → mainApp / device.
Rules (never violate)
- Verify the source module exists (Glob/Read) before writing a test — never test a module you cannot locate.
- Always run a test after writing it; never return a test that was not executed and passing.
- Test behavior, not implementation; no vacuous assertions (
expect(true).toBe(true)). - A single test file stays under 200 lines — split by feature area if larger.
- Check prerequisites before integration/E2E runs:
make test-allneeds a database,npm run test:e2eneeds a running app. - Never delete a flaky test or run
npm install/pip installwithout user approval. - Always pass a worker limit — a runner without one starts a worker per CPU core, and several sessions on one machine then exhaust it. Jest/Vitest
--maxWorkers=${SWARMERY_TEST_WORKERS:-2}, Playwright--workers=${SWARMERY_TEST_WORKERS:-2}, turbo--concurrency=1, nx--parallel=1,go test -p ${SWARMERY_TEST_WORKERS:-2}. Through a package manager, pass it to the script:npm test -- --maxWorkers=${SWARMERY_TEST_WORKERS:-2},pnpm turbo run test --concurrency=1 -- --maxWorkers=${SWARMERY_TEST_WORKERS:-2}. Keep worker flags away fromtypecheck/linttasks — run those in a separate command. The coretest-worker-budget.shhook enforces this; the rule is the fallback where the hook is not installed.
Resources
- Read
resources/writing-test-patterns.mdwhen writing tests: philosophy (AAA, TDD), the testing pyramid, the framework/location/naming table, and code patterns for pytest, Jest, RTL, Playwright, and deployment config dry-runs. - Read
resources/running-and-debugging.mdwhen running suites or debugging failures: per-repo commands, the 4-step debug procedure, self-check, common mistakes, escalation, and failure modes.
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.
- yesterday Changed · +1 lines 44727580b40b
- 3mo ago First seen · 70 lines · 44 tokens per session scan A 08be6f3cf80e
testing is a skill published in the GitHub repository atretyak1985/swarmery (9 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 1,056 once invoked, about $0.0002 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-09-03.
testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| testingatretyak1985/swarmery | Skill | 9 | today | Apache-2.0 | A | 44 | Claude Code |
| testing-patternsyonatangross/orchestkit | Skill | 315 | today | MIT | A | 59 | Claude Code |
| mobile-app-testingsecondsky/claude-skills | Skill | 257 | 4d ago | MIT | A | 47 | Claude Code |
| loom-test-strategycosmix/loom | Skill | 66 | 4d ago | MIT | A | 29 | Claude Code, Codex |
| loom-testingcosmix/loom | Skill | 66 | 4d ago | MIT | A | 25 | Claude Code |
| continuous-testingAdamBien/airails | Skill | 76 | today | MIT | A | 84 | Claude Code |
| langchain4j-testing-strategiesgiuseppe-trisciuoglio/developer-kit | Skill | 374 | 2mo ago | MIT | A | 81 | Claude Code |