skill-gates

Load and activate agent skills based on tool execution patterns.

6|2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/filipexyz/ravi --skill skill-gates
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-gates
Source: https://github.com/filipexyz/ravi/tree/main/src/plugins/internal/ravi-system/skills/skill-gates
Command: npx skills add https://github.com/filipexyz/ravi --skill skill-gates

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill manages the lifecycle of agent capabilities, preventing runtime errors by ensuring necessary tools are loaded only when required and providing a controlled failure mechanism when they are missing.

Core Features & Use Cases

  • Dynamic Gate Management: Automatically triggers skill loading when a specific tool or command is invoked.
  • Rule Customization: Allows users to define custom matchers for tools, groups, or shell commands via regex or prefix patterns.
  • Introspection and Overrides: Provides a CLI interface to list, disable, or reset default skill gates without manual JSON configuration.

Quick Start

Use the ravi skill-gates set command to map a specific tool name to a required skill for your agent workflow.

Frequently Asked Questions about skill-gates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate AI agent skill loading based on tool execution patterns?

Automating AI agent skill loading involves mapping specific tool names to required skills using CLI commands. This rule-based system intercepts tool calls and conditionally injects the necessary skill context to prevent runtime errors.

How do I prevent runtime errors when an AI agent invokes a missing tool?

To prevent runtime errors from missing tools, configure a controlled failure mechanism that intercepts shell commands and runtime tools. This resolves missing dependencies by conditionally injecting the required skill context into the active session.

Can I define custom regex triggers for shell commands in an agent workflow?

Yes, you can define custom regex triggers for shell commands. Rule customization features allow you to specify custom matchers for tools, groups, or shell commands via regex or prefix patterns to override default agent behaviors.

How do I list and disable default agent skill gates without manual JSON configuration?

You can list and disable default agent skill gates by using the provided CLI interface. This introspection feature enables you to manage, reset, or override default skill behaviors directly without performing manual JSON configuration edits.

What is dynamic gate management for AI agent capabilities?

Dynamic gate management is a lifecycle control method that automatically triggers skill loading when a specific tool is invoked. It ensures necessary runtime tools are loaded only when required, preventing errors and overriding default agent behaviors.

Does the ravi runtime support conditional activation of agent skills?

Yes, the ravi runtime supports conditional activation of agent skills. You can use the ravi skill-gates set command to map specific tool names to required skills, facilitating rule-based overrides and custom triggers for your agent workflow.