search-lessons

Search Thumbgate lessons to retrieve corrective actions and linked enforcement rules.

25|7|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/IgorGanapolsky/ThumbGate --skill search-lessons
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-lessons
Source: https://github.com/IgorGanapolsky/ThumbGate/tree/main/plugins/cursor-marketplace/skills/search-lessons
Command: npx skills add https://github.com/IgorGanapolsky/ThumbGate --skill search-lessons

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you quickly locate relevant ThumbGate lessons—what went wrong, what to do next, and which rules and gates enforce that guidance.

Core Features & Use Cases

  • Lesson discovery for corrective actions: Find corrective actions tied to a failure pattern so you can stop repeats.
  • Linked rule and gate visibility: Surface the prevention rules and pre-action gates connected to each lesson.
  • Lifecycle awareness: Filter context by lesson lifecycle state (active, archived, superseded) to ensure you use current guidance.
  • Use Case: When an agent repeatedly attempts a risky action (for example, an unsafe “force push”), search promoted lessons to pull the correct corrective steps and the enforcement logic behind them.

Quick Start

Use the search_lessons MCP tool to query for the failure pattern you’re working on, like “force push”, and review the returned corrective actions, linked prevention rules, and current lifecycle state.

Frequently Asked Questions about search-lessons

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

FAQPage Schema
How do I find corrective actions for recurring agent failures?

Search promoted lessons using a query string for the failure pattern to retrieve corrective actions, linked prevention rules, pre-action gates, and the current lifecycle state.

What is agent governance and how do prevention rules work?

Agent governance prevention rules are linked to promoted lessons and enforced by pre-action gates to stop agents from repeating risky actions like unsafe force pushes.

How do I check if a prevention lesson is active or superseded?

Query the failure pattern to retrieve the lesson's lifecycle state, which indicates whether the guidance is currently active, archived, or superseded by newer rules.

Can I use a search query to find pre-action gates linked to a specific failure pattern?

Yes, querying the failure pattern returns linked pre-action gates alongside corrective actions and prevention rules, providing the enforcement logic for that specific issue.

Does this search require any external dependencies or components?

No external dependencies or components are required; you only need the search_lessons MCP tool to query failure patterns and return lesson descriptions and linked enforcement logic.

What's the best way to search for lessons when an agent repeatedly attempts a risky action?

Search promoted lessons by querying the specific risky action, such as "force push", to quickly pull the correct corrective steps and the enforcement logic behind them.