Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/thewoolleyman/cxdb-graph-ui --skill kilroyrun명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | kilroy:run |
| description | Run a Kilroy pipeline for this repo. |
| user-invocable | true |
Run the Kilroy Attractor pipeline for this repo.
This repo is the current working directory. The Kilroy binary is at ../kilroy/kilroy.
The pipeline file is pipeline.dot and the run config is factory/run.yaml, both at the repo root.
Verify all of these before running. Stop and report if any fail:
../kilroy/kilroy binary exists (suggest /kilroy:setup)curl -sf http://$KILROY_CXDB_HOST:9110/healthz > /dev/null (suggest /kilroy:setup)pipeline.dot exists (suggest /kilroy:generate-pipeline)factory/run.yaml existsenv -u CLAUDECODE claude auth status should show loggedIn: true. Kilroy uses backend: cli so it authenticates via the CLI's OAuth session (e.g. Max plan), not an API key.anthropic as llm_provider. Grep for llm_provider: in the DOT file — if any provider other than anthropic is found (e.g. openrouter), stop and tell the user to re-run /kilroy:generate-pipeline. Only anthropic is configured in the run config.Before running, show:
pipeline.dotfactory/run.yamlCRITICAL: Always run Kilroy in the background with a monitoring loop. Kilroy runs are long-running (30min–2hrs). Running them as a blocking Bash call will leave you unable to report status or detect problems. You MUST follow both steps below.
env -u CLAUDECODE direnv exec "$PWD" ../kilroy/kilroy attractor run \
--skip-cli-headless-warning \
--graph pipeline.dot \
--config factory/run.yaml
Run this command with run_in_background: true on the Bash tool. The direnv exec "$PWD" prefix ensures .env variables (like KILROY_CXDB_HOST) are loaded into the Kilroy process. The env -u CLAUDECODE prefix unsets the nested-session guard variable, since Kilroy internally invokes claude and would otherwise fail with "cannot be launched inside another Claude Code session".
After launching, wait 10 seconds for the run to initialize, then find the run directory and begin monitoring. You MUST do this — do not wait for the user to ask.
Find the active run directory:
LOGS_ROOT=$(ls -dt ~/.local/state/kilroy/attractor/runs/*/ | head -1)
Monitoring loop: Poll every 90 seconds until the Kilroy process exits. On each poll iteration, report ALL of the following to the user:
Current node — read live.json from the run directory:
cat "${LOGS_ROOT}/live.json" 2>/dev/null
Recent progress events — tail the last 5 entries from progress.ndjson:
tail -5 "${LOGS_ROOT}/progress.ndjson" | python3 -c "import sys,json; [print(f'{e[\"event\"]:30s} node={e.get(\"node_id\",\"—\"):30s} status={e.get(\"status\",\"—\")} attempt={e.get(\"attempt\",\"—\")}/{e.get(\"max\",\"—\")}') for e in (json.loads(l) for l in sys.stdin)]"
Completed nodes — count commits in the run worktree:
cd "${LOGS_ROOT}/worktree" 2>/dev/null && git log --oneline | head -20
Process alive check:
kill -0 $(cat "${LOGS_ROOT}/run.pid" 2>/dev/null) 2>/dev/null && echo "Kilroy running" || echo "Kilroy EXITED"
Report format: After each poll, output a concise status update to the user, e.g.:
Pipeline status (2m elapsed): node=implement_orchestrator, attempt 1/4, 3 nodes completed
While monitoring, watch for these patterns and alert the user immediately — do not wait for the run to finish:
Repeated identical failures: If progress.ndjson shows 2+ consecutive stage_attempt_end events for the same node_id with the same failure_reason, flag it:
⚠ Node "verify_hangar_complete" has failed 2 times with identical reason: "tool_command timed out after 2m0s" — this looks deterministic and will not self-heal by retrying.
Postmortem loop on same node: If you see the same node being re-entered after postmortem with the same failure pattern, flag it as a likely configuration issue.
No progress for 10+ minutes: If live.json timestamp hasn't advanced in 10 minutes and the process is still alive, alert the user that the run may be stuck.
Process exited unexpectedly: If the PID is gone but no completion event appeared in progress.ndjson, report the crash and check the background task output file for errors.
If the pipeline fails during setup (e.g. "WaitDelay expired", timeout, or setup command error):
setup.commands list from factory/run.yaml.Report the outcome and the run ID. Remind the user:
/kilroy:status/kilroy:land