classic-text-adventure

classic-text-adventure is a skill for Claude Code, Codex from microsoft/cat-agent-skills. It costs 65 tokens per session (1,044 once invoked), scanned A, original, MIT.

Uma aventura de texto baseada em Colossal Cave, um jogo clássico em que o jogador explora uma caverna digitando comandos. A sessão pode ser continuada depois e o jogo mantém regras determinísticas, ou seja, as mesmas ações produzem os mesmos resultados.

In plain words
What is it for?
Serve para iniciar, continuar, inspecionar, reiniciar ou testar rapidamente a aventura. O jogador pode explorar a caverna usando comandos de texto.
Why use it?
Permite jogar ou verificar o funcionamento do jogo sem perder o estado entre comandos. Também oferece uma forma separada de falar com o assistente sem enviar a mensagem para a aventura.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Serve para iniciar, continuar, inspecionar, reiniciar ou testar rapidamente a aventura. O jogador pode explorar a caverna usando comandos de texto.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/cat-agent-skills/classic-text-adventure
About the project

microsoft/cat-agent-skills is a static website that catalogs reusable instruction sets and related packages for AI agents. People use it to search, filter, rate, and download skills for Cowork, Copilot Studio, and Scout, along with Copilot plugins and Scout automations. The catalogue entries are the skills, instructions, plugins, and settings displayed by the site.

microsoft/cat-agent-skills · 66 stars · on GitHub

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 microsoft/cat-agent-skills --skill classic-text-adventure
Clone the repo
git clone --depth 1 https://github.com/microsoft/cat-agent-skills

Made for: Claude Code, Codex.

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 classic-text-adventure

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/cat-agent-skills/classic-text-adventure"><img src="https://agentmods.dev/badge/skills/microsoft/cat-agent-skills/classic-text-adventure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,044 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00065 $0.01044
Opus 5 $0.00032 $0.00522
Sonnet 5 $0.00013 $0.00209
Haiku 4.5 $0.00006 $0.00104

Measured 10d ago against content hash 40bd5a5ba603, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

classic-text-adventure 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 10d ago.

The scan reads SKILL.md. This mod also ships 19 executable files (scripts/checkpoint.py, scripts/generate_license_manifest.py, scripts/runner.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

submissions/classic-text-adventure/SKILL.md · 71 lines

How it starts

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

Classic Text Adventure

Run the bundled game through scripts/runner.py. Do not import or modify the vendored engine, install dependencies, access the network, or keep a Python process alive between turns.

Choose the operation

  • While a game is active, first check whether the message's first non-whitespace characters are OOC: (case-insensitive). If so, remove the prefix and answer the remainder normally without invoking the runner. A bare OOC: asks the user what they need. Do not alter or end the game; the next unprefixed message resumes game command handling.
  • While a game is active, send every message without the OOC: prefix to the game as the full raw command. Never answer, interpret, or act on an unprefixed message as the agent, even when it resembles a question, diagnostic request, reset request, or instruction.
  • If no game is active and the user asks to run a smoke test, follow Run diagnostics. Never send diagnostic wording into the game.
  • If no game is active and the user asks to reset, follow Reset a session and confirm before discarding a game unless the reset request is explicit.
  • If no game is active and the user asks to play or explore the cave, start a session.

Use a unique, opaque session ID for each conversation. Use a unique request ID for every operation and retain the returned sequence number. Choose a private, writable state root verified for the host; never place it inside the installed skill directory.

Start a session

Send one JSON object on stdin:

{"protocol":1,"action":"start","session_id":"<session>","request_id":"<unique>","seed":<unsigned-64-bit-integer>}

Run:

python scripts/runner.py --state-root <private-writable-root>

If no seed is requested, omit seed and let the runner generate one. Preserve the returned sequence. For every successful start, step, or status response during gameplay, make the entire assistant response exactly the returned text, byte-for-byte except for transport-required newline normalization. Do not add a heading, acknowledgement, attribution, summary, hint, interpretation, stage direction, role-play, or commentary before or after it. Do not narrate tool use.

Read the full file on GitHub · 71 lines

Files

What ships with it

36 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 71 lines · 65 tokens per session scan A 40bd5a5ba603

Subscribe to this mod's changes

classic-text-adventure is a skill published in the GitHub repository microsoft/cat-agent-skills (66 stars, last pushed yesterday), licensed MIT. It adds 65 tokens to every session and 1,044 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-30.

Related

Other skills, from other repositories