cyoa

cyoa is a skill for Claude Code from jerseycheese/agent-skills. It costs 72 tokens per session (1,489 once invoked), scanned A, original, MIT.

A game-like way to guide software development, where each meaningful technical choice is presented as a branch for the user to select.

In plain words
What is it for?
Use it when starting a development task and wanting to choose options such as architecture, naming, error handling, libraries, data models, and tests step by step.
Why use it?
It makes design decisions explicit while still producing real working code, so the user can steer the implementation without having to describe every choice in advance.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; names the AskUserQuestion tool.

Part of the workflow-skills plugin — 36 skills shipped together

Good fit Use it when starting a development task and wanting to choose options such as architecture, naming, error handling, libraries, data models, and tests step by step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jerseycheese/agent-skills/cyoa
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jerseycheese/agent-skills --skill cyoa
Clone the repo
git clone --depth 1 https://github.com/jerseycheese/agent-skills

Made for: Claude Code.

Or install workflow-skills, the plugin that ships this one along with the rest of its 36 skills.

Wrote 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.

agentmods badge for cyoa

README.md
[![agentmods](https://agentmods.dev/badge/skills/jerseycheese/agent-skills/cyoa/github.svg)](https://agentmods.dev/skills/jerseycheese/agent-skills/cyoa)
Your own site
<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/cyoa"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/cyoa/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.

agentmods 80×15 button for cyoa

Your own site · 80×15
<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/cyoa"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/cyoa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.01489
Opus 5.5 $0.00029 $0.00596
Sonnet 5.5 $0.00014 $0.00298
Haiku 4.5 $0.00007 $0.00149

Measured 1mo ago against content hash 8573bec2b96e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cyoa 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 1mo 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.

skills/cyoa/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CYOA — Choose Your Own Adventure

You are the narrator of a Choose Your Own Adventure game. The user is the hero. Their software task is the quest. The codebase is the world. Every meaningful design decision is a fork in the road.

The output is still real, working code. The adventure framing is decoration around the work, never a substitute for it.

Hard Rules

  1. Forks use AskUserQuestion. Never ask the user to pick a path via plain text. Every fork is presented through the AskUserQuestion tool with 2–4 options.
  2. Each option carries its plain meaning. Every option label has the in-genre flavor and a parenthetical plain-English description of the actual technical choice. The user must be able to pick correctly without decoding the metaphor. The description field carries the honest tradeoffs.
  3. Fork at every meaningful step, not just architectural ones. File/symbol naming, where helpers live, error-handling strategy, sync vs. async, library choice, data model, what to test — all forks. Skip forks only for purely mechanical steps you've already been told to do (running an agreed-upon test, fixing an obvious typo).
  4. Narration is short. 1–3 sentences per beat. Code and tool calls are the main event.
  5. Clarity beats flavor, always. If the in-genre phrasing would make a choice ambiguous, drop the flavor for that fork.
  6. No emojis unless the user opts in.
  7. Exit on request. If the user says "drop CYOA mode", "skip the flavor", "just build it", or similar, immediately revert to normal mode for the rest of the session. Don't ask twice.

The Loop

1. Pick the setting

Your first action — before any exploration, before opening any file — is to call AskUserQuestion to let the user pick the genre. This sets the tone for the rest of the quest.

Options to offer:

  • Fantasy (taverns, quests, dragons, ancient scrolls)
  • Sci-fi (starships, alien worlds, AI cores)
  • Noir (rain-slick streets, cases, suspects)
  • Cyberpunk (neon, ICE, mainframes, runners)
  • Surprise me (you pick, declare it in the opening)

Read the full file on GitHub · 110 lines

Changes

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.

  1. 1mo ago Changed · +4 lines · -18 tokens per session 8573bec2b96e
  2. 3mo ago First seen · 106 lines · 90 tokens per session scan A 03a0cd17908c

Subscribe to this mod's changes

cyoa is a skill published in the GitHub repository jerseycheese/agent-skills (4 stars, last pushed 4d ago), licensed MIT. It adds 72 tokens to every session and 1,489 once invoked, about $0.0003 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.

Related

cyoa compared with skills from other repositories

cyoa next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cyoajerseycheese/agent-skillsSkill44d agoMITA72Claude Code
sprite-genaldegad/sprite-genSkill4.5k4d agoApache-2.0A253Claude Code, Codex
isometric-ops0xDarkMatter/claude-modsSkill8611d agoMITA73Claude Code
local-placesgeezerrrr/motiveSkill1201mo agoMITA22Claude Code, Codex
game-ai-patternsHermeticOrmus/claude-code-game-developmentSkill842mo agoMITA58Claude Code
setupaadeshrao123/Unreal-MCPSkill411mo agoMPL-2.0A52Claude Code
cgs-architecture-reviewmerlinhu1/codex-game-studioSkill833mo agoMITA45Claude Code