Give your coding agent a task. It coordinates the work and checks the result.
bigbrain is a skill for coding agents. The main agent acts as the lead: it makes the decisions and hands exploration, implementation, verification, and review to subagents. For a feature, fix, refactor, or chore, you get an open pull request with the decisions and the proof that it works.
/bigbrain add a CSV export to the invoices list
Heavily inspired by pstack by poteto (Lauren Tan).
npx skills add LeoMartinDev/skills -gThen, optionally, choose models for each role:
/bigbrain setup
Works with Claude Code, Cursor, Delta, omp, opencode, Pi, and Zed. In omp, use /skill:bigbrain. Update with npx skills update bigbrain -g.
Write a request after /bigbrain. It also accepts a GitHub issue URL, a Notion page, or a saved plan.
| What you want | Example |
|---|---|
| Build a feature or a chore | /bigbrain add a CSV export to the invoices list |
| Fix a bug | /bigbrain the dashboard total is off by one cent |
| Refactor | /bigbrain simplify invoice calculation |
| Plan a larger change | /bigbrain plan the migration to the new numbering |
| Implement part of a plan | /bigbrain implement slice 2 of plans/numbering.md |
| Understand code | /bigbrain how does invoice numbering work? |
| Find out why code is the way it is | /bigbrain why does numbering retry three times? |
| Review a pull request | /bigbrain review PR 123 |
| Critique changes | /bigbrain critique this branch |
| Challenge an idea | /bigbrain grill my idea: cache VAT rates per org |
| Watch a pull request | /bigbrain watch-pr 123 |
| Continue earlier work | /bigbrain resume feat/csv-export |
Plans, explanations, reviews, and idea discussions stop at their result. Each link leads to the full workflow.
- It asks only what it must. A clear request runs on its own. A product or scope decision that only you can make pauses the work that depends on it.
- Every change is proven. A separate verifier runs the CI checks, the tests, and the real entry point when it can. A risky change also gets reviewers. Nothing ships without passing evidence on the current commit.
- It never merges and never force-pushes. The PR opens ready for review. Large changes become a plan of smaller PRs.
- It stops instead of looping. It retries only when something new has come up since the last attempt. Otherwise it reports what it tried.
/bigbrain review PR 123 opens the pull request as a page in your browser. You do the review; the agent explains the change and points out its doubts. It never posts anything by itself.
- Tour: the change in ten lines, then a reading path that follows the code from screen to API, with comments on the key lines and questions worth asking.
- Files: the classic view, with a file tree, full diffs, and a "viewed" checkbox.
You can comment on lines, suggest changes, and submit the review to GitHub from the page through your gh login. Keys: ← → steps, t mode, j k files, v viewed, [ sidebar. Requires Node 18+, git, and gh.
Set lasting preferences in plain language:
/bigbrain from now on, save plans as GitHub issues here
They are saved in ~/.agents/config/bigbrain.md. See configuration for every setting.
bigbrain builds on pstack: its engineering principles, its delegation model, and the format of its playbooks. bigbrain is a smaller personal take, packaged as one skill that runs in several coding agents and stops at an open pull request. It does not need pstack to work.
To work on bigbrain itself, see CONTRIBUTING.md.
