Agent Toolkit for AWS is a collection of AWS-supported MCP servers, skills, plugins, commands, and hooks that help AI coding agents build, deploy, and manage applications on AWS. It is used by developers working with AWS services through agents such as Claude Code, Codex, Cursor, and Kiro. The catalogue entries are the toolkit's own agent extensions for AWS development and operations.
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 agentmods add skills/aws/agent-toolkit-for-aws/agents-paynpx skills add aws/agent-toolkit-for-aws --skill agents-paygit clone --depth 1 https://github.com/aws/agent-toolkit-for-awsWrote 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/aws/agent-toolkit-for-aws/agents-pay)<a href="https://agentmods.dev/skills/aws/agent-toolkit-for-aws/agents-pay"><img src="https://agentmods.dev/badge/skills/aws/agent-toolkit-for-aws/agents-pay.svg" alt="Measured on agentmods" 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 | $0.00183 | $0.05991 |
| Opus 5 | $0.00092 | $0.02995 |
| Sonnet 5 | $0.00037 | $0.01198 |
| Haiku 4.5 | $0.00018 | $0.00599 |
Grade A, and why
agents-pay 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 5d 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.
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 — 549 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pay
Let an agent pay for x402-protected content without letting the agent — or anything it reads — decide who gets paid, how much, or how often.
The one idea that matters
A payment decision is made in code, from a policy file, before any signing. Nothing the model says, and nothing inside fetched content, can authorize a payment or raise a limit.
An instruction to a model is not an access control: it is a request that a confused or prompt-injected model may decline. Controls must be enforced in code at the point where payment is authorised.
So in this skill every control is executable, and the model's entire payment surface can only spend an already-approved, bounded session — it can pay, check remaining budget, and obtain an opaque handle for a browser navigation, and nothing more.
When to use
This skill is for an agent that needs to pay for something itself, right now — the coding agent you are talking to, or an agent host like OpenClaw, hitting a paywall mid-task and settling it.
- The agent you are running hits an x402 paywall (HTTP
402) and needs the content - You need hard spend limits on what that agent can pay, per payment and per session
- A payment was refused and you need to know which rule rejected it
Not this skill: building a payment-capable agent
If you are writing an agent that will take payments or pay on behalf of its own end
users — provisioning a wallet per customer, wiring a payments plugin or middleware
into a product you are shipping — that is
the agents-build skill and its references/payments.md. It covers the
framework-native integrations and the per-end-user data plane.
The distinction is who spends:
agents-build → references/payments.md |
agents-pay (this skill) |
|
|---|---|---|
| Question | "How do I give the agent I'm building the ability to pay?" | "This agent needs to pay for this thing now" |
| When | Build time, in a product you ship | Run time, in the session you are in |
| Wallet | One per end user of your product | One for this installation |
| Who approves spend | Your product's own flow | The operator, at a terminal |
What ships with it
33 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.
- .gitignore 6 B
- packages/openclaw/.gitignore 43 B
- packages/openclaw/openclaw.plugin.json 2.6 KB
- packages/openclaw/package-lock.json 13 KB
- packages/openclaw/package.json 1.2 KB
- packages/openclaw/PUBLISHING.md 3.1 KB
- packages/openclaw/README.md 5.3 KB
- packages/openclaw/runtime/agentcore_bridge.py 4.4 KB runs code
- packages/openclaw/scripts/stage-skill.mjs 891 B runs code
- packages/openclaw/skills/agents-pay/SKILL.md 26 KB
- packages/openclaw/src/bridge.ts 4.3 KB runs code
- packages/openclaw/src/config.ts 5.5 KB runs code
- packages/openclaw/src/index.ts 4.8 KB runs code
- packages/openclaw/src/payments.ts 4.6 KB runs code
- packages/openclaw/src/x402.ts 14 KB runs code
- packages/openclaw/test/fixtures/v2-security-contract.json 1.6 KB
- packages/openclaw/test/security.test.mjs 16 KB runs code
- packages/openclaw/test/test_agentcore_bridge.py 6.2 KB runs code
- packages/openclaw/test/test_setup_openclaw.py 3.5 KB runs code
- packages/openclaw/tsconfig.json 307 B
- references/openclaw-setup.md 7.7 KB
- references/operator-guide.md 15 KB
- references/security-model.md 17 KB
- references/setup.md 13 KB
- references/troubleshooting.md 12 KB
- requirements.txt 388 B
- scripts/agents_pay_admin.py 45 KB runs code
- scripts/test_portability.py 7.8 KB runs code
- scripts/test_resource_resolution.py 3.7 KB runs code
- scripts/test_x402_policy.py 57 KB runs code
- scripts/x402_fetch_cli.py 3.1 KB runs code
- scripts/x402_fetch.py 34 KB runs code
- scripts/x402_policy.py 26 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.
- 5d ago First seen · 549 lines · 183 tokens per session scan A f58b2685ccf5
agents-pay is a skill published in the GitHub repository aws/agent-toolkit-for-aws (2,533 stars, last pushed today), licensed Apache-2.0. It adds 183 tokens to every session and 5,991 once invoked, about $0.0009 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
mpp-agent
Pay HTTP 402 APIs via Machine Payments Protocol (MPP).
crypto-market-rank
Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings…
trading-signal
Subscribe and retrieve on-chain Smart Money signals. Monitor trading activities of smart money addresses, including buy/sell signals, trigger price, current price, max gain, and exit rate. Use this skill when users are looking for investment opportunities — smart money signals can serve as valuable references for…
cobie-cycle-filter
Use when evaluating crypto decisions through a Cobie-style cycle filter: common-sense risk, narrative traps, leverage humility, and avoiding obvious stupid trades.
bridge
Cross-chain token transfers using Wormhole and CCTP.
hyperliquid
Hyperliquid L1 perps DEX (69% market share).