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.
git clone --depth 1 https://github.com/Dexter-DAO/opendexter-ideWrote 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/rules/dexter-dao/opendexter-ide/x402-protocol)<a href="https://agentmods.dev/rules/dexter-dao/opendexter-ide/x402-protocol"><img src="https://agentmods.dev/badge/rules/dexter-dao/opendexter-ide/x402-protocol/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/rules/dexter-dao/opendexter-ide/x402-protocol"><img src="https://agentmods.dev/badge/rules/dexter-dao/opendexter-ide/x402-protocol.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.00680 | $0.00680 |
| Opus 5.5 | $0.00272 | $0.00272 |
| Sonnet 5.5 | $0.00136 | $0.00136 |
| Haiku 4.5 | $0.00068 | $0.00068 |
Grade A, and why
x402-protocol 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.
What it actually says
x402-protocol:
- x402 is an open protocol for machine-to-machine payments over HTTP. A
resource can return
402 Payment Requiredwith payment instructions; an authorized client settles, and the resource returns its response. - x402 v2 uses CAIP-2 network identifiers, including:
- Solana mainnet:
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp - Base mainnet:
eip155:8453 - Polygon:
eip155:137 - Arbitrum:
eip155:42161 - Optimism:
eip155:10 - Avalanche:
eip155:43114 - SKALE Base:
eip155:1187947933
- Solana mainnet:
- HTTP payment data uses
PAYMENT-REQUIRED,PAYMENT-SIGNATURE, andPAYMENT-RESPONSE. Amounts are atomic units; 1 USDC is1000000. - The Dexter facilitator is
https://x402.dexter.cash. The application SDK is@dexterai/x402, with/client,/server,/react,/adapters, and/utilsexports. @dexterai/opendexteris different: it is a local proxy to the hosted governed runtime and is configured withnpx @dexterai/[email protected] setupfollowed byopendexter connect.@dexterai/[email protected]exposes eight tools before connection:x402_search,x402_check,x402_fetch,x402_status,x402_access,x402_wallet,dexter_portfolio, anddexter_report_work.dexter_report_workrecords meaningful work updates using the stored OAuth bearer bound to the same agent. Reporting needs no spending grant or funding. After rejection or possible dispatch, the proxy does not refresh authentication and resend the report automatically. Keep private data, credentials and control characters out of summaries. Server-assignedobservedAtandexpiresAtdescribe statement freshness.- An uncertain report response keeps the same
operationIdand identical fields for recovery. On a revision conflict, inspectcurrentReportandcurrentRevision; a deliberate update uses a newoperationIdand thatcurrentRevisionasexpectedRevision. Financial outcomes retain their own receipts. - A connected check returns one opaque
intentId. Execute at most once with thatintentIdand the separately approvedmaxAmountAtomicceiling. - Reconcile uncertainty through
x402_status. Never retryx402_fetchafter possible dispatch or substitute an SDK/local signer when hosted authority is missing. - Account-bound OpenDexter tools use the stored OAuth bearer. Connection, balance, and portfolio state do not independently prove an active grant.
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 Changed · -1 lines · -5 tokens per session 96f65c62668a
- 1mo ago Changed fdbf3c742c49
- 1mo ago Changed · +12 lines · +179 tokens per session d94b2b44a242
- 1mo ago Changed · -4 tokens per session 506aab6f22a1
- 2mo ago First seen · 37 lines · 510 tokens per session scan A 4f73cf78be8e
x402-protocol is a cursor rule published in the GitHub repository Dexter-DAO/opendexter-ide (2 stars, last pushed 5d ago), licensed MIT. It adds 680 tokens to every session, about $0.0027 per session on Opus 5.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-31.
Other cursor rules, from other repositories
financial-amounts
Financial amount + token data safety — floor display amounts (never round up), decimals come from the SDK token registry. Full detail in .claude/skills/t2000-financial-amounts/.
pn-web3-security
Web3 security conventions: no private keys, env for RPC, explicit visibility, events for state changes. Use when editing Solidity or Web3 integration code.
wallet-transaction-safety
IronWallet transfers and swaps — hot wallet, no blind retries.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.