microsandbox AGENTS.md

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

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/superradcompany/microsandbox/agents-md
Clone the repo
git clone --depth 1 https://github.com/superradcompany/microsandbox

Made for: Codex, OpenCode.

Per session 3,652 This file is loaded in full into every session.
When invoked 3,652 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 $0.03652 $0.03652
Opus 5 $0.01826 $0.01826
Sonnet 5 $0.00730 $0.00730
Haiku 4.5 $0.00365 $0.00365

Measured yesterday against content hash c8ade3155e3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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 · 337 lines

How it starts

The opening of the file, as written. The whole thing — 337 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 · 337 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 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,034 stars, last pushed today), licensed Apache-2.0. It adds 3,652 tokens to every session, about $0.0183 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.