maestro: Instructions file for Codex

AGENTS.md

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

A repository-specific instruction file for contributors to the Maestro desktop app. It documents project structure, development commands, frontend and Rust work, and rules for making small, verified changes.

In plain words
What is it for?
Use it when developing Maestro's React and TypeScript frontend, Rust backend, task loops, automations, or other repository features.
Why use it?
It gives coding agents project context and guardrails so they do not guess about the codebase, modify unrelated files, or skip required checks.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/emdgroup/maestro/agents-md"><img src="https://agentmods.dev/badge/instructions/emdgroup/maestro/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,156 This file is loaded in full into every session.
When invoked 5,156 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.05156 $0.05156
Opus 5.5 $0.02062 $0.02062
Sonnet 5.5 $0.01031 $0.01031
Haiku 4.5 $0.00516 $0.00516

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

Security

Grade A, and why

maestro 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 4d 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 · 347 lines

How it starts

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

AGENTS.md

This file provides guidance to harness such as Claude Code (claude.ai/code) when working with code in this repository.

  1. Don’t assume. Don’t hide confusion. Surface tradeoffs.

  2. Minimum code that solves the problem. Nothing speculative.

  3. Touch only what you must. Clean up only your own mess.

  4. Define success criteria. Loop until verified.

Project Overview

Maestro - Tauri desktop app orchestrating autonomous AI coding agents. Users manage tasks on Kanban board, agents execute in isolated git worktrees with real-time monitoring. React + TypeScript frontend, Rust backend.

docs/automations-plan.md is the working plan for the Automations feature and the resident maestro-server it runs on. It is phased, and each phase records the decisions already locked, so read it before touching the daemon, session lifetime, or automation storage.

docs/loops-plan.md is the working plan for the Loop run mode, in which a task iterates in fresh sessions until its checks pass. It covers loop engineering concept by concept, so read it before touching the task pipeline for loops.

Development Commands

Frontend Development

bun run dev           # Start Vite dev server (port 5173)
bun run build         # TypeScript check + Vite production build
bun run test          # Run Vitest unit tests
bun run test <pattern>   # Run single test file (e.g. bun run test usePathNavigation)
bun run test:e2e      # Build the real binary and run the WebdriverIO E2E suite (needs a display)
bun run lint          # Run oxlint
bun run lint:fix      # Auto-fix lint issues
bun run format        # Check formatting with oxfmt
bun run format:fix    # Fix formatting with oxfmt

Tauri Development

bun run tauri:dev     # Start Tauri dev mode (frontend + Rust backend)
bun run tauri build   # Build production Tauri app
bun run tauri build --debug --runner cargo-xwin --target x86_64-pc-windows-msvc      # Cross-compile for Windows
bun run tauri:gen     # Regenerate TypeScript bindings from Rust models

Read the full file on GitHub · 347 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. 4d ago Changed f22d12b9eb20
  2. 9d ago First seen · 347 lines · 5,156 tokens per session scan A 3d5ac8cd9699

Subscribe to this mod's changes

maestro AGENTS.md is an instructions file published in the GitHub repository emdgroup/maestro (11 stars, last pushed 4d ago), licensed Apache-2.0. It adds 5,156 tokens to every session, about $0.0206 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-11-21.

Related

maestro AGENTS.md compared with instructions from other repositories

maestro AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
maestro AGENTS.mdemdgroup/maestroInstructions file114d agoApache-2.0A5,156Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode