skills-test-data-generator

skills-test-data-generator is a skill for Claude Code from anhtester/claude-testing-kit. It costs 33 tokens per session (1,531 once invoked), scanned A, a copy of Test Data Generator, MIT.

A structured test-data generator for automated software tests. It creates unique, traceable data for normal cases, invalid cases, limits, and unusual edge cases.

In plain words
What is it for?
Use it to create registration and login data, form submissions, API payloads, search queries, file-upload data, and boundary or negative test cases.
Why use it?
It prevents test suites from relying on repeated or unclear sample values. Deterministic data can also make failures easier to reproduce when a seed is used.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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 skills/anhtester/claude-testing-kit/skills-test-data-generator
Any agent
npx skills add anhtester/claude-testing-kit --skill skills-test-data-generator
Clone the repo
git clone --depth 1 https://github.com/anhtester/claude-testing-kit

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 skills-test-data-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/anhtester/claude-testing-kit/skills-test-data-generator.svg)](https://agentmods.dev/skills/anhtester/claude-testing-kit/skills-test-data-generator)
Your own site
<a href="https://agentmods.dev/skills/anhtester/claude-testing-kit/skills-test-data-generator"><img src="https://agentmods.dev/badge/skills/anhtester/claude-testing-kit/skills-test-data-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,531 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% copy Near-identical to another mod 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.00033 $0.01531
Opus 5 $0.00016 $0.00766
Sonnet 5 $0.00007 $0.00306
Haiku 4.5 $0.00003 $0.00153

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

Security

Grade A, and why

skills-test-data-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 6d 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.

Origin

This is a copy

94% identical to Test Data Generator — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/skills-test-data-generator/SKILL.md · 249 lines

How it starts

The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test Data Generator

Purpose: Generate reliable test data for automation tests.


When to Use

Use this skill when:

  • Creating test data for new test cases
  • Generating boundary and edge case data
  • Setting up data-driven tests
  • Creating API request payloads

Responsibilities

Generate test data for:

  • Registration forms
  • Login credentials
  • Form submissions
  • API payloads
  • Search queries
  • File uploads

Data Rules

All generated data must be:

  • Unique — No duplication within test suite
  • Deterministic — Same seed produces same data (when needed)
  • Traceable — Can identify which test generated it

Unique Data Pattern

Recommended format:

<prefix>_<testName>_<timestamp>

Examples:

auto_register_20260402133000
test_login_1712024100

Common Data Types

Email

auto_<testName>_<timestamp>@test.com

Example: [email protected]

Username

user_<testName>_<timestamp>

Example: user_login_20260402133000

Phone

Random 10-digit number starting with valid prefix

Example: 0912345678

Password

Mix of uppercase, lowercase, digits, special chars

Example: Test@12345


Data Categories

Positive Data (Happy Path)

  • Valid format, within constraints
  • All required fields filled
  • Standard business values

Negative Data

  • Missing required fields
  • Invalid format (wrong email, short password)
  • Invalid characters
  • Already existing values (duplicate check)

Boundary Values

  • Minimum length (e.g., 1 character)
  • Maximum length (e.g., 255 characters)
  • Min + 1, Max - 1
  • Empty string vs null
  • Zero, negative numbers

Edge Cases

  • Unicode / special characters
  • Very long strings
  • SQL injection patterns (for security testing)
  • HTML tags in text fields
  • Leading/trailing whitespace

Constraints

Test data must:

  • Respect field validation rules (from DOM inspection)
  • Match input format (date format, phone format)
  • Avoid duplication across test runs
  • Not contain real PII (personal data)

Read the full file on GitHub · 249 lines

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. 6d ago First seen · 249 lines · 33 tokens per session scan A 9a59a8e63ee1

Subscribe to this mod's changes

skills-test-data-generator is a skill published in the GitHub repository anhtester/claude-testing-kit (50 stars, last pushed 28d ago), licensed MIT. It adds 33 tokens to every session and 1,531 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to Test Data Generator, differing in 12 lines, and is treated as a copy.