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.
npx agentmods add skills/worldcoin/agentkit/integrate-agentkitnpx skills add worldcoin/agentkit --skill integrate-agentkitgit clone --depth 1 https://github.com/worldcoin/agentkitWhat 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 | $0.00059 | $0.01201 |
| Opus 5 | $0.00030 | $0.00600 |
| Sonnet 5 | $0.00012 | $0.00240 |
| Haiku 4.5 | $0.00006 | $0.00120 |
Grade A, and why
integrate-agentkit 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Integrate AgentKit
Use this skill for end-to-end server-side integration work with @worldcoin/agentkit.
Start by clarifying the integration
If the developer has not already answered these, ask before choosing an implementation:
- Which access mode do they want:
free,free-trial, ordiscount? - Which payment network should the protected route use?
- Do they control the facilitator path, or are they using a hosted facilitator?
- Do they also need agent registration, or only request-time verification?
Default recommendation
For most production integrations:
- Put paid routes on whichever network the developer's facilitator already supports (commonly World Chain
eip155:480or Baseeip155:8453). - Leave AgentBook lookup alone —
createAgentBookVerifier()always resolves against the canonical World Chain deployment. The developer does not need to think about which chain the registry lives on. - Start with
free-trialunless the developer explicitly wantsfreeordiscount. - Only choose
discountwhen you can wirehooks.verifyFailureHookinto the facilitator flow you control.
Key pieces
- x402 resource server: the protected HTTP route and 402 challenge flow
- facilitator: verifies and settles payment payloads; required for
discount - AgentKit extension: adds the CAIP-122 challenge and verifies the signed
agentkitheader - AgentBook: on-chain registry on World Chain that maps the agent wallet to an anonymous human ID. Lookup is always against World Chain regardless of the payment chain — the caller side is chain-agnostic.
- storage: per-human usage tracking for
free-trialanddiscount - registration path: separate from request-time verification; use
npx @worldcoin/agentkit-cli --llmsif the developer also needs registration help
Workflow
- Read
../../x402/DOCS.mdfirst. It should be the primary integration playbook. - Confirm exported APIs in
../../core/src/index.tsand../../x402/src/index.tsbefore adding imports. - Prefer the hooks-based path:
declareAgentkitExtensionagentkitResourceServerExtensioncreateAgentkitHookscreateAgentBookVerifier
- If the payment network is World Chain (
eip155:480), add a customExactEvmScheme().registerMoneyParser(...)for World Chain USDC. Do not assume the server scheme has a working default stablecoin for World Chain. - Call
createAgentBookVerifier()with no arguments in the common case. PassrpcUrlorcontractAddressonly for custom World Chain endpoints or non-canonical deployments. - If the mode is
free-trialordiscount, add persistentAgentKitStorage.InMemoryAgentKitStorageis only for demos. - If the mode is
discount, wirehooks.verifyFailureHookinto the facilitator. Without it, discounted underpayments will fail verification. - Verify the whole path end-to-end:
- 402 response includes the
agentkitextension - registered agent gets the intended behavior
- unregistered agent falls back to normal payment
- replay protection and storage behavior work as expected
- 402 response includes the
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.
- 2d ago First seen · 79 lines · 0 tokens per session scan A dfcd38888a12
integrate-agentkit is a skill published in the GitHub repository worldcoin/agentkit (23 stars, last pushed 5d ago), licensed MIT. It adds 59 tokens to every session and 1,201 once invoked, about $0.0003 per session on Opus 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-30.
Other skills, from other repositories
migrate
Migrate an application with hardcoded LLM prompts to a full LaunchDarkly AgentControl implementation in five stages: audit the code, wrap the call, move the tools, add tracking, attach evaluators. Use when the user wants to externalize model/prompt configuration, move from direct provider calls (OpenAI, Anthropic…
launchdarkly-flag-qualitative-feedback-setup
Integrate LaunchDarkly qualitative user feedback into a JavaScript/TypeScript codebase. Guides framework and design system detection, builds the sendFeedback utility and feedback widget matching existing project patterns. Use when the user wants to add a Give Feedback widget, collect user sentiment tied to feature…
onboarding
Onboard a project to LaunchDarkly: kickoff roadmap, resumable log, explore repo, MCP, companion flag skills, nested SDK install (detect/plan/apply), first flag. Use when adding LaunchDarkly, setting up or integrating feature flags in a project, SDK integration, or 'onboard me'.
should-flag-change
Decide whether a given code change should be placed behind a LaunchDarkly feature flag. Use when a developer asks whether a change should be behind a flag, when reviewing a diff or pull request, or when running in CI on a PR. Reads the diff and surrounding code, then emits a structured advisory recommendation.…
launchdarkly-metric-create
Create a LaunchDarkly metric that measures what matters for an experiment or rollout. Use when the user wants to create a metric, track an event, measure page views, button clicks, conversion, latency, error rate, or any custom numeric or binary outcome. Instruments the event first when needed (including SDK setup and…
first-flag
Create a boolean first flag, add evaluation, toggle on/off for end-to-end proof. Parent onboarding Step 6; uses MCP, API, or ldcli; optional flag-create skill.