PR Babysitter
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
Define and validate GitHub custom agent files, prompts, and examples.
$ npx skills add github/gh-aw --skill custom-agents -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install github/gh-aw custom-agents --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/custom-agents .claude/skills/custom-agents && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "custom-agents" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/custom-agents into .claude/skills/custom-agents/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "custom-agents", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/github/gh-aw/tree/main/.github/skills/custom-agentsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add github/gh-aw --skill custom-agents -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install github/gh-aw custom-agents --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/custom-agents .agents/skills/custom-agents && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "custom-agents" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/custom-agents into .agents/skills/custom-agents/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "custom-agents", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add github/gh-aw --skill custom-agents -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install github/gh-aw custom-agents --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/custom-agents .cursor/skills/custom-agents && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "custom-agents" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/custom-agents into .cursor/skills/custom-agents/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "custom-agents", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/github/gh-aw.git --path .github/skills/custom-agents--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add github/gh-aw --skill custom-agents -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install github/gh-aw custom-agents --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/custom-agents .gemini/skills/custom-agents && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "custom-agents" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/custom-agents into .gemini/skills/custom-agents/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "custom-agents", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install github/gh-aw custom-agentsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add github/gh-aw --skill custom-agents -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/custom-agents .github/skills/custom-agents && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "custom-agents" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/custom-agents into .github/skills/custom-agents/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "custom-agents", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add github/gh-aw --skill custom-agents -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install github/gh-aw custom-agents --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/github/gh-aw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/custom-agents .opencode/skills/custom-agents && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "custom-agents" agent skill from https://github.com/github/gh-aw/tree/main/.github/skills/custom-agents into .opencode/skills/custom-agents/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "custom-agents", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
custom-agentsDefine and validate GitHub custom agent files, prompts, and examples.
Custom Agents is an agent skill from github/gh-aw, published by the product's own GitHub organization. Define and validate GitHub custom agent files, prompts, and examples.
Its SKILL.md is about 4.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with GitHub. The repository describes itself as: GitHub Agentic Workflows. The licence is MIT.
10 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a4ca9f2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and yaml).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
docs.github.comgithub.blogFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
MCPSERVER_API_KEYINTERNAL_MCP_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Custom Agents loads about 4.3k tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 1,141 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from github/gh-aw at commit a4ca9f2, republished under its MIT licence (© github). 1,141 words, ~4,346 tokens.
.claude/skills/custom-agents/SKILL.md (or your agent's skills folder).Use this reference for the GitHub custom agent file format.
GitHub Copilot reads custom agent instructions from Markdown files with YAML frontmatter. Use them to define specialized behavior, tool access, and workflows for your repository.
Place custom agent files in these locations based on scope:
.github/copilot-instructions.md.github/instructions/*.instructions.md (e.g., frontend.instructions.md, backend.instructions.md)applyTo in frontmatter.github/agents/ or .github/copilot/instructions/AGENTS.md, *.md (e.g., readme-creator.md, test-writer.md)imports field in workflow frontmatter.github/agents/ directory# YAML frontmatter (configuration)
name: agent-name
description: Brief description of agent's purpose
# Markdown body (instructions)
Your natural language instructions for the agent go here.# Required fields
name: agent-identifier # Unique identifier for the agent
# Optional descriptive fields
description: > # Multi-line description of agent's purpose
Agent specializing in specific tasks
# Optional instruction fields
prompt: | # Freeform instructions (alternative to markdown body)
Your instructions here
# Optional tool configuration
tools: # List of allowed tools for this agent
- createFile
- editFiles
- codeSearch
- search
# Optional path targeting (for .instructions.md files)
applyTo: # Glob patterns for targeted files/directories
- "src/frontend/**"
- "**/*.tsx"
# Optional MCP server configuration (enterprise/org only)
mcp-server: # External MCP server configuration
url: https://my-mcp-server.com
api-key: ${{ secrets.MCPSERVER_API_KEY }}
# Optional settings
settings: # Custom runtime or connection settings
key: valuereadme-creator, test-writer)> or | syntax| (literal) or > (folded) for multi-line contentprompt and markdown body exist, they are typically combined["*"], agent has access to all available toolsGitHub Standard Tool Aliases:
GitHub Copilot defines a standardized set of tool aliases for custom agents:
read - Access and read contents of files or codeedit - Make changes in code files, apply edits or refactoringsearch - Search codebase for keywords, references, or patternspr - Create, manage, or update pull requestsissue - Create, manage, or update issuesLegacy Tool Names:
For backward compatibility, these legacy tool names are still supported:
createFile - Create new files (use edit instead)editFiles - Modify existing files (use edit instead)deleteFiles - Remove files (use edit instead)codeSearch - Semantic code search (use search instead)runCommand - Execute shell commandsgetFile - Read file contents (use read instead)listFiles - List directory contents (use read instead)MCP Server Tool Prefixes:
When using Model Context Protocol (MCP) servers, you can specify tools with server prefixes:
my-mcp-server/tool-namemy-mcp-server/*Examples:
# Using standard tool aliases
tools:
- read
- edit
- search
# Enable all tools with wildcard
tools: ["*"]
# Using legacy names (still supported)
tools:
- editFiles
- createFile
- search
# Mixed standard and MCP server tools
tools:
- read
- edit
- github-mcp/create_issue
- custom-mcp/*
# Empty list disables all tools
tools: [].instructions.md files* (any characters), ** (any directories)Example:
applyTo:
- "src/frontend/**/*.tsx"
- "src/frontend/**/*.ts"
- "components/**"Fields:
url (string): MCP server endpointapi-key (string): Authentication key (use GitHub secrets)Example:
mcp-server:
url: https://internal-tools.company.com/mcp
api-key: ${{ secrets.INTERNAL_MCP_KEY }}File: .github/copilot-instructions.md
description: Repository-wide coding standards
# Coding Standards
## Style Guide
- Use single quotes in JavaScript/TypeScript
- Follow ESLint configuration in `.eslintrc.json`
- Maximum line length: 100 characters
## Security
- Always set `httpOnly` and `secure` flags for cookies
- Validate all user input
- Use parameterized queries for database access
## Testing
- All new code must include Jest tests
- Aim for >80% code coverage
- Test edge cases and error conditionsFile: .github/instructions/frontend.instructions.md
description: Frontend development guidelines
applyTo:
- "src/frontend/**"
- "components/**"
# Frontend Development Guidelines
## Component Structure
- Use React functional components with hooks
- Prefer composition over inheritance
- Keep components small and focused (< 150 lines)
## Styling
- Use CSS Modules for component styles
- Follow BEM naming convention
- Use Tailwind utility classes where appropriate
## State Management
- Use React Context for global state
- Keep local state in components when possible
- Use reducers for complex state logicFile: .github/agents/readme-creator.md
name: readme-creator
description: Agent specializing in creating and improving README files
tools:
- read
- edit
- search
# README Creator Agent
You are a documentation specialist focused on creating clear, comprehensive README files.
## Responsibilities
- Create well-structured README.md files for projects
- Include all standard sections: Overview, Installation, Usage, Contributing
- Generate accurate code examples
- Ensure documentation is up-to-date with codebase
## Style Guidelines
- Use clear, concise language
- Include code examples with syntax highlighting
- Add badges for build status, coverage, version
- Organize with logical heading hierarchy
- Include a table of contents for long READMEs
## Quality Standards
- Verify all code examples are accurate
- Test installation instructions
- Ensure links are valid and working
- Check for proper Markdown formattingFile: .github/agents/test-writer.md
name: test-writer
description: Specialized agent for writing comprehensive test suites
tools:
- read
- edit
- search
# Test Writer Agent
You specialize in creating comprehensive, well-structured test suites.
## Testing Framework
- Use Jest for JavaScript/TypeScript
- Follow AAA pattern: Arrange, Act, Assert
- Use descriptive test names: "should [expected behavior] when [condition]"
## Test Coverage
- Write unit tests for all public functions
- Create integration tests for API endpoints
- Add edge case tests (null, undefined, empty, boundary values)
- Test error conditions and exception handling
## Test Organization
- Group related tests with `describe` blocks
- Use `beforeEach` and `afterEach` for setup/teardown
- Keep tests independent and isolated
- Mock external dependencies
## Best Practices
- One assertion per test when possible
- Use test data builders for complex objects
- Avoid test interdependence
- Keep tests fast (< 1 second each)File: .github/workflows/code-review.md
on:
pull_request:
types: [opened, synchronize]
permissions:
contents: read
pull-requests: write
engine:
id: copilot
custom-agent: .github/agents/code-reviewer.md
# Automated Code Review
Review the pull request changes and provide constructive feedback.File: .github/agents/code-reviewer.md
name: code-reviewer
description: Agent specialized in performing code reviews
tools:
- read
- search
# Code Review Agent
You are an experienced code reviewer focused on code quality, security, and best practices.
## Review Checklist
- Code follows repository style guidelines
- Proper error handling is implemented
- Security best practices are followed
- Tests are included for new functionality
- Documentation is updated where needed
- No unnecessary complexity
## Feedback Style
- Be constructive and specific
- Explain the reasoning behind suggestions
- Prioritize issues (critical, important, minor)
- Acknowledge good patterns and improvements
- Provide code examples for suggestionsThe gh-aw (GitHub Agentic Workflows) tool supports custom agent files through the imports field in workflow frontmatter. Any markdown files under the .github/agents/ directory are treated as custom agent files when imported.
Use the skills: frontmatter field as the preferred way to install external skills for workflow runs. This installs skills during activation and persists them correctly between jobs. Use the top-level plugins: field the same way for agent plugins. Never add on-the-fly installation steps or ask the agent to install a skill or plugin from the prompt.
Use imports: for workflow prompt/context files (including local custom agent files), not as the primary skill installation path.
on: pull_request
engine:
id: copilot
skills:
- mattpocock/skills/tdd@801dca688564c529fa84f247f64472520d9ebe28
plugins:
- octo-org/agent-plugin@v1
imports:
- .github/agents/code-reviewer.md
# Workflow prompton: issues
engine:
id: copilot
imports:
- .github/agents/my-agent.md
# My Workflow
Instructions for the workflow...Custom agent files are supported by the following engines:
--agent <path> flag to load custom agent fileimports field.github/agents/ directoryon:
issues:
types: [opened]
permissions:
contents: read
issues: write
engine:
id: copilot
imports:
- .github/agents/issue-triager.md
tools:
github:
allowed:
- add_labels_to_issue
- create_issue_comment
# Issue Triage Workflow
Analyze the issue and categorize it appropriately.name: documentation-specialist
description: Creates and maintains technical documentation
tools: [read, edit, search]name: code-refactorer
description: Improves code quality and structure
tools: [read, edit, search]name: security-auditor
description: Reviews code for security vulnerabilities
tools: [read, search]name: migration-helper
description: Assists with framework or library migrations
tools: [read, edit, search]name: issue-manager
description: Manages GitHub issues and project tracking
tools: [read, issue]name: pr-assistant
description: Assists with pull request creation and management
tools: [read, edit, pr]tools arrayapplyTo is only used in .instructions.md filesimports field.github/agents/ directoryThe gh-aw repository uses custom agent files for performance engineering guides:
.github/copilot/instructions/ci-performance.md - CI/CD optimization.github/copilot/instructions/workflow-performance.md - Workflow efficiency.github/copilot/instructions/build-performance.md - Build optimization.github/copilot/instructions/cli-performance.md - CLI performanceThese files provide specialized guidance for performance engineering tasks and demonstrate the custom agent file format in practice.
© github, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/custom-agents of github/gh-aw.
Open the folder on GitHubat commit a4ca9f2
Custom Agents next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Custom Agents this skillgithub/gh-aw | 5.4k | — | ~4.3k | Automated safety check: Pass | MIT | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Diagnosing Superpowers Sessionsobra/superpowers | 296k | 3 repos | ~1.7k | Automated safety check: Pass | MIT | |
| GitHub Deep Researchbytedance/deer-flow | 83k | 5 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Greplooponyx-dot-app/onyx | 32k | 4 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Update V8 Versionopeninterpreter/openinterpreter | 69k | 2 repos | ~845 | Automated safety check: Pass | Apache-2.0 |
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
obra/superpowers
Investigates a session where Superpowers went wrong, reads the transcripts on disk and produces an evidence-cited report, optionally prepared as a bug report for the maintainers.
bytedance/deer-flow
Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.
onyx-dot-app/onyx
Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.
openinterpreter/openinterpreter
Bumps the pinned v8 and rusty_v8 versions in Codex, validates the release-candidate path with the v8-canary check, and traces failures to upstream build changes.
mvanhorn/last30days-skill
Research what people actually say about any topic in the last 30 days.
github/gh-aw
Drives a real browser from the command line with playwright-cli to open pages, interact, mock requests, save state and work with Playwright tests.
github/gh-aw
Designs and verifies a deterministic grader that measures whether a GitHub Agentic Workflow run reached its real-world or repository outcome.
github/gh-aw
Scaffolds, edits, reloads and debugs a canvas extension that the GitHub Copilot CLI can open in its side panel.
github/gh-aw
Drives an open pull request to merge-ready from inside a GitHub Copilot cloud agent, resolving review threads and local checks concurrently, without merging or retriggering CI.
github/gh-aw
Bumps gh-aw's pinned gh-aw-firewall version, rebuilds generated artifacts, and flags upstream spec or schema changes that need follow-up work.
github/gh-aw
Guide to the console struct tag system in gh-aw: headers, titles, number and cost formats, omitempty, and how structs, slices and maps render in the terminal.
Works with
Define and validate GitHub custom agent files, prompts, and examples. Custom Agents is an agent skill from github/gh-aw, published by the product's own GitHub organization. Define and validate GitHub custom agent files, prompts, and examples.
Run `npx skills add github/gh-aw --skill custom-agents -a claude-code`. Or copy the skill folder (.github/skills/custom-agents in github/gh-aw) into .claude/skills/custom-agents in your project. Claude Code loads it when a task matches its description.
Run `npx skills add github/gh-aw --skill custom-agents -a codex`. Or copy the skill folder (.github/skills/custom-agents in github/gh-aw) into .agents/skills/custom-agents in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add github/gh-aw --skill custom-agents -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/custom-agents, .gemini/skills/custom-agents, .github/skills/custom-agents and .opencode/skills/custom-agents in your project.
Going by SKILL.md and its folder, Custom Agents needs credentials named MCPSERVER_API_KEY and INTERNAL_MCP_KEY. Our summary lists: A credential in MCPSERVER_API_KEY; A credential in INTERNAL_MCP_KEY.
SKILL.md names 2 domains. As links in the text: docs.github.com and github.blog. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Custom Agents is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.3k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Custom Agents: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Diagnosing Superpowers Sessions (obra/superpowers, 296k stars), GitHub Deep Research (bytedance/deer-flow, 83k stars) and Greploop (onyx-dot-app/onyx, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
github (a GitHub organization, an official publisher) maintains it in github/gh-aw, which has 5,359 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on October 8, 2026.
Source: github/gh-aw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.