Install
$ agentstack add skill-todealmarket-tdm-agentpay-tdm-agentpay ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
TDM AgentPay
Use this skill for
- HTTP 402 responses from
POST /authorize billingMode,settlementMode,paymentOptions, andretryEndpoint- current JS helper names such as
createAuthorizeClient(...),createGatewayClients(...),createSessionTanksClient(...), andcreateCheckoutClient(...) - session recovery using
tdm_get_session_state session_gas_tankguidance- sweep vs cashout clarification
- agent vault command guidance
- agent-first paid execution guidance for tools, APIs, routes, and runtime actions
Read only what you need
- Read [references/adaptation-map.md](references/adaptation-map.md) for older terminology and draft wording.
- Read [references/authorize-contract.md](references/authorize-contract.md) for current public fields and endpoints.
- Read [references/mcp-runtime.md](references/mcp-runtime.md) for state-based recovery guidance.
- Read [references/sdk-sweep-capabilities.md](references/sdk-sweep-capabilities.md) before suggesting sweep flows.
- Read [references/vault-scenarios.md](references/vault-scenarios.md) for agent vault and cashout guidance.
Hard rules
- Do not invent undocumented payment fields.
- Prefer exact current fields:
allowed,authorizationId,charged,balanceMinor,priceMinor,billingMode,settlementMode,paymentOptions, andretryEndpoint. - Use
tdm_get_session_statebefore asking the user for money. - If the state is
UNINITIALIZED, instruct the user to runtdm connect. - If the state is
DEPLETEDand dust is available, prefertdm sweep. - If the state is
DEPLETEDand no dust is available, suggesttdm fuel. - Do not describe
tdm sweepas a cashout. - Do not suggest
tdm cashoutas a way to satisfy an active payment challenge.
Recommended operator commands
tdm vault create [--use]tdm vault usetdm connecttdm login --gateway https://tdm.todealmarket.com(advanced/manual only)tdm fuel --amount --yestdm sweep --network solana --resume-burner --deposit-addresstdm sweep --network solana --resume-burner --target-agenttdm sweep --network base --project-id --treasurytdm sweep statustdm cashouttdm agent listtdm agent boot
Named vault guidance
- Prefer one named vault per business contour when operators manage many agents.
- For larger fleets, prefer multiple named vaults over one giant vault.
- If the operator uses named vaults, respect their active vault or explicit
--vaultchoice.
Product framing guidance
- Treat TDM as agent-first and API-first.
- Default mental model: price a protected call, authorize it, then continue execution.
- Mention file, note, or content unlock flows only as an additional layer on top of the core agent/runtime payment surface.
Bundled helpers
- [scripts/fetchx402price.mjs](scripts/fetchx402price.mjs)
- [scripts/runtdmsweep.mjs](scripts/runtdmsweep.mjs)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ToDealMarket
- Source: ToDealMarket/tdm-agentpay
- License: MIT
- Homepage: https://todealmarket.com/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.