AgentSkillsCN

manage-approval

WHAT:管理人工介入审批请求(列出、批准、拒绝)。WHEN:当用户说“检查审批”、“批准付款”、“拒绝邮件”、“显示待处理”时触发。触发条件:审批工作流、HITL 任务、待处理动作的审核。

SKILL.md
--- frontmatter
name: manage-approval
description: "WHAT: Manage human-in-the-loop approval requests (list, approve, reject). WHEN: User says 'check approvals', 'approve payment', 'reject email', 'show pending'. Trigger on: approval workflow, HITL tasks, reviewing pending actions."

Manage Approval

When to Use

  • Reviewing pending actions in the approval queue
  • Approving specific sensitive actions (payments, emails to new contacts)
  • Rejecting unsafe or incorrect actions
  • Cleaning up expired approval requests

Instructions

  1. List Pending:

    bash
    python3 .claude/skills/manage-approval/scripts/main_operation.py --action list
    
  2. Approve Action:

    bash
    python3 .claude/skills/manage-approval/scripts/main_operation.py --action approve --id "FILE_ID"
    
  3. Reject Action:

    bash
    python3 .claude/skills/manage-approval/scripts/main_operation.py --action reject --id "FILE_ID" --reason "REJECTION_REASON"
    

Validation

  • Action file exists and is moved to correct folder (Approved/ or Rejected/)
  • Audit log entry created
  • Dashboard updated (via separate skill or automatically)

See REFERENCE.md for detailed configuration options.