Basic information

Repository
mlflow
Skill
copilot

About copilot

Hand off a task to GitHub Copilot.

copilot is an agent skill listed in the AddMCP.net directory, published by mlflow. Runtime: Python. License: Apache-2.0. The repository has 28,618 GitHub stars. Source code is hosted on github.com. Related topics: agentops, agents, ai, ai-governance, apache-spark.

Overview

What is copilot?


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

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

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

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬