用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/thewoolleyman/cxdb-graph-ui --skill kilroystatus命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Run a Kilroy pipeline for this repo.
Generate or regenerate the Kilroy pipeline DOT file from YAML config. Runs deterministic compilation, verifies correctness, and validates structure.
Build the Kilroy binary, verify CXDB is reachable on the central server via Tailscale, and verify all prerequisites for running Kilroy pipelines.
基于 SOC 职业分类
正在显示 SKILL.md
| name | kilroy:status |
| description | Check status of Kilroy runs, resume an interrupted run, or stop a running pipeline. |
| user-invocable | true |
Manage Kilroy Attractor pipeline runs. This skill handles status checks, resuming interrupted runs, and stopping running pipelines.
This repo is the current working directory. The Kilroy binary is at ../kilroy/kilroy.
List existing Kilroy run directories:
ls -la ~/.local/state/kilroy/attractor/runs/ 2>/dev/null
If no runs directory exists, report that no runs have been executed yet and suggest /kilroy:run.
Based on the user's input or the state of runs, decide what to do:
Use it directly for status/resume/stop.
List them with their timestamps and ask the user which run to inspect.
Use it automatically.
Note: All kilroy commands must be wrapped with direnv exec "$PWD" so that .env variables (like KILROY_CXDB_HOST) are available (Claude Code's non-interactive shell does not auto-load direnv). Additionally, prefix with env -u CLAUDECODE to unset the nested-session guard variable, since Kilroy internally invokes claude and would otherwise fail with "cannot be launched inside another Claude Code session".
env -u CLAUDECODE direnv exec "$PWD" ../kilroy/kilroy attractor status --logs-root ~/.local/state/kilroy/attractor/runs/<run_id>
Also extract the git worktree path and branch name from the run's worktree directory:
# Worktree path (the worktree directory inside the run)
WORKTREE_PATH=~/.local/state/kilroy/attractor/runs/<run_id>/worktree
# Branch name
git -C "$WORKTREE_PATH" branch --show-current 2>/dev/null
Include both values in the status output table alongside the other fields (run_id, state, etc.).
Also include a convenient one-liner to cd into the worktree (it's already on the correct branch since Kilroy creates it via git worktree add):
cd ~/.local/state/kilroy/attractor/runs/<run_id>/worktree
Report the status and then ask the user what they want to do:
Resume — if the run was interrupted or is paused:
env -u CLAUDECODE direnv exec "$PWD" ../kilroy/kilroy attractor resume --logs-root ~/.local/state/kilroy/attractor/runs/<run_id>
Stop — if the run is still active:
env -u CLAUDECODE direnv exec "$PWD" ../kilroy/kilroy attractor stop --logs-root ~/.local/state/kilroy/attractor/runs/<run_id> --grace-ms 30000
View in CXDB — remind the user they can open http://$KILROY_CXDB_HOST:9110 for the full UI
Nothing — just report and exit
Show the run status and remind the user of next steps based on the outcome:
/kilroy:land to merge and push/kilroy:run