Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Lean Team?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/estebanmr99-lean-team)
---
name: lean-team
description: Start as orchestrator or orchestrate this. Coordinate workers, collect command-and-result proof, and require fresh-context reviews before reporting.
---
# lean-team
The agent the user started in is the orchestrator (the elephant). Keep the task context, define small verifiable tasks, and get human approval for the plan before implementation. Never push or merge without the user.
1. Load Orca's orchestration instructions with `orca skills get orchestration`. Resolve and invoke the Orca CLI exactly as that skill's stub directs; do not guess an executable path or flags.
2. Read `$XDG_CONFIG_HOME/lean-agents/team.json`, or `~/.config/lean-agents/team.json` when `XDG_CONFIG_HOME` is unset. Use its `worker`, `auditor`, `security`, and `po` entries. `orchestrator: {agent: "any"}` means the current session; if it names a different agent/model, tell the user to start a new session there. Skip only the `orchestrator` row: dispatch every other role as a fresh-context worker, even when its agent matches the orchestrator's own CLI. If no roster exists or Orca is unreachable, use the host harness's own subagents with the same roles and say that Orca was unavailable.
- Before any dispatch, run `orca agent installed` to list the agent CLIs on this machine.
- Show the user the installed harnesses and the current roles: peers (`auditor`, `security`, `po`) and workers (`worker` with its model). Ask them to confirm or pick the installed harness and model for peers and for workers, and whether to save the change to `team.json` or use it for this session only.
- Skip that question only when the user says "use saved roster" and the agents for `worker`, `auditor`, `security` and `po` are all installed.
3. For each task, start the rostered worker with `orca orchestration worker-start --spec "<task>" --worktree <current|new-child> --agent <agent> [--model <model>]`. Ask each worker to return the changed paths and proof as exact commands plus results. Wait for results before integrating; do not claim a check passed without its result.
4. After every diff, request fresh-context goldfish reviews: one auditor/security review and one PO review. Give each only the spec, diff, and proof; ask for missing evidence, not guesses. Resolve findings, then rerun the relevant checks.
5. Turn each repeated correction into a deterministic lint/test/hook, or make the unsafe API/pattern hard to use. Report the proof and open items; never push or merge without the user's approval.
The current session remains the orchestrator. To switch it, start a new session with the desired agent/model from the roster's `orchestratorAlternatives`; editing the roster does not switch an already-running session.