ask-copilot
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.
Quick start
Run a single query with -p (prompt mode):
copilot -p "Your question or task here" --allow-all-tools
Common options
| Option | Description |
|---|---|
-p |
Non-interactive prompt mode (required for scripting) |
--model MODEL |
Specify model (e.g., claude-sonnet-4.5, gpt-5, gpt-5-mini) |
--allow-all-tools |
Auto-approve all tool executions (required for -p) |
--continue |
Resume the most recent session |
For all available options, run
copilot --help
Examples
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 gpt-5 --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
Notes
- The
-pflag runs Copilot non-interactively and requires--allow-all-tools - Default model is claude-sonnet-4.5; use
--modelto switch models - The command inherits the current working directory
More from hiroro-work/claude-plugins
security-scanner
Scan installed plugins and skills for security risks including malicious code AND malicious natural language instructions. Use /security-scanner to audit before installation.
60ask-codex
Asks Codex CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.
39ask-claude
Asks Claude CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.
25extract-rules
Extract project-specific coding rules and domain knowledge from existing codebase, generating markdown documentation for AI agents. Use when onboarding a new project, after code review discussions about coding style, or when coding conventions need documenting. Also consider running after sessions where coding preferences were discussed or corrected (--from-conversation), or after PRs with significant review feedback (--from-pr).
22ask-gemini
Asks Gemini CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.
21ask-peer
Consult with a peer engineer for plan review, code review, implementation discussions, or problem-solving brainstorming. Use when you need a second opinion, want to validate your approach, or check for overlooked issues.
15