一键导入
leopold-status
Show the state of the current Leopold run: active or not, progress through the plan, decisions logged, and the most recent events.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Show the state of the current Leopold run: active or not, progress through the plan, decisions logged, and the most recent events.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Phase 1 of Leopold. A structured debate that captures the mission and your decision-making, then writes the brief (MISSION, CHARTER, GUARDRAILS, PLAN) that the autonomous run executes.
Launch a local live web dashboard to watch the current project's Leopold run — status, cost meters (context/subagents/forks), event feed, decisions, and a Stop button. Local-only (127.0.0.1), zero dependencies.
Compile a Leopold brief into a dynamic workflow and run it. The plan lives in code instead of one growing context window, every item gets an independent adversarial review, and git stays locked — nothing is committed. The workflow is resumable and shows up in /workflows.
Control plane for the global prompt enhancer: status, on/off, preview a prompt against the gate, and the learn loop that mines your enhancement ledger into proposed prompt-profile rules. Never edits PROMPT-PROFILE.md itself — you review and apply.
The self-improving charter. Mines past Leopold decisions, session corrections, and git history for recurring judgment calls, skeptic-verifies each candidate, and proposes charter amendments. Never edits CHARTER.md itself — you review and apply.
Phase 2 of Leopold. Enters autonomous mode and conducts Claude Code through the plan, deciding from the charter instead of asking, with git locked. The Stop hook keeps it going until the plan is done or a stop condition fires.
| name | leopold-status |
| version | 0.1.0 |
| description | Show the state of the current Leopold run: active or not, progress through the plan, decisions logged, and the most recent events. |
| allowed-tools | ["Read","Bash"] |
| triggers | ["leopold status","where is leopold"] |
Report the current run state. Read-only; never mutate anything.
Run:
LEO=.leopold
if [ ! -f "$LEO/state.json" ]; then echo "No Leopold run in this project."; exit 0; fi
echo "=== Leopold status ==="
jq -r '"active: \(.active) turn: \(.iteration)/\(.max_iterations) fails: \(.consecutive_failures)/\(.max_failures) started: \(.started_at // "?") stopped_reason: \(.stopped_reason // "-")"' "$LEO/state.json"
done_n=$(grep -cE '^[[:space:]]*- \[x\]' "$LEO/PLAN.md" 2>/dev/null || echo 0)
open_n=$(grep -cE '^[[:space:]]*- \[ \]' "$LEO/PLAN.md" 2>/dev/null || echo 0)
echo "plan: $done_n done, $open_n open"
echo "next open items:"; grep -E '^[[:space:]]*- \[ \]' "$LEO/PLAN.md" 2>/dev/null | head -3
dec=$(grep -cE '^## D' "$LEO/DECISIONS.md" 2>/dev/null || echo 0)
echo "decisions logged: $dec"
echo "recent events:"; tail -5 "$LEO/events.jsonl" 2>/dev/null
Then summarize in one or two plain sentences: is it running, how far through the plan, and anything notable in the recent decisions or events.