hello-nested-worlds-adventure: Instructions file for Claude Code

AGENTS.md

hello-nested-worlds-adventure AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from mark-weeks/hello-nested-worlds-adventure. It costs 4,330 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for the Hello Nested Worlds Adventure project. They say the main working rules are in a file called CLAUDE.md, including rules for safe changes, repeatable results, testing, change logs, and decision records.

In plain words
What is it for?
They are for guiding development in that repository, including startup checks, testing, documentation, and architectural decisions.
Why use it?
They tell the coding agent which project rules to read and follow before planning or editing code.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: SessionStart hook event, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is mark-weeks/hello-nested-worlds-adventure's own configuration. It tells Claude Code, Codex and OpenCode how to work on hello-nested-worlds-adventure itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hello-nested-worlds-adventure configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mark-weeks/hello-nested-worlds-adventure. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mark-weeks/hello-nested-worlds-adventure/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/mark-weeks/hello-nested-worlds-adventure

Made for: Claude Code, Codex, OpenCode.

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 hello-nested-worlds-adventure AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mark-weeks/hello-nested-worlds-adventure/agents-md/github.svg)](https://agentmods.dev/instructions/mark-weeks/hello-nested-worlds-adventure/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/mark-weeks/hello-nested-worlds-adventure/agents-md"><img src="https://agentmods.dev/badge/instructions/mark-weeks/hello-nested-worlds-adventure/agents-md/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 hello-nested-worlds-adventure AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mark-weeks/hello-nested-worlds-adventure/agents-md"><img src="https://agentmods.dev/badge/instructions/mark-weeks/hello-nested-worlds-adventure/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,330 This file is loaded in full into every session.
When invoked 4,330 The same file — it is already loaded in full.
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.04330 $0.04330
Opus 5.5 $0.01732 $0.01732
Sonnet 5.5 $0.00866 $0.00866
Haiku 4.5 $0.00433 $0.00433

Measured 3d ago against content hash 1959fb9274b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hello-nested-worlds-adventure AGENTS.md 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 3d 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.

AGENTS.md · 283 lines

How it starts

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

Working in Enfolded

This file is the shared engineering contract for Codex, GitHub Copilot, and Claude Code. CLAUDE.md imports it for compatibility. Maintain shared rules here and in the matching skill. Use an already-loaded copy; follow task-specific pointers as needed. Supporting procedures are not required startup reading.

Enfolded is a persistent multiverse inhabited by human players and agents. The covenants below define correctness across agents and models. Use the referenced code and decisions for the area being changed; unrelated work does not require a full roadmap, CHANGELOG, or ADR review.

World covenants (the rules that never made it into a spec)

These are house taste, encoded once at a point of use and easy to break by a well-meaning change. Honour them; a reviewer would catch a violation, so catch it first.

  • Every player owns their actions. Human and AI players may suggest, invite, persuade or refuse; one player cannot select another as the performer or force their consent. Check this at acceptance, not only in the interface. A model proposal is not another player's decision. Earlier recorded events stay truthful.
  • Extend or replace an experience; never duplicate it. One player purpose has one interaction surface in each client. New action capabilities belong in Act, conversation in Speak, and history in its existing views. Do not add a parallel composer, quest controller, or status pane for the same function. Use progressive disclosure; no preselected action plan or compulsory story route.
  • Scale is meaning, not decoration. New verbs must change real properties at their own scale; sound must distinguish scales through musical form and timbre, with within-scale differences grounded in node state. Generic operations renamed per scale or one score transposed at every level do not satisfy this contract.
  • The seal never imprisons. A locked (sealed) subtree never traps someone already inside it. puzzles/gates.py (# already inside — the seal never imprisons).
  • Difficulty is per-node, never a depth curve. Traversal is non-linear — players drop in at any scale — so scale sets a puzzle's flavour, never how hard it is; each node draws its own 1–4 difficulty from its identity. puzzles/generators.py (node_difficulty), README puzzle row.
  • Failure stays in fiction — on every authored surface. Anything a player reads as the world's voice speaks in fiction: AI/budget/kill-switch paths return HTTP 200 with ai: false and an authored line of silence (consciousness.LEVEL_FALLBACKS, fallback_voice, guard.QUIET_RESPONSE), image failures answer the authored quiet line with images: false (handlers._IMAGE_QUIET_LINE — never "FAL_KEY not set" or a raw upstream error), and rate-limit denials carry the pace line (handlers._PACE_LINE) because both clients render error text verbatim. Transport-level refusals sit outside the fiction by scoped decision (2026-07-18 evaluation §4): the invite-gate 403, payload 413, malformed-body 400, and WS-cap 503 are plumbing a browser client never surfaces — they may stay mechanical, but must be clean JSON. What is never acceptable: a stack trace, or a 5xx for a client-shaped mistake (malformed bodies and non-string answers are the client's 400/200, guarded by tests/test_guard.py::TestBodyShapeRobustness).
  • The chronicle blurs; live presence may distinguish. Whether a trace was left by human or agent is deliberately left open — one ledger voices them the same way, and /chronicle carries no actor-type flag. Live presence is the scoped exception, decided when the travelers panel shipped (PR #59) and made explicit on 2026-07-18: the panel persona-tags the walking cast and routes presences to /agent/voice vs /speak, because addressability needs an addressee. Don't extend taxonomization into the chronicle, history feeds, or node voices. README concept, docs/evaluation/2026-07-04-deep-evaluation.md G1.
  • Agent solves don't count as human progress. An ambient/FSM agent standing on a puzzle never claims a co-op session, opens a seal, or lights a constellation. persistence/__init__.py (Agent solves (payload carries "agent")), CHANGELOG constellations entry.
  • The chronicle is append-only; three sanctioned mechanisms, no more. Never delete or rewrite world_mutations rows in application code. Abuse is handled by content-level redaction (python main.py redact, runbook §7 — mechanical fields survive so counters and epochs stay intact); pruning exists but is double-gated behind NESTED_WORLDS_MUTATION_TTL_DAYS and NESTED_WORLDS_ALLOW_HISTORY_PRUNE=1 (and prune_mutations() must never be called directly); whole-DB restore (python main.py restore) is the disaster path, not an edit path. persistence/__init__.py redaction section, fly-deployment.md §7.

Read the full file on GitHub · 283 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. 3d ago Changed · +14 lines · +266 tokens per session 1959fb9274b5
  2. 5d ago Changed · +261 lines · +3,985 tokens per session cf62d1f2d7b0
  3. 1mo ago Changed · -6 lines · -68 tokens per session 61f8b3ec19fc
  4. 2mo ago First seen · 14 lines · 147 tokens per session scan A 4b73ec5438b4

Subscribe to this mod's changes

hello-nested-worlds-adventure AGENTS.md is an instructions file published in the GitHub repository mark-weeks/hello-nested-worlds-adventure (5 stars, last pushed 2d ago), licensed Apache-2.0. It adds 4,330 tokens to every session, about $0.0173 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens