terminal-capability-governance

Detect available command-line tools and apply priority-based fallback logic.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/majedsiefalnasr/bunyan-app-cursor --skill terminal-capability-governance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terminal-capability-governance
Source: https://github.com/majedsiefalnasr/bunyan-app-cursor/tree/main/.agents/skills/terminal-capability-governance
Command: npx skills add https://github.com/majedsiefalnasr/bunyan-app-cursor --skill terminal-capability-governance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams automatically detect which terminal tools are available on a host and establish safe fallbacks to maintain workflow continuity.

Core Features & Use Cases

  • Tool detection using standard and preferred utilities.
  • Built-in command preference hierarchy and fallback logic for missing tools.
  • Use case: when a CI runner lacks RTK, seamlessly fall back to rg/grep for text searches and fd/find for path discovery.

Quick Start

Run the detection sequence to identify available tools and validate fallback behavior.

Frequently Asked Questions about terminal-capability-governance

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

FAQPage Schema
How do I detect command-line tool availability and set up fallbacks automatically?

To detect command-line tool availability, run a detection sequence that identifies installed utilities and establishes a safe fallback plan. This validates fallback behavior to maintain workflow continuity when preferred tools are missing.

What is the fallback priority order for text search and path discovery tools?

The fallback priority order attempts to use RTK first, then falls back to native tools. For text searches it uses rg or grep, and for path discovery it relies on fd or find to maintain workflow continuity.

How does tool detection avoid leaking environment data during the process?

Tool detection avoids leaking environment data by executing a safe, loop-free detection sequence. This ensures that identifying available command-line tools does not expose sensitive host configuration data during the checks.

Can I use this to handle CI runners missing preferred utilities like RTK?

Yes, you can use this on CI runners missing RTK. It seamlessly falls back to rg or grep for text searches and fd or find for path discovery, ensuring automated workflow continuity without manual intervention.

What are the limitations of using native tools as fallbacks for command-line tasks?

Using native tools like grep or find as fallbacks may lack the advanced features or speed of preferred utilities like RTK or rg. The fallback logic prioritizes availability over performance to maintain safe workflow continuity.