/sunstack:nextfrom sunstack
Rank the best next actions for this Sunstack team across setup, what waits on the user, blocked work, board drift and this session's work, then hand the top one to its skill. Use for "sunstack next", "/sunstack:next", "what should I do next", "what needs doing on the team", "what needs me". By default it covers this session, its own work in the project it runs in. The whole team is `--team`. "Across all teams" or "everything that needs me" is `sunstack org --attention`.
Ships in sunstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Command: sunstack next. Skill: /sunstack:next in Claude Code, $sunstack:next in Codex.
sunstack next is about this session. Choose the scope by what the user asked, not by
guess:
sunstack/PROTOCOL.md in this folder or above): this session's own
list. A session holding an agent sees the team's broken checks, then that agent's next board
entry, then its other items. A free session sees its own inbox and open tasks. One
line counts the rest of the team.--team: the whole team's list. A plain terminal with no session gets it too.--root "<dir>": that team's list, from anywhere.sunstack org --attention: what waits on the user in every team on this host and the
org's other hosts. Use it only when the user asks about all teams or everything.--all: every item instead of the top five, for any of the above.sunstack command on its own, with nothing chained after it.amend, hire, rename,
fire, kill, direct, answer, halt) without the user's explicit choice for that item.sunstack next
It prints the top five for the scope above, ranked, each with a do: line:
[broken]: a failed check, a halted team, or this host's missing permission rules[user]: waits on the user: asks, approvals, migration, decisions, sessions at a prompt,
agent and free sessions idle over 24h and panes whose CLI exited (in a team), a newer
release, mail held on the hub[blocked]: work waiting on another agent, late key results, tasks open too long, and
outside a team the tasks this session sent that have no reply yet[drift]: boards to fix at the owner's next save: unaligned, unverified, stale, untidy[yours]: this session's own next board entry when it holds an agent; outside a team, a
message waiting in this session's inbox (sunstack check --session)After the list, a This session: line appears when this session has a Sunstack name (its
agent's <project>/<id>:<task>, or a free session's title) and its title differs. Its do:
is for the user: /rename <title>, in Claude Code or Codex. You cannot rename
the session yourself.
Lead with this conversation. In one line, name the next step for what this conversation is doing in this project, and the Sunstack skill that fits it, with its arguments: for example the as skill for a free session doing an agent's work, the save skill for an agent session with progress not saved yet, the send skill for work another agent owns. Skip the line when the conversation has no work in progress, and when the team is halted: then lead with the halt and offer no new work until the user lifts it.
Then give the list in plain words, one line each, in its order. Group several asks from the
same agent into one line. Say what the user gains by doing the first one. Mention the
--team and "elsewhere" count lines once, without listing those items.
Then the This session: line, if any, as the step the user takes.
Offer this conversation's next step first when the report led with one, else the list's first
item. Ask: do it / pick another / stop. On yes, hand over to the skill that owns it, by its do::
sunstack answer ..., asks, approvals of rule changes: the board skill (asks) or the save
skill (Proposals, run by the agent that owns them)sunstack update: the health skillsunstack clean (sessions idle over 24h, exited panes): the clean skillsunstack attach ..., sunstack hub held, another host: the org skillsunstack tasks, blocked work, a session to reach: the org skill, or the send skill for
a question to the owner--all lists them): the board skill's align stepsunstack halt --off[yours]: carry on with that entry as this agent and save when it moves; for a waiting
message, the check skillsunstack org --attention" line: mention the count once; run
it only if the user asksAfter the item is done, run sunstack next again and offer the new first item.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lucklyric/sunstack --plugin sunstack21 skills in this plugin
/asTake on a Sunstack agent identity (for example builder.alice) in this project, alone or alongside sessions already working as it, or recover the identity this session already holds. Use for "sunstack as", "/sunstack:as", "take on the builder agent", "which Sunstack agent should I be", "sunstack whoami", "which agent am I", or after compaction or /clear lost the session state. Only in projects with a Sunstack team (sunstack/PROTOCOL.md)./boardShow and align the Sunstack team's objectives and key results across the user and every agent, with dependencies, stale or overdue entries and unfollowed directives. Use for "sunstack board", "/sunstack:board", "the team's OKRs", "the team's dependencies", "align the team". Not the ranked to-do list (next skill)./Other plugins' skills for the same job