From agentkit
Integrates @worldcoin/agentkit into x402 servers or facilitator flows: selects free/free-trial/discount modes, wires EVM chain payments, handles ExactEvmScheme parsing, completes end-to-end setups.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agentkit:integrate-agentkitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill for end-to-end server-side integration work with `@worldcoin/agentkit`.
Use this skill for end-to-end server-side integration work with @worldcoin/agentkit.
If the developer has not already answered these, ask before choosing an implementation:
free, free-trial, or discount?For most production integrations:
eip155:480 or Base eip155:8453).createAgentBookVerifier() always resolves against the canonical World Chain deployment. The developer does not need to think about which chain the registry lives on.free-trial unless the developer explicitly wants free or discount.discount when you can wire hooks.verifyFailureHook into the facilitator flow you control.discountagentkit headerfree-trial and discountnpx @worldcoin/agentkit-cli --llms if the developer also needs registration help../../x402/DOCS.md first. It should be the primary integration playbook.../../core/src/index.ts and ../../x402/src/index.ts before adding imports.declareAgentkitExtensionagentkitResourceServerExtensioncreateAgentkitHookscreateAgentBookVerifiereip155:480), add a custom ExactEvmScheme().registerMoneyParser(...) for World Chain USDC. Do not assume the server scheme has a working default stablecoin for World Chain.createAgentBookVerifier() with no arguments in the common case. Pass rpcUrl or contractAddress only for custom World Chain endpoints or non-canonical deployments.free-trial or discount, add persistent AgentKitStorage. InMemoryAgentKitStorage is only for demos.discount, wire hooks.verifyFailureHook into the facilitator. Without it, discounted underpayments will fail verification.agentkit extension../../x402/DOCS.md as the primary reference for examples and mode behavior.new ExactEvmScheme() only. Include the World Chain money parser.discount unless the facilitator hook can actually be registered.../../core/src/index.ts and ../../x402/src/index.ts before adding or documenting imports.eip155:4800xA23aB2712eA7BBa896930544C7d6636a96b944dA0x79A02482A880bCE3F13e09Da970dC34db4CD24d1../../x402/DOCS.md../../core/src/index.ts../../x402/src/index.ts../../x402/src/hooks.ts../../core/src/agent-book.ts../../core/src/parse.ts, ../../core/src/validate.ts, ../../core/src/verify.tsnpx claudepluginhub worldcoin/agentkitHandles 402 Payment Required responses with AgentKit extension: checks for extension, constructs/signs CAIP-122 challenges (SIWE for EVM) with EOA (EIP-191) or SCW (ERC-1271) wallets, sends auth header for free/discounted access.
Adds x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Useful for paying APIs or settling with other agents.
Builds an Express server that charges USDC per API request using the x402 payment protocol. Use for monetizing endpoints as a paid service discoverable by other agents.