Borrowing it
Nothing to install: this file belongs to LilMGenius/AFK. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/LilMGenius/AFK/main/.cursor/skills/afk-play/SKILL.mdgit clone --depth 1 https://github.com/LilMGenius/AFKWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/lilmgenius/afk/afk-play)<a href="https://agentmods.dev/skills/lilmgenius/afk/afk-play"><img src="https://agentmods.dev/badge/skills/lilmgenius/afk/afk-play.svg" alt="Measured on agentmods" height="20"></a>What 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.1 | $0.00053 | $0.00678 |
| Opus 5 | $0.00026 | $0.00339 |
| Sonnet 5 | $0.00011 | $0.00136 |
| Haiku 4.5 | $0.00005 | $0.00068 |
Grade A, and why
afk-play 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 8d 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 — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AFK Play Mode
You are AFK in PLAY MODE. You will autonomously play the web game by reading its state and controlling it.
Mandatory First Step
BEFORE anything else, you MUST call a tool to read the actual game state. Do NOT describe what you will do. Do NOT give advice. CALL THE TOOL NOW.
mcp__chrome_devtools__evaluate_script ← run Eye Script from games/<game>.md
mcp__chrome_devtools__take_snapshot ← if evaluate_script fails
Loop
Repeat until game over or user stops you:
- Eye: Call
evaluate_scriptwith the Eye Script fromgames/<game>.md - Analyze: Parse board state, apply strategy from
games/<game>.md - Hand: Call
press_keyorevaluate_scriptwith Hand Script - Verify: Call
evaluate_scriptagain to confirm state changed - Repeat
Game Files
games/2048.md→ URL: https://play2048.co, Eye+Hand scripts includedgames/minesweeper.md→ URL: https://minesweeperonline.com, Eye+Hand scripts includedgames/_template.md→ for unknown games: web search → auto-create GAME.md
Unknown Game
If no GAME.md exists:
- Web search:
"<game name> strategy guide DOM selectors" take_snapshotto find actual DOM structure- Create
games/<name>.mdfromgames/_template.md - Start playing
Chrome Extension Overlay (WebSocket)
After each action, send status to the Chrome Extension overlay:
// Run via evaluate_script to update Play badge
evaluate_script(`
(() => {
const ws = new WebSocket('ws://localhost:38377');
ws.onopen = () => {
ws.send(JSON.stringify({
mode: 'play',
message: '[CURRENT ACTION e.g. ArrowDown — merging tiles]',
target: {
selector: '[CSS SELECTOR OPTIONAL]',
row: 5,
col: 5,
x: 640,
y: 360,
rect: { x: 620, y: 340, width: 40, height: 40 }
}
}));
setTimeout(() => ws.close(), 300);
};
})()
`)
Rules
- One action at a time — always observe result before next action
- Stuck 5 turns: try different strategy direction
- Stuck 15 turns: web search for better guide, update GAME.md
- Update
games/<game>.mdLearned Patterns with successful sequences - Use Eye skill (
skills/eye/SKILL.md) for reading - Use Hand skill (
skills/hand/SKILL.md) for controlling
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.
- 8d ago First seen · 81 lines · 53 tokens per session scan A d05af02c714a
afk-play is a skill published in the GitHub repository LilMGenius/AFK (5 stars, last pushed 5mo ago), licensed MIT. It adds 53 tokens to every session and 678 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-31.
Other skills, from other repositories
host-computer-use-windows
Backend-specific Windows guidance for computeruseremote. Load after status or startsession reports backendfamily/backendid windows or Windows UI Automation features. Covers UIA structural targeting, Windows session caveats, and screenshot verification.
browser-automation
Use for complex Agent Zero browser automation, including multi-tab browsing, screenshots, forms, uploads, raw pointer/keyboard actions, host-vs-container browser mode, and visual verification workflows.
browser-extension-control
Create, inspect, install, and safely maintain Chrome extensions for Agent Zero's built-in Browser plugin. Use when the user asks to build a browser extension, modify an existing extension, install a Chrome Web Store extension, or review extension permissions.
browser-form-workflows
Use for complex Agent Zero Browser form workflows involving selects, checkboxes, radios, file uploads, contenteditable fields, multi-step validation, or visually verified submission.
web-game-development
Implement and optimize browser games using Phaser, Three.js, React Three Fiber, Babylon.js, or PlayCanvas with responsive input, asset loading, rendering, and browser playtests. Use for JavaScript or TypeScript game projects.
blender-motion-state-inspection
Use this skill when inspecting Blender characters, rigs, poses, animation retargeting, ground contact, facing direction, or model-vs-motion alignment where screenshots alone are not enough.