Get a second opinion from GitHub Copilot

version
1.0.5
GitHub stars
47

Install

/plugin install ask-copilot@hiropon-plugins

Run it inside Claude Code after adding the marketplace with /plugin marketplace add hiroro-work/claude-plugins.

Contents

Discovered from source

Skills 1

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

OptionDescription
-pNon-interactive prompt mode (required for scripting)
--model MODELSpecify model (run copilot --help for accepted IDs)
--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 <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

Notes

  • The -p flag runs Copilot non-interactively and requires --allow-all-tools
  • Use --model to override the default model
  • The command inherits the current working directory

Sponsors

Details

Marketplace
hiroro-work/claude-plugins
Source
skills/ask-copilot
Author
hiropon
Category
Workflow

More from hiroro-work/claude-plugins

All 22