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

Text analysis

Full text analysis — word/sentence stats, keyword extraction, and token count in one pass.

When to use this pack

An agent evaluating text content needs the complete picture: how long is it (words, sentences, paragraphs), what are the key topics (keyword extraction), and how many LLM tokens would it consume? Useful for content pipelines, RAG prep, and prompt budgeting.

Tools in this pack

Workflow

  1. Call text-stats to get word count, sentence count, paragraph count, and reading time.
  2. Call keywords to extract the top terms and their frequency.
  3. Call token-count to estimate the LLM token consumption (useful for prompt budgeting).

Run it in Claude

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

Then paste this prompt into Claude:

Analyze this text using Agent402's text-analyze skill pack: 'The x402 protocol enables pay-per-call API payments using USDC stablecoins on Base and other chains.' (1) Text stats, (2) keywords, (3) token count. Report the full analysis.

← All skill packs