HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · STELLAR · ROBINHOOD · USDC · USDG

Content cleaner

Clean and deduplicate text — redact PII, remove duplicate lines, and sort in one pass.

When to use this pack

An agent processing raw text (log files, user submissions, scraped content) needs to clean it before storage or analysis: redact emails and phone numbers, remove duplicate lines, and sort for consistency. Three cleanup operations in one payment.

Tools in this pack

Workflow

  1. Call redact with patterns=['email','phone'] to mask PII in the text.
  2. Call dedupe-lines to remove duplicate lines from the text.
  3. Call sort-lines to alphabetically sort the remaining lines.

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Clean this text using Agent402's content-clean skill pack: 'line b\nline a\nline b\nemail: test@test.com'. (1) Redact emails and phone numbers, (2) remove duplicate lines, (3) sort alphabetically. Return the cleaned result.

← All skill packs