CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

agent-payment-x402

タスクごとのバジェット、支出コントロール、ノンカストディアルウォレットを備えた x402 決済実行を AI エージェントに追加します。agentwallet-sdk を通じて Base を、OKX Payments / OKX エージェント決済プロトコルを通じて X Layer を、アップストリームの x402 パッケージとファシリテーターベースの決済を通じて Solana とマルチネットワーク EVM をサポートします。

Quality

77%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Fix and improve this skill with Tessl

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

Quality

Content

77%Weight 40%Scale 1-5

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

An exceptionally concrete, deeply researched skill with copy-paste-ready code, explicit fail-closed validation, and hard-won operational gotchas. Its weaknesses are structural: everything is inlined in one very long file with no progressive disclosure, and there is notable redundancy across the decision tree, option sections, and reference list.

Suggestions

Split the two large code examples (buyer PaymentPolicy/payOnce client, seller Redis replay guard) into reference files (e.g. references/buyer-client.ts, references/seller-replay.md) and keep a short summary plus pointer in SKILL.md.

Deduplicate the @x402 package listings — keep the full table once (Option C seller section or 本番リファレンス) and reference it from the decision tree.

Consolidate the repeated 'pin versions / check current docs' warnings into a single prerequisites or verification section.

DimensionReasoningScore

Conciseness

Mostly dense with genuinely non-obvious, high-value operational knowledge (chain IDs, mints, replay-protection design, the Solana ATA settlement failure mode), so it is far from padded fluff — but it could be tightened: the @x402 package list appears three times (決定ツリー, Option C seller table, 本番リファレンス), and the 'pin versions' and 'check current docs' warnings each repeat across several sections. Not a 2: the bulk is specialized content Claude cannot be assumed to know, and comments on the code blocks earn their place with security rationale.

3 / 5

Actionability

Fully executable throughout: pinned versions (agentwallet-sdk@6.0.0, @x402/fetch@2.22.0), complete copy-paste TypeScript for both buyer policy enforcement and seller replay protection, exact chain/asset identifiers, a runnable curl+jq account-existence check, MCP config JSON, and install commands. Specific examples cover the common buyer and seller cases.

5 / 5

Workflow Clarity

A decision tree routes users to the right integration path, each option has numbered steps, and validation is explicit and repeated for these financially risky operations: fail-closed budget checks across four error paths, adversarial policy testing ('チャレンジを与え、いずれも署名が生成されないことを確認する'), pre-signature user confirmation, and the ATA existence check before accepting payments. Not a 4: validation checkpoints and error-recovery guidance (retry-after-refusal, reconciliation before re-signing) are present at every risky step.

5 / 5

Progressive Disclosure

Good internal structure (clear section headers, decision tree, tables), but the skill is a single ~590-line file with zero bundle files: the 140-line buyer client and 145-line seller replay-protection code, the facilitator comparison, and the Solana ATA provisioning guide all clearly belong in separate reference files. Fits anchor 3 ('some structure... content that should be separate is inline') rather than 2, since sections are well-organized and navigable rather than a header-less wall.

3 / 5

Total

16

/

20

Passed

Description

70%Weight 40%Scale 1-5

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

A specific, well-differentiated description that names concrete capabilities, SDKs, and chains in third-person voice. Its main weaknesses are the complete absence of an explicit 'use when' trigger clause and buyer-only framing that omits the seller-side integration the body spends half its length on.

Suggestions

Add an explicit trigger clause, e.g. 'Use when an agent needs to pay for API calls, buy services, settle with other agents, or enforce per-task spending limits' — this would lift completeness from 3 to 4-5.

Mention the seller-side capability (charging APIs / accepting x402 payments via @x402/express, Python x402, Go middleware) so the description matches what the body actually covers.

Add one or two natural synonyms such as 'HTTP 402' or 'pay-per-use API access' to widen trigger-term coverage.

DimensionReasoningScore

Specificity

Lists several concrete capabilities — 'タスクごとのバジェット、支出コントロール、ノンカストディアルウォレットを備えた x402 決済実行' — and names concrete mechanisms (agentwallet-sdk, OKX Payments, upstream x402 packages) and chains (Base, X Layer, Solana, EVM). Not a 5: coverage is buyer-side only; the body's extensive seller-side/charging flows ('API がエージェントに課金する') are absent, a minor-but-real gap.

4 / 5

Completeness

Has a clear 'what' (payment execution with budgets, spending controls, non-custodial wallets, per-chain support paths), but there is no 'Use when...' clause or equivalent explicit trigger guidance anywhere in the description, which caps completeness at 3 per the rubric guidelines.

3 / 5

Trigger Term Quality

Good natural keyword coverage: 'x402 決済', 'バジェット', '支出コントロール', 'ウォレット', 'AI エージェント', plus named chains — a user needing agent payments would plausibly say these. Not a 5: misses common synonyms and variations users might say, e.g. micropayments, pay-per-use, HTTP 402, charging for API access, crypto/stablecoin payments.

4 / 5

Distinctiveness Conflict Risk

Clear niche with distinct triggers: 'x402 決済実行', protocol-specific package names (agentwallet-sdk, OKX Payments, x402 パッケージ) and chains (Base, X Layer, Solana). No other plausible skill would trigger on these terms; minimal conflict risk.

5 / 5

Total

16

/

20

Passed

Validation

81%

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

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (592 lines); consider splitting into references/ and linking

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

referenced_paths_exist

Referenced path issues: 1 missing

Warning

Total

13

/

16

Passed

Repository

affaan-m/ECC

Path

docs/ja-JP/skills/agent-payment-x402/SKILL.md

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.