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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lilmgenius/afk/afk-play"><img src="https://agentmods.dev/badge/skills/lilmgenius/afk/afk-play.svg" alt="Reviewed on agentmods" width="80" 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.5 | $0.00021 | $0.00271 |
| Sonnet 5.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 2mo 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.
- 2mo 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 7mo ago), licensed MIT. It adds 53 tokens to every session and 678 once invoked, about $0.0002 per session on Opus 5.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.
afk-play compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| afk-playLilMGenius/AFK | Skill | 5 | 7mo ago | MIT | A | 53 | Claude Code, Cursor |
| browser-automationagent0ai/agent-zero | Skill | 20k | yesterday | none | A | 23 | Claude Code, Codex |
| host-computer-use-windowsagent0ai/agent-zero | Skill | 20k | yesterday | none | A | 51 | Claude Code, Codex |
| browser-extension-controlagent0ai/agent-zero | Skill | 20k | yesterday | none | A | 20 | Claude Code, Codex |
| browser-form-workflowsagent0ai/agent-zero | Skill | 20k | yesterday | none | A | 21 | Claude Code, Codex |
| web-game-developmentmetaspartan/cybara | Skill | 34 | yesterday | MIT | A | 49 | Claude Code, Codex |
| blender-motion-state-inspectionDekaPrayoga/AurixAgent | Skill | 62 | 3mo ago | none | A | 43 | Claude Code, Codex |