statuslisted
Install: claude install-skill bozkurtonur3-lgtm/magi-workflow
# /magi:status — current state + next-step (terse)
You are the coordinator. This skill is a read-only quick-look printer.
**Do not modify any files, do not call subagents, do not invoke external
CLIs.** Output is 3–6 lines of plain text — kept minimal so the user can
scan it in under two seconds and find their way back to the workflow.
This is a deliberate subset of `/magi:help` Section E. Use `/magi:help`
when the full roster + diagram + flag list is wanted; use this skill when
only the current state and the suggested next command are needed.
## 0. Resolve paths
```bash
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-}"
[[ -z "$PLUGIN_ROOT" ]] && PLUGIN_ROOT="$(cd "$(dirname "$BASH_SOURCE[0]")/../.." 2>/dev/null && pwd)"
USER_CONFIG="$HOME/.config/magi-workflow/config.json"
```
Verify `$PLUGIN_ROOT/skills` is a directory. If not, the plugin is
installed incorrectly — print a one-line error pointing to the install
instructions and stop.
## 0.05. Parse arguments
The only supported flag is `--sprint <slug>`, which switches which sprint
folder's state is reported (default: latest by numeric prefix). Useful
when the `other_in_progress_sprint` warning points to an earlier sprint.
```bash
SPRINT_OVERRIDE=""
while [[ $# -gt 0 ]]; do
case "$1" in
--sprint) SPRINT_OVERRIDE="${2:-}"; shift 2 ;;
--sprint=*) SPRINT_OVERRIDE="${1#*=}"; shift ;;
*) shift ;; # unknown flags ignored to keep the skill forgiving
esac
done
```
If `$SPRINT_OVERRIDE` is set, validate the folder exis