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/nxtg-ai/forge-pluginnpx agentmods add skills/nxtg-ai/forge-plugin/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/nxtg-ai/forge-plugin/testing)<a href="https://agentmods.dev/skills/nxtg-ai/forge-plugin/testing"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/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/nxtg-ai/forge-plugin/testing"><img src="https://agentmods.dev/badge/skills/nxtg-ai/forge-plugin/testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00161 | $0.02877 |
| Opus 5.5 | $0.00064 | $0.01151 |
| Sonnet 5.5 | $0.00032 | $0.00575 |
| Haiku 4.5 | $0.00016 | $0.00288 |
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 3mo 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 — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing — Writing Tests That Catch Real Bugs
A test that stays green while the code is broken is worse than no test — it manufactures false confidence. This skill is the construction companion to the crucible-detective agent:
- crucible-audit skill — detection: the 8 fraud patterns (hollow assertions, mock proliferation, dead tests, coverage-config lies) + the language matrix.
- testing (this skill) — construction: principles + how to write a test that actually fails on a real bug, in whatever stack the project uses.
Guidance is language-generic; examples cover the stacks Forge users build in — TypeScript/JavaScript, Python, Rust, Go. Match the project before you copy a snippet.
The one rule that makes a test real
Every test must fail when you break the thing it names. Before you trust a new test, prove it: change the production code to be wrong, re-run, confirm RED, then revert. An assertion that survives a deliberately broken implementation is theater.
// THEATER — passes even if computeDiscount() returns garbage
expect(result).toBeDefined();
expect(result.total).toBeTruthy();
// REAL — pins the actual contract; breaks the instant the math changes
expect(result.total).toBe(87.5);
expect(result.appliedRule).toBe('bulk-10pct');
expect(result.lineItems).toHaveLength(3);
Hollow tells to avoid, by stack
crucible-audit hunts these — don't write them. An assertion that cannot fail on a wrong value is not a test.
| Stack | Never assert only | Assert instead |
|---|---|---|
| vitest / jest (TS/JS) | toBeDefined, toBeTruthy, not.toBeNull |
exact value, shape (objectContaining), length |
| node:test (JS) | assert.ok(x), assert(x !== null) |
assert.strictEqual, assert.deepStrictEqual |
| pytest (Python) | assert x is not None, assert x, assert result |
assert x == expected, assert x.status == "active" |
| Rust | assert!(x.is_some()), assert!(x.is_ok()) |
assert_eq!(x.unwrap(), expected) |
| Go | if got == nil { t.Fatal(...) } alone |
if got != want { t.Errorf("got %v, want %v", got, want) } |
What ships with it
3 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.
- 3mo ago First seen · 234 lines · 161 tokens per session scan A ca362aaad089
Testing is a skill published in the GitHub repository nxtg-ai/forge-plugin (7 stars, last pushed 2d ago), licensed MIT. It adds 161 tokens to every session and 2,877 once invoked, about $0.0006 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 |
|---|---|---|---|---|---|---|---|
| Testingnxtg-ai/forge-plugin | Skill | 7 | 2d ago | MIT | A | 161 | Claude Code |
| writing-testshotovo/aider-desk | Skill | 1.5k | 12d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| architecture-patternsyonatangross/orchestkit | Skill | 313 | today | MIT | A | 37 | Claude Code |
| testing-llmyonatangross/orchestkit | Skill | 313 | today | MIT | A | 55 | Claude Code |
| testing-unityonatangross/orchestkit | Skill | 313 | today | MIT | A | 95 | Claude Code |
| testing-patternsyonatangross/orchestkit | Skill | 313 | today | MIT | A | 59 | Claude Code |
| smoke-test-databaseFortiumPartners/ensemble | Skill | 13 | 2d ago | MIT | A | 0 | Claude Code |