Docs Navigationexpand_more

Skills

Skills

Agent-first implementation playbook for the installed 1Shot skills: public-relayer, webauthn-prf-wallet, and 1shot-api.

Skill-driven development workflow

1Shot skills are designed for agentic coding: you define the build objective, install the right skill context, and ask your coding agent for production-ready implementation output in small, verifiable steps.

Install commands

Public relayer skill

npx skills add 1Shot-API/skills/public-relayer

Passkey wallet skill

npx skills add 1Shot-API/skills/webauthn-prf-wallet

Dev platform skill

npx skills add 1Shot-API/skills/1shot-api

Pick the right skill

public-relayer

  • Permissionless gas abstraction
  • EIP-7701/7710 delegation examples
  • Fee quotes, capability discovery, and status tracking
  • Single-chain and multichain execution patterns

webauthn-prf-wallet

  • PRF + HKDF passkey-derived EVM key flow
  • Iframe-isolated signer architecture
  • Platform support gating + LongBlob fallback
  • Recovery architecture and security hardening

1shot-api

  • Server wallets and transaction execution
  • Smart contract read/write/simulate flows
  • Webhooks, delegated execution, x402 facilitator
  • 1Shot API MCP setup and account configuration

Best practice: chain skills in phases

  1. Phase 1 (relayer path): use public-relayer to implement capabilities discovery, fee quoting, single/multichain submission, and status tracking for multi-chain gas abstraction.
  2. Phase 2 (embedded wallet): use webauthn-prf-wallet when you need a non-custodial embedded wallet with no vendor lock-in or signature fees.
  3. Phase 3 (Developer Platform): use 1shot-api for building custom onchain solutions that require onchain reads and writes. You will need to sign up for a business account.

Prompt templates

Use the public-relayer skill to implement a TypeScript client that discovers capabilities, quotes fees, submits relayer_send7710Transaction (single-chain + multichain), and tracks status via webhooks or relayer_getStatus polling.
Use the 1shot-api skill to implement server wallet creation plus execution endpoint in TypeScript. Return: Plan, Code, Config, Validation, Risks.
Use the webauthn-prf-wallet skill to implement a PRF-first embedded wallet in Next.js with iframe isolation, LongBlob fallback, and recovery hooks.
Apply webauthn-prf-wallet first, then 1shot-api. Keep each phase in separate commits and include integration test checkpoints.

Machine-readable skill sources