Borrowing it
Nothing to install: this file belongs to coinbase/x402. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/coinbase/x402/main/.agents/skills/authoring-specs/SKILL.mdgit clone --depth 1 https://github.com/coinbase/x402Wrote 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/coinbase/x402/authoring-specs)<a href="https://agentmods.dev/skills/coinbase/x402/authoring-specs"><img src="https://agentmods.dev/badge/skills/coinbase/x402/authoring-specs/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/coinbase/x402/authoring-specs"><img src="https://agentmods.dev/badge/skills/coinbase/x402/authoring-specs.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.00043 | $0.00455 |
| Opus 5.5 | $0.00017 | $0.00182 |
| Sonnet 5.5 | $0.00009 | $0.00091 |
| Haiku 4.5 | $0.00004 | $0.00046 |
Grade A, and why
authoring-specs 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 1mo 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
Authoring x402 specs
Guidance for writing x402 specification files under specs/. Use RFC-2119 keywords for normative statements (MUST / MUST NOT, SHOULD / SHOULD NOT, MAY).
General rules
These apply to every spec type (scheme, extension). The references below add type-specific detail.
Naming
- Name schemes and extensions in lowercase, hyphen-separated kebab-case (e.g.
batch-settlement,offer-receipt), never camelCase.
Protocol version, networks, and units
- Target protocol v2 only:
x402Version: 2, theamountfield (not v1'smaxAmount), and thePAYMENT-REQUIRED/PAYMENT-SIGNATURE/PAYMENT-RESPONSEheaders (not v1'sX-PAYMENT/X-PAYMENT-RESPONSE). See the v1 to v2 migration guide. - Use canonical CAIP-2 network notation (e.g.
eip155:84532, notbase-sepolia). - Use atomic units for all amounts.
Wire format
- Be transport agnostic: specify message contents, not how a particular transport carries them.
- Reference core types (
PaymentRequirements,PaymentPayload,SettlementResponse) fromx402-specification-v2.md. - Every field a spec defines on the wire must be consumed by a downstream role. Do not include human-readable or otherwise purely informational fields.
- Reuse field names, patterns, and conventions established by existing specs instead of coining new ones.
References
- New network scheme spec (
scheme_<name>_<chain>.md): see references/new-network-scheme-spec.md. - New extension spec: to be added.
What ships with it
1 file 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.
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.
- 1mo ago First seen · 35 lines · 43 tokens per session scan A 4650bc0fce65
authoring-specs is a skill published in the GitHub repository coinbase/x402 (188 stars, last pushed 2d ago), licensed Apache-2.0. It adds 43 tokens to every session and 455 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It comes from a forked repository.
authoring-specs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| authoring-specscoinbase/x402 | Skill | 188 | 2d ago | Apache-2.0 | A | 43 | Claude Code, Codex |
| signature-replayPurpleAILAB/Decepticon | Skill | 6.9k | 16d ago | Apache-2.0 | A | 31 | Claude Code, Codex |
| official-sui-skillsMystenLabs/sui | Skill | 7.8k | today | Apache-2.0 | A | 116 | Claude Code, Codex |
| bridgealsk1992/CloddsBot | Skill | 3.2k | 22d ago | MIT | A | 13 | Claude Code, Codex |
| onchainkitalsk1992/CloddsBot | Skill | 3.2k | 22d ago | MIT | A | 24 | Claude Code, Codex |
| marginfialsk1992/CloddsBot | Skill | 3.2k | 22d ago | MIT | A | 11 | Claude Code, Codex |
| devtools-event-clientTanStack/devtools | Skill | 519 | today | MIT | A | 79 | Claude Code, Codex |