multi-clone-code: Instructions file for Claude Code

CLAUDE.md

multi-clone-code CLAUDE.md is an instructions file for Claude Code from maflot/multi-clone-code. It costs 363 tokens per session, scanned A, original, MIT.

Instructions for a shell-based tool that coordinates multiple Claude Code sessions across local tmux panes and remote SSH hosts. tmux is a terminal tool for running several sessions, while SSH connects to remote computers.

In plain words
What is it for?
Use it when changing the orchestrator, its YAML session registry, briefing prompts, shared context, synchronization runs, or cross-project summaries.
Why use it?
It provides the project’s layout, session configuration, communication method, and rules for coordinating work without background services or message brokers.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code.

This is maflot/multi-clone-code's own configuration. It tells Claude Code how to work on multi-clone-code 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 multi-clone-code configures →

Reuse

Borrowing it

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

Made for: Claude Code.

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 multi-clone-code CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/maflot/multi-clone-code/claude-md/github.svg)](https://agentmods.dev/instructions/maflot/multi-clone-code/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/maflot/multi-clone-code/claude-md"><img src="https://agentmods.dev/badge/instructions/maflot/multi-clone-code/claude-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 multi-clone-code CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/maflot/multi-clone-code/claude-md"><img src="https://agentmods.dev/badge/instructions/maflot/multi-clone-code/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 363 This file is loaded in full into every session.
When invoked 363 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.00363 $0.00363
Opus 5.5 $0.00145 $0.00145
Sonnet 5.5 $0.00073 $0.00073
Haiku 4.5 $0.00036 $0.00036

Measured 2mo ago against content hash 3471c3591b29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

multi-clone-code 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 2mo 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 · 32 lines

What it actually says

Multi-Claude Orchestra

Shell-based orchestrator for managing multiple Claude Code sessions across local tmux panes and remote SSH hosts.

Architecture

  • orchestra.sh — Main CLI. All commands dispatch through here.
  • config.yaml — Session registry (hosts, paths, tmux names, roles, dependencies).
  • prompts/ — Briefing templates (insight.md, dream.md, custom/).
  • shared/CONTEXT.md — Auto-generated global state, updated by orchestra sync.
  • runs/ — Timestamped sync outputs.
  • summary/ — Latest cross-project summary.
  • briefings/ — Logged briefings sent to sessions.

Key Design Decisions

  • No daemons or message brokers. Everything is tmux + SSH ControlMaster + shared filesystem.
  • Python3 for YAML parsing only. The rest is pure bash.
  • SSH ControlMaster sockets live in ~/.ssh/sockets/. User authenticates once interactively, orchestrator rides the socket. Sessions use ControlPersist=4h.
  • Health detection via tmux capture-pane + pattern matching on last N lines.
  • claude -p (print mode) is used for non-interactive insight collection during sync.
  • tmux send-keys is used for interactive briefings to running sessions.

Working on This Repo

  • Test config parsing: ./orchestra.sh status (with example sessions uncommented).
  • All session commands accept a session name or all.
  • When adding new commands, follow the cmd_<name> pattern and register in main().
  • Health check patterns may need tuning for different Claude Code versions.
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. 2mo ago First seen · 32 lines · 363 tokens per session scan A 3471c3591b29

Subscribe to this mod's changes

multi-clone-code CLAUDE.md is an instructions file published in the GitHub repository maflot/multi-clone-code (2 stars, last pushed 7mo ago), licensed MIT. It adds 363 tokens to every session, about $0.0015 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-08-31.

Related

multi-clone-code CLAUDE.md compared with instructions from other repositories

multi-clone-code CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
multi-clone-code CLAUDE.mdmaflot/multi-clone-codeInstructions file27mo agoMITA363Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot