一键导入
hitl-approval
Human-in-the-loop approval workflow for high-risk agent operations (file deletions, deployments, config changes).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Human-in-the-loop approval workflow for high-risk agent operations (file deletions, deployments, config changes).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Duplicate code detection using similarity-rs. Identifies refactoring candidates based on semantic similarity.
Duplicate code detection using similarity-rs. Identifies refactoring candidates based on semantic similarity.
Run performance benchmarks with criterion. Compare against baselines and profile hotspots.
Implementation verification - runs format, lint, test, and build checks on the workspace.
Production readiness audit - checks unwrap elimination, error handling, clippy, docs, channel usage, and test count.
Release deployment process for ccswarm. Version update, quality gates, build, tag, publish.
| name | hitl-approval |
| description | Human-in-the-loop approval workflow for high-risk agent operations (file deletions, deployments, config changes). |
| user-invocable | true |
| argument-hint | [gate-type] [--id run-id] |
Manage human-in-the-loop approval gates for ccswarm agent operations.
| Gate | When Required | Risk Level |
|---|---|---|
| plan | Before executing multi-step plans | Medium |
| risky-edit | File deletions, production configs | High |
| deploy | Deployment actions | Critical |
| merge | PR merge operations | High |
# Request approval
ccswarm approve $ARGUMENTS
# List pending approvals
ccswarm approve list
# Approve with comment
ccswarm approve $ARGUMENTS --id <run-id>
# Reject with reason
ccswarm approve $ARGUMENTS --id <run-id> --reject --reason "explanation"
| Level | Action | HITL Required |
|---|---|---|
| Low | Read operations | No |
| Medium | Local file writes | Optional |
| High | External modifications | Yes |
| Critical | Production changes | Always |
All HITL decisions are logged to .ccswarm/runs/ audit trail.