claude-octopus AGENTS.md

claude-octopus AGENTS.md is an instructions file for Codex, OpenCode from nyldn/claude-octopus. It costs 1,524 tokens per session, scanned A, original, MIT.

Repository guidance describing the coding agents available in Claude Octopus and the jobs assigned to each one.

In plain words
What is it for?
Use it to understand agent roles, available tools, agent definitions, and how the repository connects them to coding workflows.
Why use it?
It helps an agent choose the right specialist for tasks such as debugging, code review, API design, security checks, or documentation.

Instructions file for CodexOpenCode

About the project

Claude Octopus is an orchestration project that sends research, design, and coding tasks to Claude Code and other AI model providers so their results can be compared. Developers use it for multi-model work, disagreement detection, reviews, persistent context, and an optional workflow that moves from discovery through delivery. The catalogue entries are its commands, skills, agents, instructions, hooks, plugins, and settings.

nyldn/claude-octopus · 4,035 stars · on GitHub

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

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 claude-octopus AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nyldn/claude-octopus/agents-md.svg)](https://agentmods.dev/instructions/nyldn/claude-octopus/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/nyldn/claude-octopus/agents-md"><img src="https://agentmods.dev/badge/instructions/nyldn/claude-octopus/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,524 This file is loaded in full into every session.
When invoked 1,524 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.01524 $0.01524
Opus 5 $0.00762 $0.00762
Sonnet 5 $0.00305 $0.00305
Haiku 4.5 $0.00152 $0.00152

Measured yesterday against content hash c815c736c164, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-octopus 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 yesterday.

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 · 120 lines

How it starts

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

Claude Octopus Agents

This file describes the autonomous agents available in this repository for AI coding tools that support agent discovery (e.g., GitHub Copilot coding agent).

Available Agents

Agent Description Tools
backend-architect Scalable API design, microservices, distributed systems Read-only
code-reviewer Code quality, security vulnerabilities, production reliability Read-only
debugger Errors, test failures, unexpected behavior All
docs-architect Technical documentation from codebases Read + execute
frontend-developer React components, responsive layouts, client-side state All
performance-engineer Optimization, observability, scalable performance Read-only
security-auditor DevSecOps, OWASP compliance, vulnerability assessment Read-only
tdd-orchestrator Red-green-refactor discipline, test-driven development All
database-architect Data modeling, schema design, migration planning Read-only
cloud-architect AWS/Azure/GCP infrastructure, IaC, FinOps Read + execute

Agent Definitions

Agents are defined in two formats for cross-platform compatibility:

  • Claude Code: .claude/agents/*.md — YAML frontmatter with Claude Code tool names
  • GitHub Copilot: .github/agents/*.agent.md — YAML frontmatter with Copilot tool aliases

Both formats describe the same 10 agents with platform-native tool mappings:

Claude Code Tool Copilot Alias
Read read
Write, Edit edit
Bash execute
Grep, Glob search

MCP Integration

The MCP server (mcp-server/) exposes Claude Octopus workflows as MCP tools. For MCP-aware coding agents, connect to the MCP server rather than invoking agents directly.

Repo Orientation for Agents

Mirror of the "Repo Orientation for Agents" section in CLAUDE.md (keep both in sync). Essentials:

  • Derived artifacts, never hand-edit: .claude-plugin/marketplace.json (regen: ./scripts/sync-marketplace.sh) and openclaw/src/tools/index.ts (regen: ./scripts/build-openclaw.sh). scripts/sync-readme.py owns current facts across both READMEs and PRODUCT.md. Run make sync after component, metadata, release, model, or provider changes. During development use focused suites; before an ordinary branch push run make ci-changed, which fails closed to the full matrix for shared or unmapped changes. Run make ci-local before merge and release.
  • Exec bits: scripts stay 100755; git diff origin/main...HEAD --summary | grep "mode change" must be empty (CI-enforced; allow-mode-change label bypasses). Local test runs chmod test fixtures as a side effect — recheck modes after every local test run.
  • Provider wiring: 7-point checklist across 5 files, documented in docs/PROVIDERS.md. Case globs are order-sensitive (claude-sdk* before claude*).
  • Releases: follow RELEASING.md; tag the squash-merge commit on main, never the branch head.
  • Secret-scan quoting: write "SOME_API_KEY=${VAR}", not SOME_API_KEY="${VAR}".
  • Outbound GitHub text: never place generated text or Markdown directly in shell --body, -f body=, or similar arguments. Stream it to ./scripts/safe-gh-comment.sh --repo OWNER/REPO ... - on stdin (or pass a private file); the helper snapshots and validates the body before a silent GitHub write.
  • beads blocked? If bd writes are blocked by pending schema migrations, do NOT migrate; record work in the session handoff and flag the blockage.

Read the full file on GitHub · 120 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. yesterday First seen · 120 lines · 1,524 tokens per session scan A c815c736c164

Subscribe to this mod's changes

claude-octopus AGENTS.md is an instructions file published in the GitHub repository nyldn/claude-octopus (4,035 stars, last pushed yesterday), licensed MIT. It adds 1,524 tokens to every session, about $0.0076 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-09-03.