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 soulcodex/agentic --skill add-testsgit clone --depth 1 https://github.com/soulcodex/agenticWrote 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/soulcodex/agentic/add-tests)<a href="https://agentmods.dev/skills/soulcodex/agentic/add-tests"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/add-tests/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/soulcodex/agentic/add-tests"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/add-tests.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.00067 | $0.00462 |
| Opus 5.5 | $0.00027 | $0.00185 |
| Sonnet 5.5 | $0.00013 | $0.00092 |
| Haiku 4.5 | $0.00007 | $0.00046 |
Grade A, and why
add-tests 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.
What it actually says
Add Tests Skill
Generate comprehensive tests for the specified code.
Step 1 — Read the Target Code
Read the file(s) the user specifies. If no file is specified, ask which code to test.
Identify:
- The public API (exported functions, public methods)
- Dependencies (what should be mocked vs real)
- Return types and error types
- Preconditions and postconditions
Step 2 — Identify Test Cases
For each public function/method, identify:
Happy path
- Standard input → expected output
Error cases
- Invalid input → expected error
- Dependency failure → expected error propagation
Edge cases
- Empty collections, zero values, null/undefined
- Boundary values (min, max)
- Concurrent access (if applicable)
Step 3 — Write the Tests
Follow the project's existing test file conventions:
- Use the same test framework already in use (detect from package.json / go.mod / pyproject.toml)
- Mirror the source file structure:
user-service.ts→user-service.test.ts - Use AAA structure (Arrange / Act / Assert)
- Name tests as behavior descriptions:
it("returns null when user is not found")
Each test must:
- Cover exactly one behavior
- Be deterministic (freeze time, mock randomness)
- Clean up any side effects
Step 4 — Output
Write the test file. If it already exists, add the new test cases without breaking existing ones.
After writing, list the test cases added and any coverage gaps that remain.
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 First seen · 70 lines · 67 tokens per session scan A 6466da46e5b7
add-tests is a skill published in the GitHub repository soulcodex/agentic (10 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 462 once invoked, about $0.0003 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-08-31.
Other skills, from other repositories
red-green-refactor
Guides the red-green-refactor TDD workflow: write a failing test first, implement the minimum code to make it pass, then refactor while keeping tests green. Use when a user asks to practice TDD, write tests first, follow red-green-refactor, do test-driven development, write failing tests before code, or phrases like…
hatch3r-bug-fix
Step-by-step bug fix workflow. Diagnose root cause, implement minimal fix, write regression test. Use when fixing bugs, working on bug report issues, or when the user mentions a bug.
test-writer
Writes tests that fail before a fix and pass after it.
test-writing
Write tests that catch real regressions — behavior-focused, minimal mocking, edge cases chosen from the code's actual branches. Use when adding tests for new code or backfilling tests for a fix.
test-generation
Generate and run unit/integration tests TDD-style across Python, Node, and .NET. Use when adding tests to untested code, implementing a feature test-first, or finding coverage gaps.
triage-bug
Use when triaging a bug from session evidence (evidence-capture JSONL, replay JSONL, telemetry, repo-audit) instead of from a live user description, and producing a TDD fix plan plus a docs/bugs/{slug}.md triage artifact.