This skill helps you leverage Copilot CLI for coding assistance, improving speed, debugging, and task delegation.
npx playbooks add skill hiroro-work/claude-plugins --skill ask-copilot
Executes the local copilot CLI to get coding assistance.
Note: This skill requires the copilot CLI to be installed and available in your system's PATH.
Run a single query with -p (prompt mode):
copilot -p "Your question or task here" --allow-all-tools
| Option | Description |
|--------|-------------|
| -p | Non-interactive prompt mode (required for scripting) |
| --model MODEL | Specify model (run copilot --help for accepted IDs) |
| --allow-all-tools | Auto-approve all tool executions (required for -p) |
| --continue | Resume the most recent session |
> For all available options, run copilot --help
Ask a coding question:
copilot -p "How do I implement a binary search in Python?" --allow-all-tools
Use a specific model:
copilot -p "Review this code for potential issues" --model <model> --allow-all-tools
Let Copilot make changes automatically:
copilot -p "Refactor this function to use async/await" --allow-all-tools
Continue a previous session:
copilot -p "Now add error handling to that function" --continue --allow-all-tools
-p flag runs Copilot non-interactively and requires --allow-all-tools--model to override the default modelWeekly roundup of top Claude Code skills, MCP servers, and AI coding tips.