test-generator

test-generator is an agent for Claude Code from Imran-ml/claude-skills. It costs 47 tokens per session (617 once invoked), scanned A, original, no licence file.

A coding assistant for creating tests for existing software, including unit tests, integration tests, and broader test suites.

In plain words
What is it for?
Use it to write tests, add test cases, generate a test suite, or improve test coverage.
Why use it?
It helps when code lacks tests or when you need more coverage of its expected behavior.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Install

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.

agentmods
npx agentmods add agents/imran-ml/claude-skills/test-generator
Clone the repo
git clone --depth 1 https://github.com/Imran-ml/claude-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for test-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/imran-ml/claude-skills/test-generator.svg)](https://agentmods.dev/agents/imran-ml/claude-skills/test-generator)
Your own site
<a href="https://agentmods.dev/agents/imran-ml/claude-skills/test-generator"><img src="https://agentmods.dev/badge/agents/imran-ml/claude-skills/test-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 617 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.00617
Opus 5 $0.00023 $0.00309
Sonnet 5 $0.00009 $0.00123
Haiku 4.5 $0.00005 $0.00062

Measured 5d ago against content hash 28de17255067, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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 5d 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.

.claude/agents/test-generator.md · 82 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

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.

  1. 5d ago First seen · 82 lines · 47 tokens per session scan A 28de17255067

Subscribe to this mod's changes

test-generator is an agent published in the GitHub repository Imran-ml/claude-skills (3 stars, last pushed 5mo ago), with no licence file. It adds 47 tokens to every session and 617 once invoked, about $0.0002 per session on Opus 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.

Related

Other agents, from other repositories

test-writer

Writes thorough tests for existing code. Detects test framework from project config, reads CLAUDE.md first, follows existing test patterns. Handles unit, integration, and e2e tests. Designed for parallel execution with isolation: worktree.

stuartshields/claude-setup · 52 tokens

code-reviewer

General-purpose code reviewer for single files or focused diffs. Use when reviewing specific files or a single diff before merging. Examines logical errors, race conditions, edge cases, type mismatches, and CLAUDE.md compliance. Reports issues by severity with file:line references. For multi-file PR or pre-merge…

stuartshields/claude-setup · 93 tokens

wp

Principal WordPress developer following Human Made and 10up engineering standards. Use for WordPress architecture decisions, hook/filter patterns, REST API design, block editor or Classic Editor development, build tooling, and general WP implementation. For read-only WP code review, use wp-reviewer instead. Adapts to…

stuartshields/claude-setup · 71 tokens

a11y

Accessibility auditor for UI code. Use when reviewing components, pages, or user flows for WCAG 2.2 AA/AAA compliance — typically before shipping a UI feature. Covers semantic HTML, keyboard navigation, ARIA, forms, focus management, color contrast, and motion. Framework-aware (React, Vue, WordPress blocks, vanilla…

stuartshields/claude-setup · 88 tokens

wp-perf

WordPress performance specialist following Human Made and 10up standards. Use for auditing query performance, caching strategy, asset loading, Core Web Vitals, and database optimization in WordPress projects. Handles both greenfield and inherited legacy codebases.

stuartshields/claude-setup · 52 tokens

wp-security

WordPress security specialist following Human Made and 10up standards. Use for auditing input sanitisation, output escaping, nonce verification, SQL injection, authentication, authorisation, REST API security, and WordPress-specific vulnerabilities. Prioritises exploitable issues in legacy codebases.

stuartshields/claude-setup · 58 tokens