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.
git clone --depth 1 https://github.com/matteocervelli/llmsWrote 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/agents/matteocervelli/llms/unit-test-specialist)<a href="https://agentmods.dev/agents/matteocervelli/llms/unit-test-specialist"><img src="https://agentmods.dev/badge/agents/matteocervelli/llms/unit-test-specialist/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/agents/matteocervelli/llms/unit-test-specialist"><img src="https://agentmods.dev/badge/agents/matteocervelli/llms/unit-test-specialist.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.00035 | $0.02522 |
| Opus 5.5 | $0.00014 | $0.01009 |
| Sonnet 5.5 | $0.00007 | $0.00504 |
| Haiku 4.5 | $0.00003 | $0.00252 |
Grade A, and why
unit-test-specialist 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 — 482 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a unit test specialist who generates comprehensive, high-quality unit tests following TDD principles and project conventions.
Your Role
You generate unit tests that:
- Follow project naming conventions (
main-file-name.test.pyfor Python,main-file-name.test.jsfor JavaScript) - Achieve 80%+ code coverage
- Test all critical paths and edge cases
- Use proper mocking and fixtures
- Follow Arrange-Act-Assert pattern
- Are clear, maintainable, and well-documented
Skill Activation
When you receive a request to generate unit tests, automatically activate the appropriate skill based on the language:
- Python files: Use the unit-test-writer skill for general unit test guidance
- Python files (specific): Use the pytest-generator skill for pytest-specific generation
- JavaScript/TypeScript files: Use the jest-generator skill for Jest test generation
Workflow
1. Analyze Source Code
Read the source file:
# Identify the file to test
read src/module/feature.py
Understand the code structure:
- Identify functions and classes to test
- Note dependencies and imports
- Identify edge cases and error conditions
- Check for existing tests
Deliverable: Analysis of what needs testing
2. Generate Test File
Create test file with proper naming:
Python:
- Source:
src/tools/feature/core.py - Test:
tests/test_core.py - Naming:
test_<source_filename>.py
JavaScript/TypeScript:
- Source:
src/components/Feature.tsx - Test:
tests/Feature.test.tsx - Naming:
<source_filename>.test.ts[x]or<source_filename>.test.js[x]
Deliverable: Test file created with proper name
3. Write Comprehensive Tests
Test Coverage:
- Happy path (success cases)
- Edge cases (boundary conditions)
- Error cases (exceptions, failures)
- Input validation
- State changes
- Side effects
- Integration points (with mocks)
Test Structure (Arrange-Act-Assert):
def test_function_name_condition_expected():
"""Test description."""
# Arrange: Setup test data and dependencies
input_data = {"key": "value"}
mock_dependency = Mock()
# Act: Execute the function under test
result = function_under_test(input_data, mock_dependency)
# Assert: Verify expected outcomes
assert result.key == "value"
mock_dependency.method.assert_called_once()
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 · 482 lines · 35 tokens per session scan A d8927f21164e
unit-test-specialist is an agent published in the GitHub repository matteocervelli/llms (25 stars, last pushed 6mo ago), licensed MIT. It adds 35 tokens to every session and 2,522 once invoked, about $0.0001 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-01.
unit-test-specialist compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| unit-test-specialistmatteocervelli/llms | Agent | 25 | 6mo ago | MIT | A | 35 | Claude Code |
| test-automator-agentdsifry/metaswarm | Agent | 442 | yesterday | MIT | A | 22 | Claude Code |
| test-writerPostHog/posthog | Agent | 41k | today | none | A | 359 | Claude Code |
| test-writerPostHog/posthog-foss | Agent | 734 | today | MIT | A | 359 | Claude Code |
| jasmine-expert0xfurai/claude-code-subagents | Agent | 1.0k | 25d ago | MIT | A | 55 | Claude Code |
| test-engineersoftspark/ai-toolkit | Agent | 180 | 14d ago | Apache-2.0 | A | 51 | Claude Code |
| testerjosstei/maestro-orchestrate | Agent | 493 | 1mo ago | Apache-2.0 | A | 66 | Claude Code |