statespace: Instructions file for Codex

AGENTS.md

statespace AGENTS.md is an instructions file for Codex, OpenCode from statespace-tech/statespace. It costs 849 tokens per session, scanned A, original, Apache-2.0.

Project-specific instructions for Statespace, an open-source AI runtime written in Rust. They document build, test, lint, formatting, hooks, macOS setup, and the layout of its monorepo, a repository containing multiple related packages.

In plain words
What is it for?
Use them when building, testing, linting, formatting, or navigating the Statespace Rust workspace.
Why use it?
They put the repository's commands and development requirements in one place, reducing setup mistakes and inconsistent checks.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is statespace-tech/statespace's own configuration. It tells Codex and OpenCode how to work on statespace 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 statespace configures →

Reuse

Borrowing it

Nothing to install: this file belongs to statespace-tech/statespace. 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/statespace-tech/statespace/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/statespace-tech/statespace

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 statespace AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/statespace-tech/statespace/agents-md"><img src="https://agentmods.dev/badge/instructions/statespace-tech/statespace/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 849 This file is loaded in full into every session.
When invoked 849 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.00849 $0.00849
Opus 5.5 $0.00340 $0.00340
Sonnet 5.5 $0.00170 $0.00170
Haiku 4.5 $0.00085 $0.00085

Measured yesterday against content hash adabee5d6f17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

statespace 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 yesterday.

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 · 64 lines

How it starts

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

Contributor instructions

An experiment compares commits of one app. Each arm is one commit with an exact share of the app's subjects. ssp app, ssp experiment, and ssp token call the Statespace API. ssp proxy docker, ssp proxy cloudrun, ssp proxy kubernetes, ssp proxy fargate, and ssp proxy fly run a reverse proxy in front of the app's live service. ssp proxy s3 and ssp proxy gcs serve a static site from a bucket: live is the bucket root, and each arm is a build folder (src/proxy/orchestrator/files). Every proxy instance routes requests to the arms of running experiments, in the order of statespace.toml. Only the instance that holds the app's lease starts and stops units, one for each arm of each starting or running experiment, through the Orchestrator trait in src/proxy/orchestrator. On a file runtime, every instance checks the build folders, because each instance serves the files itself.

../design/ is the source of truth for the model.

Rules

  • Use ssp <noun> <verb> <object>. The object is positional. --app names the app of an experiment or a token. Leave it optional where the folder can tell the app. ssp proxy takes no --app: Statespace tells the app of the runtime token.
  • Run alongside live, never inside it: never change a resource that ssp did not create. Each unit is a resource that ssp creates, labels, and deletes.
  • Print text by default and exactly one JSON document with --json, except ssp proxy. --json carries exactly the information of the text output, structured; never more. Send notes and warnings to standard error. Errors exit 1, as {"error": "..."} with --json.
  • Give --note (1 to 200 characters, one line) to every command that changes something.
  • Keep settings in statespace.toml. Add no proxy flag for a setting.
  • Keep commands noninteractive, except ssp login.
  • Print secrets only in the response that creates them. Never pass STATESPACE_* variables to units or live.
  • ssp proxy must never block or slow the app: drop counts rather than wait, and send a request to live rather than fail it. Build an orchestrator from its flags alone, so the proxy serves live before Statespace names the app; the calls that report live or run units take the App.
  • Never count live or overrides. Read no logs of units or live.
  • Never change the bucket function: it would move the subjects of running experiments.
  • Keep no legacy: when the design changes, remove the old way.
  • Keep the starter statespace.toml and the CI step in skills/statespace/SKILL.md current. There is no ssp init.
  • Write docs, READMEs, and skills in Simplified Technical English. Never name customers.

Read the full file on GitHub · 64 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. yesterday Changed · +1 lines · +25 tokens per session adabee5d6f17
  2. 3d ago Changed · +8 lines · +171 tokens per session cf0f3e80d739
  3. 4d ago Changed · +4 tokens per session 8635e7866bfe
  4. 8d ago Changed · +15 lines · +232 tokens per session dc6d35caa45d
  5. 13d ago Changed · +7 tokens per session 517c69382297
  6. 16d ago Changed · +1 lines · +37 tokens per session c74137debea0
  7. 22d ago Changed · -201 lines · -2,113 tokens per session d59339040f68
  8. 2mo ago First seen · 240 lines · 2,486 tokens per session scan A df1dcc6df276

Subscribe to this mod's changes

statespace AGENTS.md is an instructions file published in the GitHub repository statespace-tech/statespace (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 849 tokens to every session, about $0.0034 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-30.

Related

statespace AGENTS.md compared with instructions from other repositories

statespace AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
statespace AGENTS.mdstatespace-tech/statespaceInstructions file1yesterdayApache-2.0A849Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode