demoverse AGENTS.md

demoverse AGENTS.md is an instructions file for Codex, OpenCode from calven-ai/demoverse. It costs 3,266 tokens per session, scanned A, original, MIT.

A set of instructions for coding agents working with Demoverse, a TypeScript simulation where software handles structured world data and the agent writes the decisions and descriptions. It defines how the two parts exchange requests.

In plain words
What is it for?
Use it when an agent needs to operate Demoverse, follow its generation-request protocol, interpret directives, write responses, and update direction or trend files.
Why use it?
It prevents the agent from changing work that the engine should control, or leaving the engine to handle judgment and prose. It gives agents a consistent process for setting up and running a simulated world.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

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.

agentmods
npx agentmods add instructions/calven-ai/demoverse/agents-md
Clone the repo
git clone --depth 1 https://github.com/calven-ai/demoverse

Made for: 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 demoverse AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/calven-ai/demoverse/agents-md.svg)](https://agentmods.dev/instructions/calven-ai/demoverse/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/calven-ai/demoverse/agents-md"><img src="https://agentmods.dev/badge/instructions/calven-ai/demoverse/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,266 This file is loaded in full into every session.
When invoked 3,266 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.03266 $0.03266
Opus 5 $0.01633 $0.01633
Sonnet 5 $0.00653 $0.00653
Haiku 4.5 $0.00327 $0.00327

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

Security

Grade A, and why

demoverse 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 6d 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 · 233 lines

How it starts

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

AGENTS.md: how a coding agent drives Demoverse

Demoverse is operated by a coding agent, not just a human. The deterministic TypeScript engine does all the mechanical, error-prone work; the agent does the judgment and the prose. This file is the contract for that handoff, readable by any agent tool (Claude Code, Codex, Cursor, Copilot, …). Three parts:

  1. The engine contract. The split of responsibilities, and the generation-request protocol that is the core loop.
  2. The onboarding playbook. Walking a new user from a fresh clone to a living world. /setup in Claude Code runs this; other agents follow it directly.
  3. Per-tool notes.

Part 1: The engine contract

The split (don't cross it)

Deterministic engine (code) Agent (you)
Ledger I/O, ids, referential integrity Interpreting directives + nudges
Simulation clock, trend evaluation Choosing nothing structural (the code already did)
Sampling the world (accounts/contacts/deals/competitors) Writing the prose for each emitted request
Schema validation, coherence lint, reports Editing state/directives.md + state/trends.json when direction changes
Reconcile (CRM/Drive/Slack upserts via the connector registry) n/a

You never hand-edit state/world.json. Structure is the code's job. You only: (1) fill generation requests, and (2) when the operator sets new direction, update state/directives.md + state/trends.json.

The generation-request protocol (the core loop)

  1. Plan. Run npm run pipeline for one living increment on demand (it equals npm run apply -- --weeks=1). Plain npm run apply generates only the periods the real calendar has produced, and -- --backfill covers the first big run. The engine advances the world: a couple of new deals, each open deal moved along its own cycle (usually one stage, more for a short deal, none at all for one that has gone quiet), closes for the deals whose cycle is up. Then it writes a request bundle holding only the touch points those events earned, 1–3 per deal. Never a deal's whole history; that is what --backfill-touchpoints is for.
    state/requests/<periodIndex>/manifest.json        # index of all requests
    state/requests/<periodIndex>/<artifactId>.prompt.md
    state/requests/<periodIndex>/results/             # ← you write here
    
  2. Fill. Each .prompt.md is fully grounded in the exact ledger facts. For every request in manifest.json, read the prompt and write the result:
    • output: markdown → write results/<artifactId>.md (the artifact body).
    • output: slack_messages → write results/<artifactId>.json as {"messages":[{"personaHandle":"…","text":"…"}, …]}.
    • output: email_thread → write results/<artifactId>.json as {"emails":[{"from":"…","to":["…"],"subject":"…","body":"…","date":"YYYY-MM-DD","contactRef":"…"}, …]} (one object per message, in send order).
  3. Ingest. Run npm run apply -- --ingest --reconcile. The engine validates each result, files markdown into state/content/, attaches Slack messages and email threads onto their artifacts, and reconciles into every connector that is enabled and has credentials. Anything that fails validation stays planned and reappears in the next bundle. Refill it and re-ingest.
  4. Verify. Run npm run lint. Fix any error findings by editing the result and re-ingesting. The cause is usually a missing competitor name or win/loss reason in the prose.

Read the full file on GitHub · 233 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. 6d ago First seen · 233 lines · 3,266 tokens per session scan A eaa8a19a0478

Subscribe to this mod's changes

demoverse AGENTS.md is an instructions file published in the GitHub repository calven-ai/demoverse (2 stars, last pushed 2d ago), licensed MIT. It adds 3,266 tokens to every session, about $0.0163 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.

Related

Other instructions, from other repositories

b2b-sdr-hermes-skill AGENTS.md

Instructions for iPythoning/b2b-sdr-hermes-skill, covering agents.md — b2b-sdr-hermes-skill, 开始工作前:接续三步(必做), 结束工作前:收尾三件套(必做), 验证命令(共同基线) and 决策记录(adr).

iPythoning/b2b-sdr-hermes-skill · 880 tokens

mcp-hubspot CLAUDE.md

Claude Code instructions for baryhuang/mcp-hubspot, covering claude.md, project overview, development commands, installation and setup and install in development mode.

baryhuang/mcp-hubspot · 1,470 tokens

b2b-sdr-hermes-skill copilot-instructions.md

Instructions for iPythoning/b2b-sdr-hermes-skill: 本仓库的权威协作守则是 AGENTS.md;当前任务状态见 docs/HANDOFF.md。 开始任何工作前请先阅读这两个文件,并遵守其中的"接续三步 / 收尾三件套"协议。.

iPythoning/b2b-sdr-hermes-skill · 54 tokens

b2b-sdr-hermes-skill CLAUDE.md

Instructions for iPythoning/b2b-sdr-hermes-skill: 本仓库的权威协作守则是 AGENTS.md;当前任务状态见 docs/HANDOFF.md。 开始任何工作前请先阅读这两个文件,并遵守其中的"接续三步 / 收尾三件套"协议。.

iPythoning/b2b-sdr-hermes-skill · 54 tokens

b2b-sdr-hermes-skill GEMINI.md

Instructions for iPythoning/b2b-sdr-hermes-skill: 本仓库的权威协作守则是 AGENTS.md;当前任务状态见 docs/HANDOFF.md。 开始任何工作前请先阅读这两个文件,并遵守其中的"接续三步 / 收尾三件套"协议。.

iPythoning/b2b-sdr-hermes-skill · 54 tokens

unity-code-style-guide AGENTS.md

Instructions for krogh-jacobsen/unity-code-style-guide, covering agents.md — unity 6 c, project setup — edit this block, never do these — they corrupt the project, deprecated in unity 6 and if you read nothing else.

krogh-jacobsen/unity-code-style-guide · 4,528 tokens