yoink

Automate yoink transactions to capture the flag on Base.

71|22|Updated Apr 6, 2020
One-click install
npx skills add https://github.com/nirholas/agenti --skill yoink-nirholas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yoink
Source: https://github.com/nirholas/agenti/tree/main/packages/protocols/x402-cloddsbot/src/skills/bundled/yoink
Command: npx skills add https://github.com/nirholas/agenti --skill yoink-nirholas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates interaction with a Base-based capture-the-flag game to attempt yoinking the flag, view status, and track scores from a single interface.

Core Features & Use Cases

  • Automated Play: Send yoink commands to claim the flag while respecting cooldowns.
  • Game Insight: Retrieve current holder, top yoinker, total yoinks, and individual scores.
  • Setup & Security: Use PRIVATE_KEY for signing transactions and configure an RPC endpoint for on-chain data.

Quick Start

Configure PRIVATE_KEY in your environment and invoke the /yoink command to try capturing the flag on Base.

Frequently Asked Questions about yoink

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate capturing the flag in an onchain Base game?

To automate capturing the flag on Base, use a bot that coordinates interaction with the Yoink smart contract. The bot sends yoink commands to claim the flag while automatically respecting cooldown periods before attempting another capture.

What do I need to sign transactions for an onchain Base game bot?

To sign transactions for an onchain Base game bot, you need a PRIVATE_KEY environment variable configured in your environment. You also need an RPC endpoint configured for the bot to read onchain data and interact with the contract.

How can I retrieve game state and leaderboard scores from a Base smart contract?

To retrieve game state and leaderboard scores from a Base smart contract, query functions such as lastYoinkedAt, totalYoinks, and score. This provides insight into the current flag holder, top yoinker, and individual player scores.

Can I use my AI assistant to manage onchain game cooldowns and scores on Base?

Yes, you can use an AI assistant to manage onchain game cooldowns and scores on Base. The assistant can read the contract ABI to track game state, enforce cooldowns, and send yoink transactions to capture the flag automatically.

What happens if I try to yoink the flag before the onchain cooldown expires?

If you try to yoink the flag before the onchain cooldown expires, the automated bot prevents the premature attempt. By reading lastYoinkedAt from the contract, the bot ensures yoink commands are only sent when the cooldown period has fully elapsed.