CtrlK
BlogDocsLog inGet started
Tessl Logo

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol.

61

Quality

72%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Advisory

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./skills/agent-payment-x402/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

77%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is highly actionable with executable code, pinned versions, and strong fail-closed validation workflows for a high-stakes payment skill. Its main weaknesses are a somewhat verbose long code example and a monolithic structure with no bundle references to offload detail into.

Suggestions

Move the full TypeScript orchestrator example into a references file and keep a concise snippet inline, with a clear pointer.

Tighten repeated deprecation and 'fetch current docs' notes into a single canonical callout to reduce redundancy.

Trim the verbose inline comments in the code example to the essential fail-closed rationale.

DimensionReasoningScore

Conciseness

Mostly efficient and information-dense, but the ~90-line TypeScript example with extensive inline comments and repeated deprecation/'fetch current docs' notes could be tightened; it is not fully lean where every token earns its place.

2 / 3

Actionability

Provides copy-paste-ready MCP config JSON with pinned versions, a concrete tools table, specific seller-doc URLs per runtime, and a complete executable TypeScript orchestrator example — fully actionable.

3 / 3

Workflow Clarity

Sequences are explicit with validation checkpoints — credential validation before transport, policy-set-before-delegation with isError check, and a preToolCheck hook with five distinct fail-closed error paths and a budget-exceeded feedback loop, appropriate for risky payment operations.

3 / 3

Progressive Disclosure

Sections are well-organized and external links (npm, GitHub repos, x402.org) are one-level-deep and clearly signaled, but no bundle files exist and a large inline code block plus seller-doc tables could be split into references; structure is good but content that should be separate is inline.

2 / 3

Total

10

/

12

Passed

Description

67%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is specific and distinct, naming concrete capabilities and chains, but it omits explicit 'when to use' trigger guidance and leans on technical jargon over natural user phrasings.

Suggestions

Append an explicit trigger clause such as 'Use when your agent needs to pay for an API, settle with another agent, or enforce spending limits.'

Add natural-language terms users would actually say ('add payments to an agent', 'let my agent pay for API calls') alongside the protocol jargon.

Soften the SDK/chain name density slightly so the opening reads as a capability statement rather than a tool list.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions — 'x402 payment execution', 'per-task budgets', 'spending controls', 'non-custodial wallets' — plus named chains (Base, X Layer) and SDKs (agentwallet-sdk, OKX Payments), matching the 'lists multiple specific concrete actions' anchor.

3 / 3

Completeness

It clearly answers 'what does this do' but lacks any 'Use when...' clause or equivalent explicit trigger guidance, which per the guidelines caps completeness at 2.

2 / 3

Trigger Term Quality

Relevant domain keywords exist ('payment execution', 'spending controls', 'non-custodial wallets') but they are jargon-heavy and miss the natural phrasings a user would say ('make my agent pay for things', 'add payments to my agent'), so coverage of common variations is incomplete.

2 / 3

Distinctiveness Conflict Risk

Occupies a clear niche (x402 protocol payments for AI agents) with distinct, specialized triggers unlikely to conflict with other skills.

3 / 3

Total

10

/

12

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository
affaan-m/ECC
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.