ericlovold/sanction/handle-escalation

Claude Code and agent skill by ericlovold/sanction

Trust tier 3
  • community
Source check pending

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-escalation

SKILL.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.

  1. Call sanction_check_authorization once with that request_id. Read authorized and next_action from structuredContent or the JSON text block. A successful MCP call is not permission; this check always returns authorized: false.
  2. 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.
  3. Only next_action: retry_with_grant with a grant_id permits 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_approval and approval_reason. Do not treat status approved alone as authority.
  4. Only redemption returning authorized: true and next_action: proceed permits 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 another wait; do not begin a new escalation.
  5. 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ericlovold/sanction/handle-escalation/badge)](https://verified-skill.com/skills/ericlovold/sanction/handle-escalation)

Something wrong with this skill or its page? Tell us.