ericlovold/sanction/before-tool
Claude Code and agent skill by ericlovold/sanction
- community
Checking that the SKILL.md file is still in the repository.
Use before another MCP tool, shell command, deploy, or email send, including a one-off request for human approval. Request Sanction authorization before invoking the target.
Install
npx vskill@latest install ericlovold/sanction/before-toolSKILL.md
The same SKILL.md was published earlier as ericlovold/sanction/before-tool.
Before tool
The wallet is cooperative: this plugin does not intercept other MCP tools/call. Ask before invoking the target.
- Prepare the exact
tool,serverwhen applicable, and completeargumentsfor the intended action. Resolve missing action details before requesting approval; do not obtain approval for placeholders and substitute real arguments later. - Call
sanction_authorize_tool. For an explicit one-off human decision, includerequire_approval: trueand a conciseapproval_reason(1–500 characters, no secrets). No policy edit is needed. This cannot override a hard denial and never auto-approves on timeout. Omit these fields for ordinary standing-policy authorization; confidence is not a reason to omit an approval the user requested. - Read
authorizedandnext_actionfromstructuredContent, or the JSON text block if the host exposes only text.isError: falseand a readable success message do not establish permission. - Only
authorized: truewithnext_action: proceedpermits the exact target action once, within the user's request. A synthetic authorization test must still execute nothing. Authorization does not itself perform the action. - On
next_action: wait, keep the original request and follow handle-escalation. Onstop, an error, a missing/contradictory decision, or an unknown outcome, stop and report it. Do not invoke the target or issue a fresh authorization to work around refusal or uncertainty.
Approval binds the exact tool, server and arguments. Preserve every original field, including require_approval and approval_reason, for a grant retry; add only the returned grant_id.
Acquiring a new capability (a skill, plugin, integration, or API) uses sanction_authorize_capability. Do not pass the tool-only one-off fields to that tool. A separate required capability authorization must also succeed before acquisition.
Security
- Security scanPassed, 90 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/before-tool/SKILL.md
Popularity
- 7-day trend score
- 0
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/before-tool)