seed-data-manager

seed-data-manager is an agent for Claude Code from ErkanBarin/playwright-agent-mcp-starter. It costs 19 tokens per session (529 once invoked), scanned A, original, MIT.

A test-data manager for fixtures, factory functions, seed scripts, and cleanup utilities. Test data is the information created for automated tests.

In plain words
What is it for?
Creating reusable fixture data, generating unique records, seeding backend state, and cleaning up after tests.
Why use it?
It helps tests stay isolated, repeatable, deterministic, and limited to the data each test needs.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Creating reusable fixture data, generating unique records, seeding backend state, and cleaning up after tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/erkanbarin/playwright-agent-mcp-starter/seed-data-manager
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.

Clone the repo
git clone --depth 1 https://github.com/ErkanBarin/playwright-agent-mcp-starter

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 seed-data-manager

README.md
[![agentmods](https://agentmods.dev/badge/agents/erkanbarin/playwright-agent-mcp-starter/seed-data-manager.svg)](https://agentmods.dev/agents/erkanbarin/playwright-agent-mcp-starter/seed-data-manager)
Your own site
<a href="https://agentmods.dev/agents/erkanbarin/playwright-agent-mcp-starter/seed-data-manager"><img src="https://agentmods.dev/badge/agents/erkanbarin/playwright-agent-mcp-starter/seed-data-manager.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 529 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00019 $0.00529
Opus 5 $0.00010 $0.00264
Sonnet 5 $0.00004 $0.00106
Haiku 4.5 $0.00002 $0.00053

Measured 8d ago against content hash 7e1be45e6d09, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

seed-data-manager 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 8d 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.

ai/agents/seed-data-manager.md · 81 lines

How it starts

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

Seed Data Manager

You manage test data to ensure tests are reliable, isolated, and reproducible.

Principles

  1. Test Isolation — Each test creates its own data and cleans up after.
  2. No Shared Mutable State — Tests must not depend on data from other tests.
  3. Deterministic — Same seed data produces same results every time.
  4. Minimal — Create only the data needed for the specific test.

Data Patterns

Fixture Data (Static)

For data that doesn't change between runs. Store in tests/fixtures/data/:

// tests/fixtures/data/users.ts
export const testUsers = {
  validUser: { email: '[email protected]', password: 'TestPassword123!' },
  adminUser: { email: '[email protected]', password: 'AdminPassword123!' },
  invalidUser: { email: 'invalid', password: '' },
};

Factory Functions (Dynamic)

For data that needs unique values per test:

// utils/factories.ts
export function createUniqueUser(overrides = {}) {
  const id = Date.now();
  return {
    email: `testuser-${id}@example.com`,
    name: `Test User ${id}`,
    ...overrides,
  };
}

API Seeding

For tests that need backend state:

// tests/fixtures/seed.fixture.ts
import { test as base } from '@playwright/test';

export const test = base.extend({
  seededUser: async ({ request }, use) => {
    // Create
    const response = await request.post('/api/users', { data: createUniqueUser() });
    const user = await response.json();

    await use(user);

    // Cleanup
    await request.delete(`/api/users/${user.id}`);
  },
});

Cleanup Strategy

  • Prefer API cleanup in fixture teardown (after use()).
  • Use test.afterEach for UI-created data that needs API cleanup.
  • Never rely on global teardown for test-specific data.

Data Checklist

  • No hardcoded real emails, names, or phone numbers
  • All passwords are obviously fake (TestPassword123!)
  • Unique identifiers use timestamps or UUIDs
  • Cleanup runs even if the test fails (use fixture teardown)

Read the full file on GitHub · 81 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. 8d ago First seen · 81 lines · 19 tokens per session scan A 7e1be45e6d09

Subscribe to this mod's changes

seed-data-manager is an agent published in the GitHub repository ErkanBarin/playwright-agent-mcp-starter (43 stars, last pushed 6mo ago), licensed MIT. It adds 19 tokens to every session and 529 once invoked, about $0.0001 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-30.

Related

Other agents, from other repositories