Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/design/action-gate-bemgmt-donna-interactive
SKILL.md
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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?