Repository navigation
dev-brain as a Claude Code plugin: install from GitHub, zero-cost workflows - #2
Merged
Merged
Conversation
core/ is now the only source, in the formats the agents share: AGENTS.md for rules and Agent Skills for workflows and skills. install.py links or translates it for OpenCode, Claude Code, Codex CLI and Cursor; Claude Code and Codex get a local plugin marketplace built in build/. The injected state comes from one script, core/bin/dev-brain-context, used by every adapter, and the rules tell the agent to read the state when no hook can. The read-only reviewer is enforced where the agent allows it: OpenCode permissions, Claude Code tool list; on Codex 0.164 the role's sandbox_mode is not applied to spawned agents, so it is an instruction there, and Cursor is untested. evals/offline/check.py now checks every agent CLI it finds against a mock model that speaks the chat, messages and responses formats; results and limits are in evals/results.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sm3JtGSXFLR6CZYVJXGHtU
Adds a section with the start command per agent, what it creates and why the other workflows depend on it. The offline check now verifies that start is available in OpenCode, Claude Code, Codex and Cursor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sm3JtGSXFLR6CZYVJXGHtU
The user works with Claude Code only. The repository is now a plugin marketplace: two commands install it from GitHub, with no installer, build step or CLAUDE.md edit. One SessionStart hook injects the rules and the project state; workflows are skills that cost no context until invoked. The plan workflow is gone in favour of the native, enforced plan mode, and duplicated templates are gone in favour of the start skill. Core files keep standard formats, so another agent remains an adapter away. Docs are rewritten for one agent and results.md is a decision log; the offline check targets Claude Code only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sm3JtGSXFLR6CZYVJXGHtU
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sm3JtGSXFLR6CZYVJXGHtU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does
Builds on #1 (merged). Three commits: an exploration of all four agents, a README fix for
start, and the final shape. The user works with Claude Code only, so the multi-agent adapters were removed and the kit is now a Claude Code plugin.claude plugin marketplace add Stcant/agents-platformthenclaude plugin install dev-brain@dev-brain. No installer, no build step, no edit toCLAUDE.mdor settings.SessionStarthook injects the global rules and the project state (3000-char budget; a notice above it). It runs at startup, resume,/clearand compaction./dev-brain:start,resume,handoff,impact,learn,review) are skills withdisable-model-invocation: zero context cost until invoked.plan(the native plan mode is read-only by enforcement), duplicated templates, and the OpenCode/Codex/Cursor adapters. Core files keep standard formats, so another agent stays an adapter away.results.mdis now a decision log, down from 22 KB to about 6 KB.Evidence
python3 evals/offline/check.pygave ALL PASS twice against Claude Code 2.1.310 with a mock model (zero tokens). The plugin was also installed straight from this branch on GitHub and run on hph: rules, hph state, theresumeworkflow and hph'sAGENTS.mdall reached the session.Not verified
Related: Stcant/HPH#10 adopts hph.
https://claude.ai/code/session_01Sm3JtGSXFLR6CZYVJXGHtU
Generated by Claude Code