cloud-harness-mcp: Instructions file for Codex

AGENTS.md

cloud-harness-mcp AGENTS.md is an instructions file for Codex, OpenCode from bestagentkits/cloud-harness-mcp. It costs 3,140 tokens per session, scanned B, original, MIT.

A set of project instructions for contributors working on Cloud Harness MCP, a private coding harness that runs repository-controlled work in a constrained executor. It explains the project's purpose, security model, architecture, and change workflow.

In plain words
What is it for?
Finding the correct files before changes, understanding trust and isolation rules, checking the MCP contract, and following the project's development workflow.
Why use it?
It directs contributors to the right documents and code while preserving important safety boundaries.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 cloud-harness-mcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bestagentkits/cloud-harness-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/bestagentkits/cloud-harness-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,140 This file is loaded in full into every session.
When invoked 3,140 The same file — it is already loaded in full.
Security scan B 2 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.03140 $0.03140
Opus 5.5 $0.01256 $0.01256
Sonnet 5.5 $0.00628 $0.00628
Haiku 4.5 $0.00314 $0.00314

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

Security

Grade B, and why

cloud-harness-mcp AGENTS.md scanned grade B with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

keeps going. Never move the deploy back into the SSH/sudo session; sudo kills

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- The `curl ... port 3100` lines before the canary are the expected readiness
AGENTS.md · 204 lines

How it starts

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

Cloud Harness MCP collaborator guide

Purpose and authority

Cloud Harness MCP is intentionally a private, single-owner remote coding harness. Preserve that threat model: it permits arbitrary repository-controlled execution inside a constrained executor, but it is not a hostile multi-tenant sandbox.

Start with README.md. Read the relevant document under docs/ before changing its boundary. Code, schemas, tests, manifests, and scripts own WHAT and HOW; documentation owns WHY and WHERE. Point docs to executable owners instead of copying behavior, defaults, command inventories, or configuration.

Concern Read first Executable authority and evidence
Trust model and isolation docs/security-model.md apps/api/src/request-security.ts, apps/runner/src/workspace-service.ts, test/integration/docker-sandbox.docker.test.ts
Public MCP contract docs/mcp-api.md packages/contracts/src/, apps/api/src/mcp-server.ts, packages/contracts/test/, test/integration/
MCP Events (webhook delivery) docs/mcp-api.md, docs/security-model.md packages/contracts/src/events-api.ts, apps/api/src/events/, apps/runner/src/event-outbox.ts, apps/runner/src/mcp-event-service.ts, test/integration/mcp-events-http.test.ts
API/runner boundary docs/system-architecture.md apps/api/src/, apps/runner/src/, compose*.yaml, scripts/verify-compose-boundaries.mjs
Repository and executor behavior docs/security-model.md apps/runner/src/repository-policy.ts, worker/, runner and Docker tests
Configuration docs/configuration.md .env.example, packages/contracts/src/config.ts, apps/api/src/config.ts, apps/runner/src/config.ts, compose*.yaml
Development and verification docs/development.md package.json, .github/workflows/ci.yml, tests
Deployment and recovery docs/deployment.md, docs/operations.md, docs/troubleshooting.md deploy/, compose.production.yaml, scripts/verify-production.mjs, scripts/deploy-canary.mjs
Operator dashboard UI (legacy shell) docs/design-guidelines.md apps/api/dashboard/, apps/api/src/dashboard-router.ts, apps/api/src/dashboard-assets.ts, apps/api/test/dashboard-ui-contract.test.ts
Dashboard 2.0 (React app) docs/adr/0005-dashboard-react-rewrite.md, docs/dashboard-parity-matrix.md, docs/design-guidelines.md apps/dashboard/, apps/api/src/dashboard-react-assets.ts (manifest serving), apps/api/src/dashboard-security.ts (CSP), apps/api/src/dashboard-router.ts (BFF)
Official user docs & guides docs-site/ docs-site/, scripts/build-docs-reference.mjs, npm run docs:build
Agent skill & MCP tool guidance .agents/skills/cloudharness/SKILL.md .agents/skills/cloudharness/, plugins/cloud-harness/, packages/contracts/test/cloudharness-skill-contract.test.ts, npm run plugin:sync

Read the full file on GitHub · 204 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 Changed · +19 lines · +355 tokens per session cdb91690663e
  2. 9d ago Changed · +1 lines · +82 tokens per session 169e53610c5e
  3. 13d ago Changed · +38 lines · +464 tokens per session dad5c4d44f1e
  4. 14d ago Changed · +13 lines · +222 tokens per session scan A → B 402bdca7a193
  5. 1mo ago Changed · +12 lines · +161 tokens per session a1dd4af49a36
  6. 1mo ago Changed · +9 lines · +148 tokens per session 9a6f6b9d8744
  7. 1mo ago First seen · 112 lines · 1,708 tokens per session scan A dc75e486a9bd

Subscribe to this mod's changes

cloud-harness-mcp AGENTS.md is an instructions file published in the GitHub repository bestagentkits/cloud-harness-mcp (94 stars, last pushed yesterday), licensed MIT. It adds 3,140 tokens to every session, about $0.0126 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). 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

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,786 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens