Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/jnPiyush/AgentXnpx agentmods add skills/jnpiyush/agentx/testingWrote 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/jnpiyush/agentx/testing)<a href="https://agentmods.dev/skills/jnpiyush/agentx/testing"><img src="https://agentmods.dev/badge/skills/jnpiyush/agentx/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/jnpiyush/agentx/testing"><img src="https://agentmods.dev/badge/skills/jnpiyush/agentx/testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Memory Poisoning · line 194 Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
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.00049 | $0.02068 |
| Opus 5.5 | $0.00020 | $0.00827 |
| Sonnet 5.5 | $0.00010 | $0.00414 |
| Haiku 4.5 | $0.00005 | $0.00207 |
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.
How it starts
The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing
Purpose: Language-agnostic testing strategies ensuring code quality and reliability. Goal: 80%+ coverage with 70% unit, 20% integration, 10% e2e tests. Note: For language-specific examples, see C# Development or Python Development.
When to Use This Skill
- Writing unit tests for new code
- Designing integration test suites
- Implementing end-to-end test automation
- Measuring and improving test coverage
- Setting up continuous testing in CI/CD pipelines
Prerequisites
- Testing framework installed (pytest, Jest, xUnit, etc.)
- CI/CD pipeline for automated test execution
Frontier Execution Boundary
Inside a Frontier quality loop or review, use this skill to design and author
tests, not execute suites. Test execution, coverage and adversarial test runs
wait until the loop completes and the owning agent explicitly asks the user.
No answer or a decline means not run. Use .github/AGENT-PROTOCOL.md section
1.4 for the consent procedure.
The execution recipes below apply to explicitly approved, separate testing tasks and CI/release jobs. They do not override the in-loop/review prohibition. Do not claim pass counts or coverage for tests that were only written or read.
Rationalization Table
If you find yourself thinking one of these, push back against it. These are the common ways agents and humans skip the discipline.
| Rationalization | Reality |
|---|---|
| "The change is small, tests are overkill." | Small changes hide the highest-leverage regressions because reviewers under-scrutinize them. Add at least one regression test per behavioral change. |
| "I'll add tests after the feature works." | Tests written after code are shaped to pass current code, not to specify behavior. Write the failing test first; confirm it fails for the expected reason; then code. |
| "This code is too hard to test, so we'll skip it." | "Hard to test" almost always means "badly factored". Refactor for testability instead of waiving the requirement. |
| "Coverage is at 80%, we're fine." | Coverage measures lines, not behavior. Branches, error paths, and boundary inputs can all be untested at 80% line coverage. Inspect what is covered, not just the number. |
| "The test is flaky, just rerun it." | A flaky test is a bug report. Fix the timing, the shared state, or the assertion. Do not retry until green. |
| "This is a refactor, behavior is identical." | Then the existing tests must all stay green without modification. If you had to edit tests to keep them green, the refactor changed behavior. |
What ships with it
7 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.
- references/frameworks-and-resources.md 901 B
- references/test-org-ci-pitfalls.md 1.9 KB
- references/test-type-examples.md 3.9 KB
- scripts/check-coverage.ps1 3.5 KB runs code
- scripts/check-coverage.sh 3.3 KB runs code
- scripts/check-test-pyramid.ps1 3.5 KB runs code
- scripts/scaffold-playwright.py 12 KB runs code
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.
- 1mo ago Changed · -15 lines cd8deb74305e
- 2mo ago Changed 898fa89fa484
- 2mo ago Changed 4c97f7908d56
- 2mo ago First seen · 256 lines · 49 tokens per session scan A 1ab0f0f1a25e
testing is a skill published in the GitHub repository jnPiyush/AgentX (19 stars, last pushed today), licensed Apache-2.0. It adds 49 tokens to every session and 2,068 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 |
|---|---|---|---|---|---|---|---|
| testingjnPiyush/AgentX | Skill | 19 | today | Apache-2.0 | A | 49 | Claude Code, Codex |
| test-masterJeffallan/claude-skills | Skill | 13k | today | MIT | A | 104 | Claude Code |
| axiom-testingCharlesWiltgen/Axiom | Skill | 1.3k | 22d ago | MIT | A | 38 | Claude Code |
| test-generatorrshankras/claude-code-apple-skills | Skill | 918 | 22d ago | MIT | A | 33 | Claude Code |
| test-automation-expertcuriositech/some_claude_skills | Skill | 282 | 3d ago | MIT | A | 133 | Claude Code |
| mobile-app-testingsecondsky/claude-skills | Skill | 257 | yesterday | MIT | A | 47 | Claude Code |
| testing-blocksadobe/skills | Skill | 342 | today | Apache-2.0 | A | 114 | Claude Code |