action-gate
Decide and take action when blockers appear. Use when tools are missing, installs are required, or the user expects proactive execution to complete the task.
$ 安裝
git clone https://github.com/majiayu000/claude-skill-registry /tmp/claude-skill-registry && cp -r /tmp/claude-skill-registry/skills/design/action-gate ~/.claude/skills/claude-skill-registry// tip: Run this command in your terminal to install the skill
SKILL.md
name: action-gate description: Decide and take action when blockers appear. Use when tools are missing, installs are required, or the user expects proactive execution to complete the task.
Action Gate
Overview
Weigh cost, risk, and necessity, then act to unblock work with minimal back-and-forth.
Workflow
- Identify the blocker (missing tool, permission, or dependency).
- Decide if it is required to complete the requested work.
- If required and low risk, propose the exact install/run command and proceed when allowed.
- If required but risky, explain the risk and ask for confirmation.
- If not required, skip and continue with a fallback.
Decision Rules
- Required to deliver the request -> act by default.
- Optional or high-risk -> ask before acting.
- Prefer minimal installs (single tool) and reversible changes.
Portability Rules
- Detect OS and package manager before installing (Linux: apt/dnf/yum/pacman, macOS: brew, Windows: choco/scoop).
- If no install permissions or network access, ask for manual install or alternate environment.
- Prefer local, user-scoped installs when possible (e.g.,
pip install --user,npm install -gonly if permitted). - For Node CLIs, prefer
npx <tool>when global install is blocked; document any global install used.
Output Rules
- State why the action is required or optional.
- Provide the exact command(s) to run.
- Note any side effects or rollback steps.
Acceptance Criteria
- Decision is explicit (act / ask / skip) with rationale.
- Actions are minimal and unblock the task.
Repository

majiayu000
Author
majiayu000/claude-skill-registry/skills/design/action-gate
0
Stars
0
Forks
Updated23h ago
Added1w ago