claude-octopus
CLAUDE.md4.2k starsChanged 4 months agoMITView on GitHub
Note: This file provides context when working directly in the claude-octopus repository. For deployed plugins, visual indicator instructions are embedded in each skill file (flow-discover.md, flow-define.md, flow-develop.md, flow-deliver.md, skill-debate.md). When executing Claude Octopus workflows, you MUST display visual indicators so users know which AI providers are active and what costs they're incurring. Display indicators when: - Invoking any /octo: command - Running orchestrate.sh with any workflow (probe, grasp, tangle, ink, embrace, etc.) - User triggers workflow with "octo" prefix ("octo…
- Reads credentials
Trending
More talk lately.about the whole repository
Who's talking about nyldn/claude-octopus
- hashgraph-online/awesome-codex-plugins“Add Claude Octopus — multi-LLM orchestration plugin”GitHub · Mar 29, 2026 · 3 reactions
- @andybrnr.bsky.social“Since individual models have their blind spots, ensembling different coding agents can lead to more robust …”Bluesky · Mar 31, 2026 · 2 likes
- A Hacker News story“Multi-tentacled orchestrator for Claude Code”Hacker News · Mar 18, 2026 · 1 points
- sudosubin/agents.nix“codex-plugins.github.nyldn.claude-octopus: init at 11.10.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-plugins.github.nyldn.claude-octopus: init at 11.10.0”GitHub · Oct 4, 2026
The biggest 5 of 36 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 36
Talked about on GitHub, Bluesky and Hacker News (36 times).
On GitHub · 33
- Mar 29, 2026Add Claude Octopus — multi-LLM orchestration plugin — hashgraph-online/awesome-codex-plugins3 reactions · 6 comments
- Oct 4, 2026codex-plugins.github.nyldn.claude-octopus: init at 11.10.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-plugins.github.nyldn.claude-octopus: init at 11.10.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.nyldn.claude-octopus: init at 11.10.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.nyldn.claude-octopus: 11.8.1 → 11.10.0 — sudosubin/agents.nix0 reactions
28 more on GitHub
- Oct 2, 2026Upstream sync — 2026-10-03 — AlobarQuest/claude-octopus0 reactions · 5 comments
- Sep 30, 2026agent-skills.github.nyldn.claude-octopus: init at 11.8.1 — sudosubin/agents.nix0 reactions
- Sep 26, 2026Upstream sync — 2026-10-01 — AlobarQuest/claude-octopus0 reactions · 13 comments
- Sep 24, 2026Upstream sync — 2026-09-24 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 23, 2026Upstream sync — 2026-09-23 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 22, 2026Upstream sync — 2026-09-22 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 21, 2026Upstream sync — 2026-09-21 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 20, 2026Upstream sync — 2026-09-20 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 19, 2026Upstream sync — 2026-09-19 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 18, 2026Upstream sync — 2026-09-18 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Sep 8, 2026Upstream sync — 2026-09-13 — AlobarQuest/claude-octopus0 reactions
- Sep 7, 2026Upstream sync — 2026-09-07 — AlobarQuest/claude-octopus0 reactions · 2 comments
- Aug 19, 2026[WR] implement claude octopus as a github action -- — midnghtsapphire/revvel-standards0 reactions · 27 comments
- Jul 9, 2026Update codex marketplace selector for octo — nyldn/plugins0 reactions · 1 comment
- Jun 30, 2026Upstream sync — 2026-09-06 — AlobarQuest/claude-octopus0 reactions · 37 comments
- Jun 19, 2026Upstream sync — 2026-06-27 — AlobarQuest/claude-octopus0 reactions · 11 comments
- Jun 15, 2026Upstream sync — 2026-06-19 — AlobarQuest/claude-octopus0 reactions · 1 comment
- Jun 14, 2026Upstream sync — 2026-06-14 — AlobarQuest/claude-octopus0 reactions
- Jun 12, 2026Upstream sync — 2026-06-13 — AlobarQuest/claude-octopus0 reactions · 1 comment
- Jun 10, 2026Upstream sync — 2026-06-11 — AlobarQuest/claude-octopus0 reactions
- Jun 9, 2026Upstream sync — 2026-06-09 — AlobarQuest/claude-octopus0 reactions
- May 7, 2026Add report: Analyzing Claude Octopus — zarguell/research-reports0 reactions
- Apr 24, 2026task: expose Codex/Gemini CLI runtime info like claude-octopus — pureliture/ai-cli-orch-wrapper0 reactions
- Apr 13, 2026Audit candidate: nyldn/claude-octopus — xiaolai/nlpm0 reactions · 8 comments
- Apr 6, 2026Audit candidate: nyldn/claude-octopus — xiaolai/nlpm0 reactions · 3 comments
- Mar 23, 2026Research: Notable concepts & workflows from the Claude Code plugin ecosystem — aiocean/claude-plugins0 reactions · 1 comment
- Jan 18, 2026feat: Add enhanced error messages with troubleshooting steps — wolverin0/claude-skills0 reactions · 1 comment
- Jan 18, 2026feat: Add atomic state writes with file locking — wolverin0/claude-skills0 reactions · 1 comment
On Bluesky · 2
- Mar 31, 2026Since individual models have their blind spots, ensembling different coding agents can lead to more robust results. See e.g. Claude… — @andybrnr.bsky.social2 likes and reposts
- Jun 11, 2026https://github.com/nyldn/claude-octopus — @tom-doerr.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Mar 18, 2026Multi-tentacled orchestrator for Claude Code1 point
In this repository123 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- skill-extractSkill
- flow-defineSkill
- flow-deliverSkill
- flow-developSkill
- flow-discoverSkill
- flow-parallelSkill
- flow-specSkill
- skill-agent-topologySkill
- octopus-architectureSkill
- skill-auditSkill
- skill-authoringSkill
- skill-code-reviewSkill
- skill-content-pipelineSkill
- skill-context-detectionSkill
- skill-copilot-providerSkill
- skill-cost-projectionsSkill
- skill-coverage-auditSkill
- skill-debateSkill
- skill-debugSkill
- skill-decision-supportSkill
- skill-deckSkill
- octopus-researchSkill
- skill-design-lineageSkill
- skill-doc-deliverySkill
- skill-doc-syncSkill
- skill-doctorSkill
- skill-factorySkill
- skill-finish-branchSkill
- skill-intakeSkill
- skill-intent-contractSkill
- skill-issuesSkill
- skill-iterative-loopSkill
- skill-knowledge-workSkill
- skill-meta-promptSkill
- skill-native-escalation-routingSkill
- skill-parallel-agentsSkill
- skill-prdSkill
- skill-pressure-testSkill
- skill-prototypeSkill
- octopus-quickSkill
- skill-resumeSkill
- skill-review-responseSkill
- skill-rollbackSkill
- octopus-security-auditSkill
- skill-security-framingSkill
- skill-shipSkill
- skill-staged-reviewSkill
- skill-statusSkill
- skill-task-managementSkill
- skill-tddSkill
- skill-thought-partnerSkill
- octopus-ui-ux-designSkill
- skill-verification-gateSkill
- skill-visual-feedbackSkill
- skill-work-slicingSkill
- skill-writing-plansSkill
- sys-configureSkill
- The first 60 shown.
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
19 rules. About 0 are common, 8 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 9
When executing Claude Octopus workflows, you MUST display visual indicators so users know which AI providers are active and what costs …
- Very specific: line 57
When OCTOPUS_COMPACT_BANNERS=true is set, use a condensed single-line banner instead:
- Distinctive: line 112
When showing results from each provider, prefix with their indicator:
- Distinctive: line 184
Only create files in the plugin directory that are:
- Very specific: line 188
Test files in tests/ directory
- Distinctive: line 192
If you need to track progress or create working files:
- Very specific: line 226
Before running workflows, check provider availability with scripts/helpers/check-providers.sh, which is the single source of truth for how …
- Distinctive: line 230
If a provider is unavailable, note it in the banner:
- Distinctive: line 242
Always be mindful that external CLIs cost money:
- Very specific: line 277
When a Fable pin is detected through OCTOPUS_OPUS_MODEL, OCTOPUS_CLAUDE_SDK_MODEL, OCTOPUS_CLAUDE_MODEL, or CLAUDE_MODEL, orchestrate.sh …
- Very specific: line 283
Prompt hygiene (not machine-enforced): never ask Fable 5 to reveal or transcribe its reasoning (triggers the reasoning_extraction refusal), …
- Very specific: line 318
Pre-check: Run check-providers.sh to detect available providers before dispatch
- Very specific: line 319
Dispatch: Call orchestrate.sh probe-single per provider via background Agent subagents
- Very specific: line 320
Validate: After dispatch, verify synthesis files exist (find ~/.claude-octopus/results/ -name "probe-synthesis-*" -mmin -10)
- Distinctive: line 321
Fail loud: If no synthesis files found, report "VALIDATION FAILED — multi-LLM dispatch did not execute" instead of silently falling back to …
- Very specific: line 338
After changing commands, skills, agents, plugin metadata, release notes, models, providers, or public facts: run make sync.
- Very specific: line 348
Never hand-write component counts into plugin.json's description.
- Very specific: line 355
Never put generated text or Markdown directly in shell GitHub-body arguments such as --body or -f body=.
- Distinctive: line 367
Use GitHub issues and pull requests for public work tracking.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Claude Octopus - System Instructions
Note: This file provides context when working directly in the claude-octopus repository. For deployed plugins, visual indicator instructions are embedded in each skill file (flow-discover.md, flow-define.md, flow-develop.md, flow-deliver.md, skill-debate.md).
Visual Indicators (MANDATORY)
When executing Claude Octopus workflows, you MUST display visual indicators so users know which AI providers are active and what costs they're incurring.
Indicator Reference
| Indicator | Meaning | Cost Source |
| 🐙 | Claude Octopus multi-AI mode active | Multiple APIs |
| 🔴 | Codex CLI executing | User's OPENAI_API_KEY |
| 🧭 | Antigravity CLI executing | User's Antigravity access/subscription |
| 🟣 | Perplexity Sonar web search | User's PERPLEXITY_API_KEY |
| 🔵 | Claude subagent processing | Included with Claude Code |
When to Display Indicators
Display indicators when:
- Invoking any
/octo:command - Running
orchestrate.shwith any workflow (probe, grasp, tangle, ink, embrace, etc.) - User triggers workflow with "octo" prefix ("octo research X", "octo build Y")
- Executing multi-provider operations
Provider emoji are required in status banners, provider rows, compact banners, and result attribution labels. Narrative prose may use provider names without emoji.
Required Output Format
Before starting a workflow, output this banner:
🐙 **CLAUDE OCTOPUS ACTIVATED** - [Workflow Type]
[Phase Emoji] [Phase Name]: [Brief description of what's happening]
Providers:
🔴 Codex CLI - [Provider's role in this workflow]
🧭 Antigravity CLI - [Provider's role in this workflow]
🔵 Claude - [Your role in this workflow]Phase emojis by workflow:
- 🔍 Discover/Probe - Research and exploration
- 🎯 Define/Grasp - Requirements and scope
- 🛠️ Develop/Tangle - Implementation
- ✅ Deliver/Ink - Validation and review
- 🐙 Debate - Multi-AI deliberation
- 🐙 Embrace - Full 4-phase workflow
Compact Mode
When OCTOPUS_COMPACT_BANNERS=true is set, use a condensed single-line banner instead:
🐙 Discover — Multi-provider research | 🔴🧭🔵This is preferred for repeat users who don't need the full provider block every time.
Examples (Standard Mode)
Research workflow:
🐙 **CLAUDE OCTOPUS ACTIVATED** - Multi-provider research mode
🔍 Discover Phase: Researching OAuth authentication patterns
Providers:
🔴 Codex CLI - Technical implementation analysis
🧭 Antigravity CLI - Ecosystem and community research
🔵 Claude - Strategic synthesisBuild workflow:
🐙 **CLAUDE OCTOPUS ACTIVATED** - Multi-provider implementation mode
🛠️ Develop Phase: Building user authentication system
Providers:
🔴 Codex CLI - Code generation and patterns
🧭 Antigravity CLI - Alternative approaches
🔵 Claude - Integration and quality gatesReview workflow:
🐙 **CLAUDE OCTOPUS ACTIVATED** - Multi-provider validation mode
✅ Deliver Phase: Reviewing authentication implementation
Providers:
🔴 Codex CLI - Code quality analysis
🧭 Antigravity CLI - Security and edge cases
🔵 Claude - Synthesis and recommendationsDebate:
🐙 **CLAUDE OCTOPUS ACTIVATED** - AI Debate Hub
🐙 Debate: Redis vs Memcached for session storage
Participants:
🔴 Codex CLI - Technical perspective
🧭 Antigravity CLI - Ecosystem perspective
🔵 Claude - Moderator and synthesisDuring Execution
When showing results from each provider, prefix with their indicator:
🔴 **Codex Analysis:**
[Codex findings...]
🧭 **Antigravity Analysis:**
[Antigravity findings...]
🔵 **Claude Synthesis:**
[Your synthesis...]Why This Matters
Users need to understand:
- What's running - Which AI providers are being invoked
- Cost implications - External CLIs (🔴 🧭) may use provider access or incur cost
- Progress tracking - Which phase of the workflow is active
Without indicators, users have no visibility into what's happening or what they're paying for.
Provider Readiness Contract
Provider Registry 2.0 is the authority for provider identity, capabilities,
authentication mode, detection, and health routing. Use
scripts/helpers/check-providers.sh for the documented machine-readable
admission protocol or scripts/helpers/preflight.sh --json for structured
readiness objects.
Static checks are local-only. Live checks run only after an explicit --live
request and must remain bounded. Doctor, setup, preflight, and provider
detection render the shared result objects; they must not independently probe
binaries, credentials, models, quota, or provider services. Diagnostics belong
on stderr, and readiness output must never contain credential values.
File Creation Policy (CRITICAL)
NEVER create temporary, progress, or working files in the plugin directory.
Prohibited File Patterns
The following file types MUST NEVER be created in the plugin directory:
PHASE*_PROGRESS.md- Phase progress trackingPHASE*_COMPLETE.md- Phase completion markers*_PROGRESS.md- Any progress tracking files*_TODO.md- Working todo lists*_NOTES.md- Development notesscratch_*.md- Scratch filestemp_*.md- Temporary filesWIP_*.md- Work-in-progress markers
Where to Create Working Files
Use the scratchpad directory for ALL temporary/working files:
# Scratchpad directory (auto-managed by Claude Code)
~/.claude/scratchpad/[session-id]/
# Example paths
~/.claude/scratchpad/abc123/phase1-progress.md
~/.claude/scratchpad/abc123/implementation-notes.md
~/.claude/scratchpad/abc123/todo-list.mdPlugin Directory: Permanent Files Only
Only create files in the plugin directory that are:
- Part of the permanent codebase (commands, skills, agents, hooks)
- User-facing documentation (README.md, CHANGELOG.md, docs/)
- Build/config files (package.json, tsconfig.json, .gitignore)
- Test files in
tests/directory
Enforcement
If you need to track progress or create working files:
- Always use the scratchpad directory
- Never commit working files to git
- Reference scratchpad files by full path when discussing them
Example - WRONG:
# ❌ Never do this
echo "Progress: 50%" > PHASE1_PROGRESS.mdExample - CORRECT:
# ✅ Always do this
echo "Progress: 50%" > ~/.claude/scratchpad/$(cat ~/.claude/session-id)/phase1-progress.mdWorkflow Quick Reference
| Command/Trigger | Workflow | Indicators |
octo research X | Discover | 🐙 🔍 🔴 🟡 🔵 |
octo define X | Define | 🐙 🎯 🔴 🟡 🔵 |
octo build X | Develop | 🐙 🛠️ 🔴 🟡 🔵 |
octo review X | Deliver | 🐙 ✅ 🔴 🟡 🔵 |
octo debate X | Debate | 🐙 🔴 🟡 🔵 |
/octo:embrace X | All 4 phases | 🐙 (all phase emojis) |
Provider Detection
Before running workflows, check provider availability with
scripts/helpers/check-providers.sh, which is the single source of truth for
how each provider is detected (binary presence, API key, and auth state).
If a provider is unavailable, note it in the banner:
Providers:
🔴 Codex CLI - [role] (unavailable - skipping)
🧭 Antigravity CLI - [role]
🔵 Claude - [role]Cost Awareness
Always be mindful that external CLIs cost money:
- 🔴 Codex: ~$0.01-0.30 per query depending on model (GPT-5.6 Sol $4/$20 MTok — frontier default, Terra $2/$12, Luna $0.20/$1.20). Explicit-only GPT-6 Astra costs $10/$50; above 272K input tokens its full request uses 2x input and 1.5x output pricing.
- 🧭 Antigravity CLI (
agy): Included with the user's Antigravity access/subscription; backend cost depends on selectedOCTOPUS_AGY_MODEL. Because Antigravity's model list is service-owned, explicit pins should use labels returned byagy models(for exampleGemini 3.5 Flash (Low)) ordefault/agy/defaultto use the CLI default. - 🟣 Perplexity: ~$0.01-0.05 per query (Sonar Pro $3/$15 MTok, Sonar $1/$1 MTok)
- 🔵 Claude (Sonnet 5.5, default on Claude Code v2.1.284+): Standard Claude seat, $2/$10 per MTok; Sonnet 5 and legacy fallbacks remain available. Included where the user's Claude Code subscription covers it
- 🔵 Claude (Fable 5.1, Mythos-class, opt-in via
OCTOPUS_OPUS_MODEL=claude-fable-5-1): $10/$50 per MTok. 1M context, 128K output. Never auto-selected. The preservedclaude-fable-5ID remains supported. Note: Anthropic retains prompts/outputs up to 30 days for safety classifiers. When pinned, apply the dispatch profile inskills/blocks/fable5-prompting.md(prompt anti-patterns, effort discipline, refusal fallback, judgment routing). - 🔵 Claude (Opus 5.5, default when
SUPPORTS_OPUS_5_5=true, Claude Code v2.1.280+): $4/$20 per MTok input/output. 1M context, 128K output. Thinking is always on; the API default effort ismedium. - 🔵 Claude (Opus 5, default when
SUPPORTS_OPUS_5=trueand Opus 5.5 is unavailable): $5/$25 per MTok input/output. 1M context, 128K output. Usehigheffort by default; raise it only for a bounded capability-sensitive step. - 🔵 Claude (Opus 5 Fast): $10/$50 per MTok — 2x standard cost. Use only when latency matters.
- 🔵 Claude (Opus 4.7, legacy/current-minus-one): $5/$25 per MTok input/output. Used automatically on Claude Code versions before 2.1.154 when supported.
- 🔵 Claude (Opus 4.6, legacy): $5/$25 per MTok — still selectable via
OCTOPUS_OPUS_MODEL=claude-opus-4.6orclaude-opus-legacyagent type - 🔵 Claude (Opus 4.6 Fast, legacy): $30/$150 per MTok (6x standard) — lower latency, extra-usage billing for pinned 4.6 sessions.
- 🟤 OpenCode: Variable cost — free for native models, uses backend provider pricing when routing to OpenAI/Google
Note: API availability and subscription/OAuth availability differ by model and account. GPT-5.6 routing requires Codex CLI v0.144.0+; Astra requires v0.153.1+ and fails closed when the installed version cannot be identified.
Host-seat Fable 5.1 pins require Claude Code v2.1.255 or newer so the client recognizes the model and its 1M context window. The independent claude-agent SDK path instead requires CLAUDE_SDK_API_KEY and the claude-agent executable, with no Claude Code version floor. Its headless claude CLI fallback must be v2.1.255 or newer.
For simple tasks that don't need multi-AI perspectives, suggest using Claude directly without orchestration.
Opus 5.5 and Opus 5 Effort Levels
The plugin keeps automatic phase routing at high for Opus 5.5 on Claude Code v2.1.280+ and Opus 5 on v2.1.219+. Opus 5.5's API default is medium; use OCTOPUS_EFFORT_OVERRIDE for a bounded step, or OCTOPUS_OPUS5_AUTO_XHIGH=1 to restore the legacy automatic xhigh behavior:
- probe / discover —
high - grasp / define —
high - tangle / develop —
high - ink / deliver —
high
xhigh falls back to high on older models where Claude Code does not expose it. Override per-session with OCTOPUS_EFFORT_OVERRIDE=low|medium|high|xhigh|max.
Fable 5.1 Effort and Refusal Handling (opt-in pin only)
The phase table above is Opus guidance and does not carry over to a claude-fable-5-1 or preserved claude-fable-5 pin. On Fable, run high everywhere: effort applies per tool call, so xhigh does not extend runs — it makes each step overthink and widen scope. Raise effort only for a single capability-sensitive step.
When a Fable pin is detected through OCTOPUS_OPUS_MODEL, OCTOPUS_CLAUDE_SDK_MODEL, OCTOPUS_CLAUDE_MODEL, or CLAUDE_MODEL, orchestrate.sh auto-enables three guards via scripts/lib/fable5.sh and prints a one-line banner (OCTOPUS_FABLE5_MODE=off disables ordinary-pin guards; =on forces them):
- Security reroute — by default, security-audit dispatches (security-auditor role, squeeze workflow) do not run on Fable; the model resolver and dispatch swap in
claude-opus-5.OCTOPUS_FABLE5_MODE=offis an explicit exception for ordinary pins, while exact model-qualified Fable security seats still fail closed. - Effort clamp —
xhigh/maxclamp tohighfor opus-seat Fable dispatches, including explicitOCTOPUS_EFFORT_OVERRIDEvalues. - Refusal retry — the claude-sdk shim retries a refused/empty Fable 5 dispatch once on
claude-opus-5(OCTOPUS_FABLE5_NO_RETRY=1to opt out,OCTOPUS_FABLE5_FALLBACK_MODELto pin another fallback) instead of rewording the prompt toward the classifier.
Prompt hygiene (not machine-enforced): never ask Fable 5 to reveal or transcribe its reasoning (triggers the reasoning_extraction refusal), avoid token countdowns, and drop "CRITICAL"/"MUST" emphasis unless strict compliance is required. Full profile: skills/blocks/fable5-prompting.md.
Legacy Fast Opus preference
Claude's spawned --print CLI does not expose a supported --fast flag.
OCTOPUS_OPUS_MODE=fast remains recognized as a legacy preference, but it logs
a compatibility warning and uses standard subprocess dispatch. It does not
select a faster or higher-priced subprocess tier. OCTOPUS_OPUS_MODE=standard
also uses the standard command contract. Use OCTOPUS_OPUS_MODEL to pin a
specific supported model.
Dynamic Workflows (Claude Code v2.1.154+)
Claude Code dynamic workflows are the right native path for huge single-Claude codebase migrations. Use Octopus when the job needs multi-provider disagreement, council deliberation, adversarial review, external model validation, or provider-specific blind-spot checks. Do not wrap a native dynamic workflow inside Octopus unless the handoff boundary is explicit.
Auto Memory & Persistent Memory Integration (Claude Code v2.1.32+, enhanced in v2.1.33+)
Claude Code's auto memory (~/.claude/projects/.../memory/MEMORY.md) persists across conversations. When SUPPORTS_PERSISTENT_MEMORY is detected (v2.1.33+), memory persistence is guaranteed across sessions. Record the following in auto memory:
- User's preferred autonomy mode (interactive vs autonomous workflow execution)
- Provider availability (which CLIs are installed, auth methods configured)
- Frequently used commands (e.g., user prefers
/octo:quickover full embrace) - Past project contexts (tech stack, coding conventions, deployment targets)
- Model preferences (whether user prefers Opus 4.6 for premium tasks)
This enables faster workflow startup by skipping provider detection and preference questions in subsequent sessions.
Enforcement Best Practices
Skills use the Validation Gate Pattern to ensure multi-LLM dispatch actually executes:
- Pre-check: Run
check-providers.shto detect available providers before dispatch - Dispatch: Call
orchestrate.sh probe-singleper provider via background Agent subagents - Validate: After dispatch, verify synthesis files exist (
find ~/.claude-octopus/results/ -name "probe-synthesis-*" -mmin -10) - Fail loud: If no synthesis files found, report "VALIDATION FAILED — multi-LLM dispatch did not execute" instead of silently falling back to Claude-only
Developer reference (modular config, E2E testing, enforcement patterns): see
docs/DEVELOPER.md
Repo Orientation for Agents (read before editing)
The rules below encode failures that have already cost real CI rounds. Every one is enforced by a CI check; none of them is guesswork.
Derived artifacts (never hand-edit)
| Generated file | Regenerate with | CI check that fails if stale |
.claude-plugin/marketplace.json (octo description + counts) | ./scripts/sync-marketplace.sh | Smoke job "Verify marketplace.json is up to date" |
README.md, .claude-plugin/README.md, and PRODUCT.md current facts | ./scripts/sync-readme.py (included in make sync) | tests/unit/test-readme-release-sync.sh |
After changing commands, skills, agents, plugin metadata, release notes, models,
providers, or public facts: run make sync. During development, run focused
suites. Before an ordinary branch push, run make ci-changed; its checked-in
manifest always runs sync, smoke, packaging, and reachability checks and fails
closed to the full matrix for shared or unmapped changes. Before merge and
release, run make ci-local for sync-check plus the local smoke, unit, and
integration suites. Run the separate portability and symlink jobs in hosted CI.
Hard rules (each one has broken a real PR)
- Never hand-write component counts into
plugin.json's description; the marketplace generator appends its own counts and--checkfails on the collision. The generator derives the marketplace blurb fromplugin.json's description — to change it, editplugin.jsonand runmake sync, nevermarketplace.jsonitself. - Shell scripts and Python helpers stay
100755. Verify before push:git diff origin/main...HEAD --summary | grep "mode change"must be empty. CI enforces this (Portability Lint job;allow-mode-changePR label bypasses when intentional). Local test runs (make ci-local, some unit suites) chmod test fixtures as a side effect — recheck modes after every local test run, not just after editing. - Provider case globs are order-sensitive:
claude-sdk*must appear beforeclaude*. A shadowed arm fails silently. - Provider identity and capabilities belong in both registry tables. Keep the
rows in parity and let
octo_provider_validate_contractsreject incomplete registrations. - In shell, quote env assignments as whole arguments:
"SOME_API_KEY=${VAR}", notSOME_API_KEY="${VAR}". The expert-review secret scanner false-positives on the latter. - Never put generated text or Markdown directly in shell GitHub-body arguments such as
--bodyor-f body=. Stream it to./scripts/safe-gh-comment.sh --repo OWNER/REPO ... -on stdin (or pass a private file); the helper snapshots and validates outbound text before a silent write. - CI waiters must assert the named required checks (Smoke Tests, Unit Tests, Integration Tests) are PRESENT and terminal.
all(.bucket != "pending")over an empty list is vacuously true and fires instantly. - Timeout-test fixtures must run LONGER than the pass bound, or a broken timeout false-passes. A test must be able to fail; prove it can.
- Tag releases on the squash-merge commit on
main, never on the branch head. Full release procedure:RELEASING.md. - Fork PRs stall at
action_requiredafter every push; approve withgh api -X POST repos/nyldn/claude-octopus/actions/runs/<id>/approve. - Provider wiring is a 7-point checklist across 5 files:
docs/PROVIDERS.md. Do not wing it from one example. - MCP provider environment names come from
config/provider-env-allowlist.json; keep its adapter tests green when it changes.
Tracking and continuity
Use GitHub issues and pull requests for public work tracking. Do not commit
local tracker databases, credentials, generated session state, or private
handoff files to this repository. At session start, read this file,
AGENTS.md, git status, and the relevant issue or pull request. For
model-routing work, also read docs/MODEL-ROUTING-STRATEGY.md. Before handoff,
record verified tests and the exact commit or pull request state in the
conversation or pull request description.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

