wipe-test-data

wipe-test-data is a skill for Claude Code, Codex from reorder-js/reorder. It costs 33 tokens per session (246 once invoked), scanned A, original, MIT.

A test-data reset script for the Medusa commerce backend, the server that stores shop operations such as orders and customers.

In plain words
What is it for?
Use it to remove orders, carts, customers, subscriptions, renewals, support cases, and related logs or metrics. It requires explicit confirmation before deleting the data.
Why use it?
It clears operational test records so a backend can be tested from a clean state while keeping products, the catalogue, and administrator accounts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

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/reorder-js/reorder/wipe-test-data
Any agent
npx skills add reorder-js/reorder --skill wipe-test-data
Clone the repo
git clone --depth 1 https://github.com/reorder-js/reorder

Made for: Claude Code, Codex.

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 wipe-test-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/reorder-js/reorder/wipe-test-data.svg)](https://agentmods.dev/skills/reorder-js/reorder/wipe-test-data)
Your own site
<a href="https://agentmods.dev/skills/reorder-js/reorder/wipe-test-data"><img src="https://agentmods.dev/badge/skills/reorder-js/reorder/wipe-test-data.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 246 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00033 $0.00246
Opus 5 $0.00016 $0.00123
Sonnet 5 $0.00007 $0.00049
Haiku 4.5 $0.00003 $0.00025

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

Security

Grade A, and why

wipe-test-data 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.

.agents/skills/wipe-test-data/SKILL.md · 26 lines

What it actually says

Reset Test Data (Transactional Wipe)

Wipes all transactional data (order, cart, customer, subscription, plan_offer, renewal_cycle, dunning_case, cancellation_case, subscription_log, subscription_metrics_daily) using TRUNCATE CASCADE. Products, catalog, and admin users are preserved.

⚠️ Mandatory Confirmation

NEVER execute this script immediately.

  1. Warn the user that this will permanently delete 100% of operational data (orders, customers, subscriptions, renewals, dunning, analytics, logs).
  2. Ask for explicit confirmation.
  3. Execute only after the user explicitly confirms (e.g., "yes", "tak", "proceed").

Execution (Only After Confirmation)

Run from the Medusa backend directory:

cd ../my-medusa-store && npx medusa exec ../reorder/scripts/wipe-test-data.ts

After execution, inform the user that the transactional data has been wiped.

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 · 26 lines · 33 tokens per session scan A 8526e48d83b6

Subscribe to this mod's changes

wipe-test-data is a skill published in the GitHub repository reorder-js/reorder (53 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 246 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-30.

Related

Other skills, from other repositories

saleor-paper-storefront

Project-specific patterns for the Saleor Paper storefront built with Next.js 16, TypeScript, and Tailwind CSS. Use when working with product pages, checkout flow, caching, variant selection, filtering, SEO, or UI components. For universal Saleor API patterns, see the saleor-storefront dependency.

saleor/storefront · 68 tokens

paper-migrations

Apply chronological Paper storefront upgrades to a forked shop. Use when the user says upgrade Paper, apply Paper migrations, catch up with upstream caching, or paper-version. Reads migrations/manifest.json and paper-version.json; ports architecture without overwriting custom styling.

saleor/storefront · 55 tokens

storefront-best-practices

ALWAYS use this skill when working on ecommerce storefronts, online stores, shopping sites. Use for ANY storefront component including checkout pages, cart, payment flows, product pages, product listings, navigation, homepage, or ANY page/component in a storefront. CRITICAL for adding checkout, implementing cart…

medusajs/medusa-agent-skills · 107 tokens

building-admin-dashboard-customizations

Load automatically when planning, researching, or implementing Medusa Admin dashboard UI (widgets, custom pages, forms, tables, data loading, navigation). REQUIRED for all admin UI work in ALL modes (planning, implementation, exploration). Contains design patterns, component usage, and data loading patterns that MCP…

medusajs/medusa-agent-skills · 68 tokens

learning-medusa

Load automatically when user asks to learn Medusa development (e.g., "teach me how to build with medusa", "guide me through medusa", "I want to learn medusa"). Interactive guided tutorial where Claude acts as a coding bootcamp instructor, teaching step-by-step with checkpoints and verification.

medusajs/medusa-agent-skills · 65 tokens

building-with-medusa

Load automatically when planning, researching, or implementing ANY Medusa backend features (custom modules, API routes, workflows, data models, module links, business logic). REQUIRED for all Medusa backend work in ALL modes (planning, implementation, exploration). Contains architectural patterns, best practices, and…

medusajs/medusa-agent-skills · 70 tokens