Ask Copilot

SkillProductivity

Lets your agent ask GitHub Copilot questions, review code, or generate snippets automatically.

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Ask Copilot skill

About this skill

Asks Copilot CLI for coding assistance. Use for getting a second opinion, code generation, debugging, or delegating coding tasks.

What this skill tells your AI

The instructions your AI receives, as published by hiroro-work/claude-plugins in skills/ask-copilot/SKILL.md and read by ahel’s review.

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

OptionDescription
-pNon-interactive prompt mode (required for scripting)
--model MODELSpecify model (e.g., claude-sonnet-4.5, gpt-5, gpt-5-mini)
--allow-all-toolsAuto-approve all tool executions (required for -p)
--continueResume 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 -p flag runs Copilot non-interactively and requires --allow-all-tools
  • Default model is claude-sonnet-4.5; use --model to switch models
  • The command inherits the current working directory

Signals

GitHub stars
47
Forks
3
Last commit
Sep 2026
Advanced
Item type
skill
Key
ask-copilot
Source
github.com/hiroro-work/claude-plugins