Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/pgnzbl-ux/crucible --skill smoke명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | smoke |
| description | 全链路端到端冒烟(创建任务 → 沙箱 → Agent → 报告) |
任意 P0 改动后必须跑一次。
环境就绪:deploy skill 跑通,/health 200
注册 + 登录
TOKEN=$(curl -sX POST http://localhost:8010/api/v1/auth/register \
-H 'Content-Type: application/json' \
-d '{"username":"smoke","password":"Smoke123!"}' | jq -r .id) # 仅取 ID;下面有登录
TOKEN=$(curl -sX POST http://localhost:8010/api/v1/auth/login \
-H 'Content-Type: application/json' \
-d '{"username":"smoke","password":"Smoke123!"}' | jq -r .access_token)
创建任务(CLAUDE_AGENT_SDK_ENABLED=false 时仍走模式化子图编排,不拉真实 LLM)
TASK_ID=$(curl -sX POST http://localhost:8010/api/v1/tasks \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{"repo_url":"https://github.com/octocat/Hello-World","description":"smoke test","priority":"P2"}' \
| jq -r .id)
轮询直到完成(timeout 60s)
for i in {1..30}; do
curl -s "http://localhost:8010/api/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $TOKEN" | jq .status
sleep 2
done
看事件流
curl -s "http://localhost:8010/api/v1/tasks/$TASK_ID/events" \
-H "Authorization: Bearer $TOKEN" | jq '.items[] | {type, ts: .timestamp}'
确认报告
REPORT_ID=$(curl -s "http://localhost:8010/api/v1/tasks/$TASK_ID" \
-H "Authorization: Bearer $TOKEN" | jq -r .report_id)
curl -s "http://localhost:8010/api/v1/reports/$REPORT_ID" \
-H "Authorization: Bearer $TOKEN" | jq '{status, has_content: (.content != null)}'
completed 或 failed(不允许 running 滞留)completed 且有内容docker ps -a --filter "label=crucible"