HTTP/1.1 402 PAYMENT REQUIRED · Agentic Finance (AIFI) · x402 + MPP dual-stack 500+ tools · 12 rails · 0% seller fee

Text analysis

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

$0.050 per call · one payment for the whole workflow
POST /api/skill/text-analyze

3 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. USDC over x402 on any supported chain.

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

All 3 run inside the single $0.050 call above. Each is also callable on its own if you only need one part.

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).

Call it directly

Any x402 client pays the 402 and gets the whole workflow back in one response:

npx agent402-client call text-analyze {"text":"The x402 protocol enables pay-per-call API payments using USDC stablecoins on Base and other chains."}

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