gh-agent-session

Create GitHub Copilot coding agent sessions from natural language task descriptions.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/kaushal-waygood/agentic-self-healing-ci --skill gh-agent-session-kaushal-waygood
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-agent-session
Source: https://github.com/kaushal-waygood/agentic-self-healing-ci/tree/main/skills/gh-agent-session
Command: npx skills add https://github.com/kaushal-waygood/agentic-self-healing-ci --skill gh-agent-session-kaushal-waygood

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines creating GitHub Copilot coding agent sessions from natural language instructions so maintainers can delegate implementation tasks without manually opening issues and pull requests.

Core Features & Use Cases

  • CLI-driven session creation: Create agent sessions from inline descriptions or from files, and specify base branch or target repository for the resulting pull request.
  • Workflow integration: Integrate with CI workflows as a safe-output to automatically generate tasks from labeled issues or scheduled scans and optionally preview staged outputs.
  • Authentication and permissions guidance: Explains required personal access token scopes and environment variables needed to create branches, issues, and pull requests.
  • Use Case: Automatically convert a well-scoped issue into an agent session that triggers Copilot to propose code changes and open a PR for review.

Quick Start

Create an agent session by running the gh agent-task create command with a concise task description to open an issue and trigger Copilot to implement the requested code changes.

Frequently Asked Questions about gh-agent-session

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GitHub Copilot agent session from the CLI?

To create a GitHub Copilot agent session from the CLI, use the gh agent-task create command with a concise natural language task description to open an issue and trigger Copilot to implement the requested code changes.

What permissions are needed to trigger Copilot coding agent sessions in CI workflows?

Triggering Copilot coding agent sessions in CI workflows requires a Personal Access Token with contents:write, issues:write, and pull-requests:write permissions to create branches, issues, and pull requests.

Can I automatically convert labeled GitHub issues into pull requests with Copilot?

Yes, you can automatically convert labeled GitHub issues into pull requests by integrating this CLI session creation into CI workflows to generate tasks from labeled issues and trigger Copilot to open a PR for review.

Does the gh agent-task CLI extension support cross-repository delegation for code changes?

Yes, the gh agent-task CLI extension supports cross-repository delegation, allowing you to specify a target repository and base branch for the resulting pull request when creating Copilot agent sessions.

What are the limitations of using natural language task descriptions for automated code generation?

Automated code generation using natural language task descriptions requires a runner environment capable of executing CLI extensions and well-scoped issue definitions; poorly scoped descriptions may produce inadequate code changes for review.