Skip to content
Back to skills

Copilot

ASecurity

Hand off a task to GitHub Copilot.

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 8, 2026
ai-agentsbashgitapi

Works with

  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill copilot --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Copilot?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Copilot
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-copilot/badge)](https://www.skillsdirectory.com/skills/majiayu000-copilot)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: copilot
description: Hand off a task to GitHub Copilot.
allowed-tools:
  - Bash(gh agent-task create:*)
  - Bash(gh agent-task list:*)
  - Bash(gh agent-task view:*)
  - Bash(bash .claude/skills/copilot/poll.sh *)
  - Bash(gh api:*)
---

## Examples

```bash
# Create a task with an inline description
gh agent-task create "<task description>"

# Create a task from a markdown file
gh agent-task create -F task-desc.md
```

## Post-creation

Print both the session URL and the PR URL (strip `/agent-sessions/...` from the session URL).

Example:

- Session: https://github.com/mlflow/mlflow/pull/20905/agent-sessions/abc123
- PR: https://github.com/mlflow/mlflow/pull/20905

## Polling for completion

Once Copilot starts working, poll in the background until Copilot finishes. The script automatically finds the latest session for the PR:

```bash
bash .claude/skills/copilot/poll.sh "<owner>/<repo>" <pr_number>
```

## Sending feedback

If the PR needs changes, batch all feedback into a single review with `@copilot` in each comment so they're addressed in one session:

```bash
gh api repos/<owner>/<repo>/pulls/<pr_number>/reviews --input - <<'EOF'
{
  "event": "COMMENT",
  "comments": [
    {
      "path": "<file_path>",
      "line": <line_number>,
      "side": "RIGHT",
      "body": "@copilot <comment>",
      // ... more params
    },
    // ... more comments
  ]
}
EOF
```

After sending feedback, Copilot starts a new session, typically within ~10 seconds. Wait at least 15 seconds before polling so the new session gets picked up.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.