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 asgarovf/locusai --skill test-generatorgit clone --depth 1 https://github.com/asgarovf/locusaiWrote 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/asgarovf/locusai/test-generator)<a href="https://agentmods.dev/skills/asgarovf/locusai/test-generator"><img src="https://agentmods.dev/badge/skills/asgarovf/locusai/test-generator/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/asgarovf/locusai/test-generator"><img src="https://agentmods.dev/badge/skills/asgarovf/locusai/test-generator.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.00033 | $0.01186 |
| Opus 5.5 | $0.00013 | $0.00474 |
| Sonnet 5.5 | $0.00007 | $0.00237 |
| Haiku 4.5 | $0.00003 | $0.00119 |
Grade A, and why
test-generator 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 — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Generator
When to use this skill
- Adding test coverage to existing code
- Writing tests for a new feature
- Generating edge case tests
- Setting up a test suite from scratch
- Improving test quality or coverage
Step 1: Understand the testing environment
Before writing tests, identify the project's test setup:
# Check for test config files
ls jest.config* vitest.config* pytest.ini setup.cfg pyproject.toml .mocharc* 2>/dev/null
# Check package.json test scripts
grep -A 5 '"test"' package.json
# Find existing test files for patterns
find . -name "*.test.*" -o -name "*.spec.*" -o -name "test_*" | head -20
Step 2: Read the source code
Read the code you're testing thoroughly:
- Inputs: What parameters does the function accept?
- Outputs: What does it return or produce?
- Side effects: Does it write to DB, call APIs, modify state?
- Error paths: When does it throw or return errors?
- Edge cases: Empty inputs, null, boundaries, concurrency
Step 3: Write tests following existing patterns
Test structure (Arrange-Act-Assert)
// TypeScript/Jest/Vitest
describe('calculateDiscount', () => {
it('should apply percentage discount to total', () => {
// Arrange
const items = [{ price: 100 }, { price: 50 }];
const discountPercent = 10;
// Act
const result = calculateDiscount(items, discountPercent);
// Assert
expect(result).toBe(135);
});
it('should return original total when discount is 0', () => {
const items = [{ price: 100 }];
expect(calculateDiscount(items, 0)).toBe(100);
});
it('should throw when discount exceeds 100%', () => {
expect(() => calculateDiscount([{ price: 100 }], 150))
.toThrow('Discount cannot exceed 100%');
});
});
# Python/pytest
class TestCalculateDiscount:
def test_applies_percentage_discount(self):
items = [{"price": 100}, {"price": 50}]
assert calculate_discount(items, 10) == 135
def test_zero_discount_returns_original(self):
items = [{"price": 100}]
assert calculate_discount(items, 0) == 100
def test_raises_on_excessive_discount(self):
with pytest.raises(ValueError, match="cannot exceed 100%"):
calculate_discount([{"price": 100}], 150)
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 · 168 lines · 33 tokens per session scan A 006e7509c702
test-generator is a skill published in the GitHub repository asgarovf/locusai (23 stars, last pushed 9mo ago), licensed MIT. It adds 33 tokens to every session and 1,186 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-08-30.
test-generator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-generatorasgarovf/locusai | Skill | 23 | 9mo ago | MIT | A | 33 | Claude Code |
| testing-expertpersonamanagmentlayer/pcl | Skill | 47 | 1mo ago | Apache-2.0 | A | 73 | Claude Code |
| automacao-de-testesricneves-ai/flowgrammers-skills | Skill | 118 | 2mo ago | MIT | A | 67 | Claude Code, Codex |
| test-generatorchainlesschain/chainlesschain | Skill | 11 | 21d ago | none | A | 18 | Claude Code |
| Code Coverage AnalysisPramodDutta/qaskills | Skill | 253 | 1mo ago | MIT | A | 45 | Claude Code, Codex |
| vue-component-testingsoulcodex/agentic | Skill | 10 | yesterday | MIT | A | 79 | Claude Code, Codex |
| aif-testainative-build/skills | Skill | 10 | 1mo ago | MIT | A | 28 | Claude Code |