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
npx skills add BankrBot/skills --skill yoink -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/yoink/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/yoink/
1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill yoink -a codex2Manually: put the files in place
.agents/skills/yoink/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill yoink -a cursor2Manually: put the files in place
.cursor/skills/yoink/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install BankrBot/skills yoink2Manually: put the files in place
.github/skills/yoink/SKILL.md1Skills CLI (Vercel)
npx skills add BankrBot/skills --skill yoink -a gemini-cli2Platform CLI
gemini skills install https://github.com/BankrBot/skills --path yoinkManually: put the files in place
.devin/skills/yoink/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add BankrBot/skills --skill yoink -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.