Approval chain

From markus41/claude · View interactive version

Approval chain is an AI agent skill from the GitHub repository markus41/claude. Design multi-step approval workflows with supervisor, manager, and executive levels. Use when the user needs to automate document approvals, contract sign-offs, or policy exceptions for insurance or mortgage operations.

How to use this skill

Skill file

Approval Chain Design

Given the business requirement, design a complete approval chain:

  1. Identify approval levels: Who must approve (role + fallback)? What triggers each level?
  2. Define conditions: What attributes route to each approver (amount, risk score, policy type)?
  3. Set timeouts: How long before the approval auto-escalates?
  4. Specify actions: What happens on approve/reject/timeout (notify, route, archive)?

Output a structured approval chain spec:

approval_chain:
  name: [descriptive name]
  trigger: [what initiates the chain]
  levels:
    - role: Supervisor
      condition: amount < 10000
      timeout_hours: 24
      fallback_role: Manager
    - role: Manager
      condition: amount >= 10000 AND amount < 50000
      timeout_hours: 48
      fallback_role: VP
  on_approve: [next workflow step]
  on_reject: [rejection notification + reason capture]
  audit_events: [list all events to log for compliance]

Ask clarifying questions if the business context, approval roles, or dollar thresholds are ambiguous.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.