Sunstack
Sunstack is a plugin for Claude Code and Codex that manages the agent layer of a project. It lets you hire a team of role agents (builder, reviewer, and others), give the team and each agent project-level constraints called pillars, and align everyone, you included, on dated objectives and key results. Each agent keeps a board of what it is doing and a persistent context of what it has learned.
Status: early. Team, identity, boards, self-improvement, messaging and the dashboard work.
Principles
- A CLI does the deterministic work, the model does the judgment. One
sunstack binary handles claims, commits, locks and installs. The plugin holds only thin skills that call it.
- Everything lives in the project.
sunstack/ holds the team pillars, the team board (BOARD.md: your objectives, your own key results, your directives) and one folder per agent (AGENT.md, optional pillars.md, board.md, context.md, threads/, archive/), committed with git.
- Everything is dated. Every board, context and archive entry starts with a date, so staleness shows and old entries move to a monthly archive that is never loaded, only consulted.
- Host-local state stays out of git. Claims, inboxes, locks, snapshots and the event log live in
sunstack/_local/.
- The user approves every self-improvement. Agents write their own context automatically. A change to an agent's pillars or
AGENT.md is only a proposal until the user approves it, and both Claude Code and Codex prompt before sunstack amend runs.
- Agents are like people. Several sessions can work as one agent at once, each on its own key result and named
<id>_<task>; shared files merge through checked commits, and contradictions go to you.
Install
curl -fsSL https://raw.githubusercontent.com/Lucklyric/sunstack/main/install.sh | sh
sunstack install
The first line puts the sunstack binary in ~/.local/bin. The second adds the plugin to Claude Code and Codex (whichever are on your PATH, or pick one with --claude / --codex). For Claude Code it also offers permission rules: allow Bash(sunstack *), so you are not asked before every call, and ask before sunstack amend, hire, rename, fire, kill, clean --yes, direct, answer and halt, and before a host joins or leaves an org (org join, org leave, org trust, hub init, hub invite, hub revoke). For Codex it writes ~/.codex/rules/sunstack.rules with the same asks.
Keep it current with sunstack update. Remove it with sunstack uninstall.
Quick start
cd your-project
sunstack init # sunstack/, the AGENTS.md block, the .gitignore line
sunstack hire builder alice # or ask an agent to recruit one from a description
sunstack # the team dashboard
sunstack next # what to do now, ranked, each with its command
Then, in Claude Code, /sunstack:as builder.alice (in Codex, $sunstack:as builder.alice).
Commands and skills
Skills run as /sunstack:<name> in Claude Code and $sunstack:<name> in Codex. Each skill has the name of the command it runs and drives it with the right questions (save, wrap, verify and formal-verify are skills only):