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.
npx skills add ryanthegentry/402index --skill 402indexgit clone --depth 1 https://github.com/ryanthegentry/402indexWrote 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.
[](https://agentmods.dev/skills/ryanthegentry/402index/402index)<a href="https://agentmods.dev/skills/ryanthegentry/402index/402index"><img src="https://agentmods.dev/badge/skills/ryanthegentry/402index/402index/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ryanthegentry/402index/402index"><img src="https://agentmods.dev/badge/skills/ryanthegentry/402index/402index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00098 | $0.05367 |
| Opus 5.5 | $0.00039 | $0.02147 |
| Sonnet 5.5 | $0.00020 | $0.01073 |
| Haiku 4.5 | $0.00010 | $0.00537 |
Grade A, and why
402index scanned grade A with 1 finding 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s "https://402index.io/api/v1/services?q=image+generation&health=healthy&protocol=MPP&sort=price&limit=5" | jq '.services[] | {name, url, protocol, price_usd, health_status}' How it starts
The opening of the file, as written. The whole thing — 416 lines — stays where its author put it; the contents beside it link to each section on GitHub.
402 Index — Discover and Pay for APIs
402 Index is a protocol-agnostic directory of thousands of paid API endpoints across three payment protocols: L402 (Lightning Network), x402 (Coinbase/EVM stablecoins), and MPP (Stripe/Tempo machine payments). This skill teaches you to discover APIs you need, select a payment method, and execute the payment — no API keys, no signups, just pay-per-request.
Live directory: https://402index.io API docs: https://402index.io/api-docs OpenAPI spec: https://402index.io/api/v1/openapi.json
When to Use This Skill
Use this skill when:
- You need a capability you don't have (image generation, specialized models, real-time data)
- The user asks you to find or use a paid API
- You encounter an HTTP 402 Payment Required response
- The user mentions 402index, L402, x402, MPP, or Lightning payments
Agent Behavior Notes
- Run payment commands synchronously. Do NOT background lnget or mppx calls. Image generation takes 60-90s — wait for the result inline.
--no-payonly works for L402 endpoints, NOT for MPP. To preview MPP costs, check the price in the 402index listing before paying. Do not use--no-paywith--prefer-scheme payment.- If search returns errors, skip to the known-good endpoints below. Do not retry with different query variations — use the Quick Start or category-based search instead.
Quick Start
1. Discover → Search 402 Index for what you need (MCP or REST)
2. Evaluate → Check health, price, protocol
3. Detect → What payment tools are installed?
4. Pay → Execute payment with the right tool
5. Consume → Parse and use the response
Known-good endpoints (fallback)
If search_services returns errors, use one of these verified endpoints instead. Last verified: 2026-04-24. For current status, check each listing on 402index.io.
Table order: one endpoint per protocol, plus one dual-rail example (llm402 Kimi-K2.6) showing an endpoint that accepts both L402 and x402 payments against the same URL — a pattern 402 Index tracks natively.
What ships with it
18 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- scripts/backfill-embeddings.mjs 6.6 KB runs code
- scripts/backfill-snapshots.mjs 8.9 KB runs code
- scripts/backfill-unprobeable.mjs 1.8 KB runs code
- scripts/backfill-vec-index.mjs 668 B runs code
- scripts/check-assertion-flips.sh 4.1 KB runs code
- scripts/generate-handler-tests.js 3.6 KB runs code
- scripts/healthcheck.js 267 B runs code
- scripts/l402-discovery.js 24 KB runs code
- scripts/ops/purge-duplicate-vectors.cjs 3.9 KB runs code
- scripts/ops/recall-harness.cjs 4.8 KB runs code
- scripts/ops/release-held.mjs 2.3 KB runs code
- scripts/ops/retire-bazaar-churn.mjs 7.3 KB runs code
- scripts/ops/rollup-query-log.mjs 6.4 KB runs code
- scripts/ops/seed-quarantine.mjs 3.5 KB runs code
- scripts/ops/snapshot.cjs 2.8 KB runs code
- scripts/poll.js 612 B runs code
- scripts/self-register.js 2.6 KB runs code
- scripts/verify-own-l402.js 1.8 KB runs code
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.
- 2mo ago First seen · 416 lines · 98 tokens per session scan A 140da9a7534c
402index is a skill published in the GitHub repository ryanthegentry/402index (1 stars, last pushed 6d ago), licensed MIT. It adds 98 tokens to every session and 5,367 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
402index compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| 402indexryanthegentry/402index | Skill | 1 | 6d ago | MIT | A | 98 | Claude Code, Codex |
| sector-rotationHKUDS/Vibe-Trading | Skill | 38k | today | MIT | A | 39 | Claude Code, Codex |
| strategy-pivot-designertradermonty/claude-trading-skills | Skill | 3.7k | today | MIT | A | 28 | Claude Code, Codex |
| twitter-readerhimself65/finance-skills | Skill | 3.5k | 4d ago | MIT | A | 110 | Claude Code |
| energy-procurementhashgraph-online/awesome-codex-plugins | Skill | 1.5k | yesterday | Apache-2.0 | A | 93 | Claude Code, Codex |
| airdrop-hunting-guidenirholas/three.ws | Skill | 269 | yesterday | Apache-2.0 | A | 54 | Claude Code, Codex |
| multi-expert-analyzerdigoal/blog | Skill | 8.6k | 4d ago | GPL-2.0 | A | 292 | Codex |