Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Quickstart?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/javimosch-quickstart-0b58c841)
---
name: copilot.quickstart
description: Agent workflow for running GitHub Copilot CLI in non-interactive programmatic mode.
tags: copilot,github,ai,automation,headless
---
# copilot Quickstart
Use this when you need GitHub Copilot CLI for scripted prompts and machine-readable outputs.
## Commands
- `copilot <resource> <action>` — Execute copilot commands
- `copilot cli version` — Show installed Copilot CLI version
- `copilot task ask` — Run a programmatic Copilot prompt and return text-only response
- `copilot task ask-json` — Run a programmatic Copilot prompt with non-stream text output
- `copilot _ _` — Passthrough command to execute any Copilot CLI command
## 1) Install plugin and dependency
```bash
supercli plugins learn copilot
supercli plugins install copilot --json
npm install -g @github/copilot
```
## 2) Login and validate setup
```bash
copilot login
supercli copilot cli version
```
## 3) Programmatic usage
```bash
supercli copilot task ask --prompt "Summarize the current branch changes"
supercli copilot task ask-json --prompt "List top risks in this PR"
```
## 4) Full passthrough for advanced flags
```bash
supercli copilot -p "Explain this module" --output-format json
supercli copilot -p "Draft a migration plan" --agent my-agent --output-format json
```
## 5) Caveats
- Current Copilot CLI build in this environment does not expose JSON output flags; `task ask-json` runs in non-stream text mode (`--stream off`).
- Copilot may require repository trust and auth setup on first run.
- Keep tool permissions explicit for automation; use passthrough to set advanced `--allow-*` options when needed.