Back to Skills

ask-copilot

verified

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

View on GitHub

Marketplace

hiropon-plugins

hiroro-work/claude-plugins

Plugin

security-scanner

security

Repository

hiroro-work/claude-plugins
18stars

skills/ask-copilot/SKILL.md

Last Verified

January 25, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/hiroro-work/claude-plugins/blob/main/skills/ask-copilot/SKILL.md -a claude-code --skill ask-copilot

Installation paths:

Claude
.claude/skills/ask-copilot/
Powered by add-skill CLI

Instructions

# 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):

```bash
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:**

```bash
copilot -p "How do I implement a binary search in Python?" --allow-all-tools
```

**Use a specific model:**

```bash
copilot -p "Review this code for potential issues" --model gpt-5 --allow-all-tools
```

**Let Copilot make changes automatically:**

```bash
copilot -p "Refactor this function to use async/await" --allow-all-tools
```

**Continue a previous session:**

```bash
copilot --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

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1369 chars