maestro CLAUDE.md

maestro CLAUDE.md is an instructions file for coding agents from mirinodev/maestro. It costs 3,926 tokens per session, scanned A, original, MIT.

A set of development instructions for Maestro, a command-line tool that manages Git worktrees—separate working folders for different branches. It documents the project, required commands, testing, building, and code-quality checks.

In plain words
What is it for?
Use it when working on Maestro to build, develop, test, type-check, lint, format, or run end-to-end tests with pnpm.
Why use it?
It gives coding agents the project’s expected workflow and prevents them from using the wrong package manager or skipping required checks. It also explains how to run individual tests.

Instructions file

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/mirinodev/maestro/claude-md
Clone the repo
git clone --depth 1 https://github.com/mirinodev/maestro

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 CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mirinodev/maestro/claude-md.svg)](https://agentmods.dev/instructions/mirinodev/maestro/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/mirinodev/maestro/claude-md"><img src="https://agentmods.dev/badge/instructions/mirinodev/maestro/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,926 This file is loaded in full into every session.
When invoked 3,926 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.03926 $0.03926
Opus 5 $0.01963 $0.01963
Sonnet 5 $0.00785 $0.00785
Haiku 4.5 $0.00393 $0.00393

Measured 4d ago against content hash 1d665fae08d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

maestro CLAUDE.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.

CLAUDE.md · 475 lines

How it starts

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

CLAUDE.md

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

Project Overview

Maestro is a CLI tool for managing Git worktrees with a conductor/orchestra theme. It helps developers work on multiple branches in parallel by creating "orchestra members" (worktrees) with integration for Claude Code, tmux, GitHub, and more.

Development Commands

IMPORTANT: This project uses pnpm exclusively. All commands must use pnpm instead of npm.

Build & Test

  • pnpm build - Build the TypeScript project using tsup
  • pnpm dev - Watch mode development using tsx
  • pnpm test - Run tests with vitest
  • pnpm test:e2e - Run end-to-end tests
  • pnpm test:coverage - Run tests with coverage report (80% minimum threshold)
  • pnpm typecheck - Type checking without emitting files

Code Quality

  • pnpm lint - ESLint checking on TypeScript files
  • pnpm lint:ci - CI-specific linting with max 26 warnings threshold
  • pnpm format - Format code with Prettier
  • pnpm prettier:check - Check code formatting

Single Test Execution

  • pnpm test -- path/to/test.test.ts - Run a specific test file
  • pnpm test -- --reporter=verbose - Run tests with detailed output

Publishing

  • pnpm changeset - Create a changeset for releases
  • pnpm version - Version bump using changesets
  • pnpm release - Build and publish to npm
  • pnpm prepublishOnly - Pre-publish hook (auto-build and generate completions)

Core Architecture

Main Components

  • CLI Entry Point: src/cli.ts - Main CLI interface using Commander.js
  • Commands: src/commands/ - Individual command implementations
  • Core Logic: src/core/ - Core Git and configuration management
  • Types: src/types/index.ts - TypeScript type definitions
  • Utils: src/utils/ - Utility functions and helpers

Key Classes

  • GitWorktreeManager (src/core/git.ts) - Git worktree operations using simple-git
  • Configuration management in src/core/config.ts
  • Individual command handlers in src/commands/

Read the full file on GitHub · 475 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 First seen · 475 lines · 3,926 tokens per session scan A 1d665fae08d2

Subscribe to this mod's changes

maestro CLAUDE.md is an instructions file published in the GitHub repository mirinodev/maestro (9 stars, last pushed 11mo ago), licensed MIT. It adds 3,926 tokens to every session, about $0.0196 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-31.

Related

Other instructions, from other repositories