microsandbox: Instructions file for Codex

AGENTS.md

microsandbox AGENTS.md is an instructions file for Codex, OpenCode from superradcompany/microsandbox. It costs 5,656 tokens per session, scanned A, original, Apache-2.0.

A set of contribution instructions for the Microsandbox repository, a project with Rust, TypeScript, command-line, runtime, and shared-library components. It explains the project map, design principles, and compatibility-review expectations.

In plain words
What is it for?
Use it when editing or reviewing Microsandbox code, documentation, tests, examples, CI, or release files.
Why use it?
It helps coding agents understand which package owns a change and follow repository rules such as checking status and not publishing or reverting work without permission.

Instructions file for CodexOpenCode

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

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

About the project

Microsandbox is a runtime and library that runs untrusted workloads inside small virtual machines (microVMs), providing hardware-level isolation while supporting standard container images. It is for AI agents, user code, plugins, CI jobs, development environments, scrapers, and automation, and its catalogue instruction helps agents create and use these sandboxes.

superradcompany/microsandbox · 8,956 stars · on GitHub · docs.microsandbox.dev

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/superradcompany/microsandbox/agents-md"><img src="https://agentmods.dev/badge/instructions/superradcompany/microsandbox/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,656 This file is loaded in full into every session.
When invoked 5,656 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.05656 $0.05656
Opus 5.5 $0.02262 $0.02262
Sonnet 5.5 $0.01131 $0.01131
Haiku 4.5 $0.00566 $0.00566

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

Security

Grade A, and why

microsandbox 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 7d 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 · 403 lines

How it starts

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

AGENTS.md

These instructions are only for agents contributing changes to this repository. Do not apply them to other repositories or to general agent behavior outside this contribution workflow.

Scope

  • Follow these guidelines when editing code, docs, tests, examples, CI, or release files for microsandbox.
  • Prefer repository conventions over generic agent habits. When unsure, inspect nearby files and match their style.
  • Do not create branches, commit, push, tag, publish, or open pull requests unless the human explicitly asks.
  • Check git status --short --branch before making changes. Do not overwrite or revert user work unless explicitly asked.

Project Map

  • sdk/rust is the public Rust SDK crate.
  • crates/cli contains the msb CLI.
  • crates/runtime contains VM runtime integration.
  • crates/filesystem, crates/image, crates/network, crates/db, crates/migration, crates/metrics, crates/metrics-collector, crates/protocol, and crates/utils are shared internal crates.
  • packages/agent-client and packages/microsandbox-types are the shared agent-protocol client and wire-contract type packages, each with Rust and TypeScript implementations.
  • crates/agentd is the in-guest agent. It is a workspace member; the musl guest binary that ships in releases is built separately.
  • sdk/python, sdk/node-ts, and sdk/go contain the language SDKs and native bindings.
  • docs/ contains the documentation site. Keep docs in sync with user-facing behavior.
  • examples/ contains runnable examples. Add new example projects only when requested or clearly required by the contribution.
  • mcp/ and skills/ are submodules related to agent integrations.
  • vendor/libkrunfw is a submodule for the kernel firmware library.

Repository layout:

.
|-- AGENTS.md
|-- Cargo.lock
|-- Cargo.toml
|-- COMPATIBILITY.md
|-- DEVELOPMENT.md
|-- Dockerfile.agentd
|-- justfile
|-- msb-entitlements.plist
|-- assets/
|-- crates/
|   |-- agentd/
|   |-- cli/
|   |-- db/
|   |-- filesystem/
|   |-- image/
|   |-- metrics/
|   |-- metrics-collector/
|   |-- migration/
|   |-- network/
|   |-- protocol/
|   |-- runtime/
|   |-- testing/
|   |   |-- init/
|   |   |-- macros/
|   |   `-- utils/
|   `-- utils/
|-- docs/
|   |-- changelog/
|   |-- cli/
|   |-- getting-started/
|   |-- images/
|   |-- networking/
|   |-- observability/
|   |-- recipes/
|   |-- sandboxes/
|   |-- sdk/
|   `-- security/
|-- examples/
|   |-- python/
|   |-- rust/
|   `-- typescript/
|-- mcp/
|   |-- bin/
|   |-- src/
|   `-- package.json
|-- packages/
|   |-- agent-client/
|   `-- microsandbox-types/
|-- packaging/
|   `-- docker/
|-- scripts/
|   `-- smoke/
|-- sdk/
|   |-- go/
|   |-- node-ts/
|   |-- rust/
|   `-- python/
|-- skills/
|   `-- microsandbox/
`-- vendor/
    `-- libkrunfw/

Read the full file on GitHub · 403 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. 7d ago Changed · +6 lines · +126 tokens per session aa3d651fd706
  2. 21d ago Changed · +1 lines · +43 tokens per session ddccf2abd6cc
  3. 27d ago Changed · +8 lines · +321 tokens per session 4670e9eb3a12
  4. 29d ago Changed · +8 lines · +268 tokens per session 24ef8a810eca
  5. 1mo ago Changed · +23 lines · +532 tokens per session 223e8fca2509
  6. 1mo ago Changed · +2 lines · +10 tokens per session c534d4805653
  7. 1mo ago Changed · +4 lines · +221 tokens per session 593aaad96944
  8. 1mo ago Changed · +14 lines · +483 tokens per session c1e36b201eac
  9. 2mo ago First seen · 337 lines · 3,652 tokens per session scan A c8ade3155e3a

Subscribe to this mod's changes

microsandbox AGENTS.md is an instructions file published in the GitHub repository superradcompany/microsandbox (8,956 stars, last pushed yesterday), licensed Apache-2.0. It adds 5,656 tokens to every session, about $0.0226 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

microsandbox AGENTS.md compared with instructions from other repositories

microsandbox AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
microsandbox AGENTS.mdsuperradcompany/microsandboxInstructions file9.0kyesterdayApache-2.0A5,656Codex, 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