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 algorand-devrel/algorand-agent-skills --skill algorand-x402-typescriptgit clone --depth 1 https://github.com/algorand-devrel/algorand-agent-skillsWrote 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/algorand-devrel/algorand-agent-skills/algorand-x402-typescript)<a href="https://agentmods.dev/skills/algorand-devrel/algorand-agent-skills/algorand-x402-typescript"><img src="https://agentmods.dev/badge/skills/algorand-devrel/algorand-agent-skills/algorand-x402-typescript/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/algorand-devrel/algorand-agent-skills/algorand-x402-typescript"><img src="https://agentmods.dev/badge/skills/algorand-devrel/algorand-agent-skills/algorand-x402-typescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00090 | $0.02672 |
| Opus 5 | $0.00045 | $0.01336 |
| Sonnet 5 | $0.00018 | $0.00534 |
| Haiku 4.5 | $0.00009 | $0.00267 |
Grade A, and why
algorand-x402-typescript 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
x402 on Algorand - TypeScript
Build x402 HTTP-native payment applications on Algorand with TypeScript. Use the reference files below for detailed guidance on each component.
TypeScript Quick Start
# Core + AVM mechanism + key/signer helpers from algokit-utils
npm install @x402/core @x402/avm @algorandfoundation/algokit-utils
# Server middleware (pick one)
npm install @x402/express # Express.js
npm install @x402/hono # Hono
npm install @x402/next # Next.js
# HTTP clients (pick one)
npm install @x402/fetch # Fetch API (re-exports x402Client, wrapFetchWithPayment)
npm install @x402/axios # Axios (re-exports x402Client, wrapAxiosWithPayment)
# Optional: only needed for custom/manual signers (e.g., browser wallet flows)
npm install algosdk
Register AVM Scheme
Every component registers the AVM exact scheme unconditionally — no environment variable guards:
Every AVM scheme is the same class — ExactAvmScheme — exported from three subpaths (each implementing a different SchemeNetwork* interface).
// Client (x402Client is also re-exported from @x402/fetch and @x402/axios)
import { x402Client } from "@x402/core/client";
import { ExactAvmScheme } from "@x402/avm/exact/client";
import { toClientAvmSigner, ALGORAND_TESTNET_CAIP2 } from "@x402/avm";
// secretKeyBase64 = base64 of the 64-byte algosdk secret key (seed||pubkey) — NOT a mnemonic
const avmSigner = toClientAvmSigner(secretKeyBase64);
const client = new x402Client()
.register(ALGORAND_TESTNET_CAIP2, new ExactAvmScheme(avmSigner));
// Server (x402ResourceServer is also re-exported from @x402/hono, @x402/express, @x402/next)
import { x402ResourceServer, HTTPFacilitatorClient } from "@x402/core/server";
import { ExactAvmScheme } from "@x402/avm/exact/server";
import { ALGORAND_TESTNET_CAIP2 } from "@x402/avm";
const facilitatorClient = new HTTPFacilitatorClient({ url: facilitatorUrl });
const server = new x402ResourceServer(facilitatorClient)
.register(ALGORAND_TESTNET_CAIP2, new ExactAvmScheme());
What ships with it
21 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.
- references/create-typescript-x402-client-examples.md 23 KB
- references/create-typescript-x402-client-reference.md 13 KB
- references/create-typescript-x402-client.md 8.6 KB
- references/create-typescript-x402-facilitator-examples.md 21 KB
- references/create-typescript-x402-facilitator-reference.md 18 KB
- references/create-typescript-x402-facilitator.md 11 KB
- references/create-typescript-x402-nextjs-examples.md 27 KB
- references/create-typescript-x402-nextjs-reference.md 12 KB
- references/create-typescript-x402-nextjs.md 8.8 KB
- references/create-typescript-x402-paywall-examples.md 23 KB
- references/create-typescript-x402-paywall-reference.md 11 KB
- references/create-typescript-x402-paywall.md 11 KB
- references/create-typescript-x402-server-examples.md 27 KB
- references/create-typescript-x402-server-reference.md 12 KB
- references/create-typescript-x402-server.md 7.9 KB
- references/explain-algorand-x402-typescript-examples.md 18 KB
- references/explain-algorand-x402-typescript-reference.md 15 KB
- references/explain-algorand-x402-typescript.md 10 KB
- references/use-typescript-x402-core-avm-examples.md 36 KB
- references/use-typescript-x402-core-avm-reference.md 21 KB
- references/use-typescript-x402-core-avm.md 7.4 KB
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.
- yesterday Changed · +13 lines 747934caabd4
- 11d ago First seen · 155 lines · 90 tokens per session scan A bc2018a42d58
algorand-x402-typescript is a skill published in the GitHub repository algorand-devrel/algorand-agent-skills (33 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 2,672 once invoked, about $0.0005 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.
Other skills, from other repositories
web3-fullstack-packaged-build
Systematic full-stack Web3 build with mandatory packaging and delivery phase.
web3-fullstack-systematic-build
Systematic approach to building full-stack Web3 applications layer by layer.
solana-dev
Use when user asks to "build a Solana dapp", "write an Anchor program", "create a token", "debug Solana errors", "set up wallet connection", "test my Solana program", "fuzz my Solana program", "deploy to devnet", "send a v1 transaction", "support larger transactions", "fix maxSupportedTransactionVersion", or "explain…
devtools-event-client
Create typed EventClient for a library. Define event maps with typed payloads, pluginId auto-prepend namespacing, emit()/on()/onAll()/onAllPluginEvents() API. Connection lifecycle (5 retries, 300ms), event queuing, enabled/disabled state, SSR fallbacks, singleton pattern. Unique pluginId requirement to avoid event…
walkeros-create-destination
Use when creating a new walkerOS destination to send events to a vendor or API (GA4/gtag, Meta/Facebook Pixel, Mixpanel, Amplitude, a custom HTTP API, Measurement Protocol), web or server-side. Example-driven workflow: research the vendor SDK and define step examples before implementing the destination interface, env…
walkeros-create-source
Use when creating a new walkerOS source to capture events (browser source, dataLayer interception, server/HTTP source, webhook receiver, event capture), web or server-side. Example-driven workflow: research the input format and define step examples before implementing the push interface, createTrigger, and env pattern.