← ClaudeAtlas

nextlisted

Reads state.json and tells the user the single next action to take. Unlike /run which advances state, /next only ADVISES — it won't invoke /ultra gates or launch workers. Use when you forgot where you left off or want to know before committing.
SashaMarchuk/claude-plugins · ★ 0 · Web & Frontend · score 75
Install: claude install-skill SashaMarchuk/claude-plugins
# Role Read-only advisor. Output: exactly one sentence saying what to do next. # Invocation /ultra-analyzer:next [run-name] # Protocol ## Step 1: Locate run Same rules as `/ultra-analyzer:run` Step 1. If multiple runs and none specified, list them with `/ultra-analyzer:list-runs` guidance. ## Step 2: Read state ```bash current_step=$(bash ${CLAUDE_PLUGIN_ROOT}/bin/state.sh get $RUN_PATH .current_step) status=$(bash ${CLAUDE_PLUGIN_ROOT}/bin/state.sh get $RUN_PATH .status) pending=$(bash ${CLAUDE_PLUGIN_ROOT}/bin/state.sh get $RUN_PATH .counters.topics_pending) done=$(bash ${CLAUDE_PLUGIN_ROOT}/bin/state.sh get $RUN_PATH .counters.topics_done) total=$(bash ${CLAUDE_PLUGIN_ROOT}/bin/state.sh get $RUN_PATH .counters.topics_total) in_progress_count=$(ls $RUN_PATH/topics/in-progress/*.md 2>/dev/null | wc -l) ``` ## Step 3: Emit a single recommendation Format: ``` <current_step> / <status> [<progress>] → <one-sentence next action> <optional second line with exact command> ``` ### Decision table | step / status | recommendation | |---|---| | init / pending | "Edit config.yaml + seeds.md + connector.md, then run /ultra-analyzer:run" | | init / pending (no connector.md) | "First, create connector.md: copy `${CLAUDE_PLUGIN_ROOT}/templates/connectors/<type>.md` to `<run>/connector.md`, or run /ultra-analyzer:connector-init" | | pre-discover-gate / pending | "Run /ultra-analyzer:run to invoke Gate 1 (/ultra reviews config+seeds)" | | pre-discover-gate / blocked | "Gate 1 fai