Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add HazAT/pi-config --skill "try-before-asking"
Install specific skill from multi-skill repository
# Description
|
# SKILL.md
name: try-before-asking
description: |
Applies when about to ask the user if they have a command, tool, CLI, or dependency installed.
Instead of asking, try running the command first with a quick check to see if it's available.
Try Before Asking
When you're about to ask the user whether they have a tool, command, or dependency installed β don't ask, just try it.
Behavior
- Run a quick check instead of asking:
command --versioncommand --helpwhich commandorwhere command(Windows)-
A simple non-destructive invocation
-
If it works β proceed with the task
-
If it fails β inform the user it's not installed and suggest how to install it
Why
- Saves back-and-forth
- Respects the user's time
- You get a definitive answer immediately
Examples
β Don't do this:
"Do you have
ffmpeginstalled?"
β Do this instead:
ffmpeg -version
Then proceed based on the result.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.