sandbox-infra: Instructions file for Codex

AGENTS.md

sandbox-infra AGENTS.md is an instructions file for Codex, OpenCode from moru-ai/sandbox-infra. It costs 2,473 tokens per session, scanned A, original, Apache-2.0.

A repository instruction file for Moru's sandbox infrastructure, which runs code in isolated virtual machines on Google Cloud. It documents environment switching, authentication, infrastructure setup, testing, builds, and local services.

In plain words
What is it for?
Running tests and integration tests, building services, generating code, formatting and linting, changing environments, starting local infrastructure, and managing the Go services.
Why use it?
It gives coding agents the project-specific commands and operating context needed to work safely in this codebase.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 sandbox-infra AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/moru-ai/sandbox-infra/agents-md.svg)](https://agentmods.dev/instructions/moru-ai/sandbox-infra/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/moru-ai/sandbox-infra/agents-md"><img src="https://agentmods.dev/badge/instructions/moru-ai/sandbox-infra/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,473 This file is loaded in full into every session.
When invoked 2,473 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.02473 $0.02473
Opus 5 $0.01236 $0.01236
Sonnet 5 $0.00495 $0.00495
Haiku 4.5 $0.00247 $0.00247

Measured 8d ago against content hash 724d38e91a5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

sandbox-infra 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 8d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 309 lines

How it starts

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

This file provides guidance to all coding agents working with code in this repository.

Project Overview

Moru Sandbox Infrastructure is the backend infrastructure powering Moru (moru.io), a cloud platform for secure code execution. It provides sandboxed execution environments using Firecracker microVMs, deployed on GCP using Terraform and Nomad.

Common Development Commands

Setup & Environment

# Switch between environments (prod, staging, dev)
make switch-env ENV=staging

# Setup GCP authentication
make login-gcloud

# Initialize Terraform
make init

# Setup local development stack (PostgreSQL, Redis, ClickHouse, monitoring)
make local-infra

Building & Testing

# Run all unit tests across packages
make test

# Run integration tests
make test-integration

# Build specific package
make build/api
make build/orchestrator

# Generate code (proto, SQL, OpenAPI)
make generate

# Format and lint code
make fmt
make lint

# Regenerate mocks
make generate-mocks

# Tidy go dependencies
make tidy

Running Services Locally

# From packages/api/
make run-local          # Run API server on :3000
make dev                # Run with air (hot reload)

# From packages/orchestrator/
make run-local          # Run orchestrator
make run-debug          # Run with race detector

Package-Specific Commands

# API: Generate OpenAPI code
cd packages/api && make generate

# Orchestrator: Generate proto + OpenAPI
cd packages/orchestrator && make generate

# DB: Run migrations
make migrate

# Run single test
cd packages/<package> && go test -v -run TestName ./path/to/package

Deployment

# Build and upload all services to GCP
make build-and-upload

# Build specific service
make build-and-upload/api
make build-and-upload/orchestrator

# Plan Terraform changes
make plan                    # All changes
make plan-without-jobs       # Without Nomad jobs
make plan-only-jobs          # Only Nomad jobs

# Apply changes
make apply

Read the full file on GitHub · 309 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. 8d ago First seen · 309 lines · 2,473 tokens per session scan A 724d38e91a5a

Subscribe to this mod's changes

sandbox-infra AGENTS.md is an instructions file published in the GitHub repository moru-ai/sandbox-infra (11 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 2,473 tokens to every session, about $0.0124 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.

Related

Other instructions, from other repositories