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 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.
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.
- 3mo 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 14d 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.
add-tests compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-testssoulcodex/agentic | Skill | 10 | 14d ago | MIT | A | 67 | Claude Code, Codex |
| red-green-refactorrohitg00/skillkit | Skill | 1.6k | 6mo ago | Apache-2.0 | A | 90 | Claude Code, Codex |
| hatch3r-bug-fixhatch3r/hatch3r | Skill | 26 | 2mo ago | MIT | A | 47 | Claude Code |
| test-writerrysh-ai/rysh-cli-code | Skill | 6 | yesterday | Apache-2.0 | A | 16 | Claude Code, Codex |
| amazon-mcpishan-parihar/amazon-lyr | Skill | 0 | 1mo ago | MIT | A | 36 | Claude Code, Codex |
| test-generationjnotsknab/mux-swarm | Skill | 9 | yesterday | GPL-3.0 | A | 42 | Claude Code, Codex |
| test-writingjnMetaCode/skillet | Skill | 2 | 2mo ago | MIT | A | 43 | Claude Code, Codex |