ericlovold/sanction/handle-escalation
Claude Code and agent skill by ericlovold/sanction
- community
Checking that the SKILL.md file is still in the repository.
Use when a Sanction authorization returns next_action wait. Check once, pause for human resolution, then redeem a usable grant against the original request before any action.
Install
npx vskill@latest install ericlovold/sanction/handle-escalationSKILL.md
The same SKILL.md was published earlier as ericlovold/sanction/handle-escalation.
Handle escalation
Pause the target action. Keep the original authorization tool, all its input fields, and the returned request_id. Do not start another request for the same action. Honor a user instruction to stop after requesting approval; perform no check until asked.
- Call
sanction_check_authorizationonce with thatrequest_id. Readauthorizedandnext_actionfromstructuredContentor the JSON text block. A successful MCP call is not permission; this check always returnsauthorized: false. - On
next_action: wait, report the pending request and wait for the human. Do not loop, schedule repeated checks, or retry authorization. After the human confirms resolution or explicitly asks for another check, check the same request once. - Only
next_action: retry_with_grantwith agrant_idpermits a redemption attempt. Retry the original authorization tool once with identical fields plus that grant. For tool authorization, preserve the exact tool, server, arguments,require_approvalandapproval_reason. Do not treat statusapprovedalone as authority. - Only redemption returning
authorized: trueandnext_action: proceedpermits the original target action once, within the user's request. Polling and redemption do not perform it. Synthetic tests execute no target action. Any other redemption result stops this flow, including anotherwait; do not begin a new escalation. - On
stop, denial, consumed/expired/revoked/missing grant, mismatch, replay denial, any MCP/transport/authentication failure, or missing/contradictory fields, stop and report the result. Do not retry redemption, invent a new request, or re-escalate automatically. An unknown outcome requires reconciliation, not assumed permission.
Never change arguments to make a refused grant work. If the intended action changes, stop this flow and obtain explicit user direction before starting a separate authorization. If target execution has an unknown result, reconcile that result before considering another attempt; grant consumption is not proof the target succeeded.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcursor-plugin/skills/handle-escalation/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ericlovold/sanction/handle-escalation)