Skip to main content
skill CX Codex

yoink — Claude Code skill: capture the flag on Base

Gives an agent the Yoink capture-the-flag contract on Base: read the state, send a yoink through Bankr, watch the cooldown.

no license 1 installs ★ 1,216 updated 2026-10-29

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add BankrBot/skills --skill yoink -a claude-code
Open on GitHub

What yoink does

The skill hands an agent a map of the Yoink contract on Base (chain ID 8453, 0x4bBFD120d9f352A0BEd7a014bd67913a2007a878). Reads go through eth_call: curl posts to https://mainnet.base.org, jq picks out the answer. From there the agent learns who holds the flag, when it last changed hands, how many yoinks happened in total and who owns the trophy.

A yoink is one transaction carrying data: 0x9846cd9e, submitted through Bankr. Two conditions come first: at least 600 seconds since the previous yoink, and the caller is not the current holder. Break either and the contract replies with SlowDown, which carries the seconds remaining, or Unauthorized.

Holding the flag builds a time score. The trophy (token ID 2) goes to the player with the most yoinks, counted separately from that time. curl and jq have to be on PATH — otherwise the contract state cannot be read at all. The write side runs through Bankr.

What it helps with

  • take the flag from whoever holds it, in one transaction
  • work out how many seconds of cooldown remain
  • read a player's yoink count, flag time and last yoink
  • find the trophy holder and the current yoink record

Example prompts for the agent

  • Yoink the flag if the cooldown has run out
  • Check who holds the flag on Base and how long until I can yoink again
  • Show my Yoink score: yoinks and time holding the flag

How to install yoink

1Skills CLI (Vercel)

npx skills add BankrBot/skills --skill yoink -a claude-code

2Manually: put the files in place

~/.claude/skills/yoink/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/yoink/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about yoink

How do I install yoink in Claude Code?

Run npx skills add BankrBot/skills --skill yoink -a claude-code. The skill lands at ~/.claude/skills/yoink/SKILL.md.

What does yoink do?

Walks the agent through the capture-the-flag contract on Base: reads game state, checks the cooldown, sends the yoink transaction through Bankr.

What do I need before using yoink?

curl and jq on PATH for contract reads, plus Bankr to submit the transaction.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set12

The whole set →
clanker Configure ERC20 token deployments with the Clanker SDK, including vesting, airdrops, and fee recipients. Useful when preparing a token launch with custom settings. CX Codex +1 230installs neynar Connects to Farcaster through Neynar API. Browse feeds, look up users, post casts, and interact with the social protocol from your code editor. CX Codex +1 218installs ens-primary-name Sets an ENS primary name for an address on Base, Arbitrum, Optimism, or Ethereum. Useful for configuring forward and reverse resolution. CX Codex +1 213installs onchainkit onchainkit — a skill for building blockchain applications with ready-made React components from Coinbase. Use it to add wallet connections, token swaps, NFT minting, payments, or onchain identity features to your app. CX Codex +1 213installs qrcoin Skill to participate in QR Coin auctions on Base blockchain. Check auction status, view bids, and create new bids to display your URL on a QR code. CX Codex +1 206installs endaoment endaoment lets an agent find nonprofits and send crypto donations through Endaoment. It covers USDC transfers and supports Base, Ethereum, and Optimism. CX Codex +1 203installs veil Enable private and shielded transactions on Base through Veil Cash. Deposit ETH or USDC into privacy pools, withdraw or transfer funds using zero-knowledge proofs, and manage Veil keypairs. CX Codex +1 199installs siwa Claude Code skill providing SIWA agent authentication using blockchain identities in applications. CX Codex +1 100installs

Project sponsors

Companies that keep this analytics open