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.
使用 GitHub CLI (gh) 执行非交互式 GitHub 协作与自动化任务(PR、Issue、Actions、Release、API 查询/修改)。当用户要求“用 gh 命令完成任务”、需要结构化 JSON 输出(--json/--jq)、批量处理 PR/Issue(如“批量 review 多个 PR”)、按策略合并(如“检查通过后自动 squash 合并”)时使用此 skill。
$ npx skills add BiFangKNT/mtga --skill gh-cli -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install BiFangKNT/mtga gh-cli --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/BiFangKNT/mtga.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/gh-cli .claude/skills/gh-cli && 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 "gh-cli" agent skill from https://github.com/BiFangKNT/mtga/tree/tauri/.codex/skills/gh-cli into .claude/skills/gh-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-cli", 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/BiFangKNT/mtga/tree/tauri/.codex/skills/gh-cliType 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 BiFangKNT/mtga --skill gh-cli -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install BiFangKNT/mtga gh-cli --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BiFangKNT/mtga.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.codex/skills/gh-cli .agents/skills/gh-cli && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gh-cli" agent skill from https://github.com/BiFangKNT/mtga/tree/tauri/.codex/skills/gh-cli into .agents/skills/gh-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-cli", 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 BiFangKNT/mtga --skill gh-cli -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install BiFangKNT/mtga gh-cli --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BiFangKNT/mtga.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.codex/skills/gh-cli .cursor/skills/gh-cli && 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 "gh-cli" agent skill from https://github.com/BiFangKNT/mtga/tree/tauri/.codex/skills/gh-cli into .cursor/skills/gh-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-cli", 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/BiFangKNT/mtga.git --path .codex/skills/gh-cli--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 BiFangKNT/mtga --skill gh-cli -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install BiFangKNT/mtga gh-cli --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BiFangKNT/mtga.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.codex/skills/gh-cli .gemini/skills/gh-cli && 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 "gh-cli" agent skill from https://github.com/BiFangKNT/mtga/tree/tauri/.codex/skills/gh-cli into .gemini/skills/gh-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-cli", 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 BiFangKNT/mtga gh-cliInstalls 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 BiFangKNT/mtga --skill gh-cli -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/BiFangKNT/mtga.git skills-src && mkdir -p .github/skills && cp -r skills-src/.codex/skills/gh-cli .github/skills/gh-cli && 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 "gh-cli" agent skill from https://github.com/BiFangKNT/mtga/tree/tauri/.codex/skills/gh-cli into .github/skills/gh-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-cli", 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 BiFangKNT/mtga --skill gh-cli -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install BiFangKNT/mtga gh-cli --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/BiFangKNT/mtga.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.codex/skills/gh-cli .opencode/skills/gh-cli && 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 "gh-cli" agent skill from https://github.com/BiFangKNT/mtga/tree/tauri/.codex/skills/gh-cli into .opencode/skills/gh-cli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-cli", 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.
gh-cli使用 GitHub CLI (gh) 执行非交互式 GitHub 协作与自动化任务(PR、Issue、Actions、Release、API 查询/修改)。当用户要求“用 gh 命令完成任务”、需要结构化 JSON 输出(--json/--jq)、批量处理 PR/Issue(如“批量 review 多个 PR”)、按策略合并(如“检查通过后自动 squash 合并”)时使用此 skill。
Gh CLI is an agent skill from BiFangKNT/mtga. 使用 GitHub CLI (gh) 执行非交互式 GitHub 协作与自动化任务(PR、Issue、Actions、Release、API 查询/修改)。当用户要求“用 gh 命令完成任务”、需要结构化 JSON 输出(--json/--jq)、批量处理 PR/Issue(如“批量 review 多个 PR”)、按策略合并(如“检查通过后自动 squash 合并”)时使用此 skill。
Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. The skill folder holds 39 other files, including reference files (for example `agents/openai.yaml`, `references/api-graphql.md` and `references/api-rest.md`).
It sits in Development, covering Pull requests. It works with GitHub. The repository describes itself as: 基于本地代理的方式,绕过 IDE 的固定模型服务商限制. The licence is AGPL-3.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 72669fb. 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.
Shell commands in SKILL.md call:
ghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gh CLI loads about 599 tokens when it runs, and up to ~2.5k if it reads all its reference files. Until then it costs about 52 tokens; SKILL.md has 164 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 BiFangKNT/mtga at commit 72669fb, republished under its AGPL-3.0 licence (© BiFangKNT). 164 words, ~599 tokens.
.claude/skills/gh-cli/SKILL.md (or your agent's skills folder). This skill also uses 37 other files; get the full folder from GitHub.以可复现、可审计的方式调用 gh。默认输出结构化数据,优先使用非交互命令,避免依赖浏览器或 TUI。
gh <subcommand> --help 或 gh help <topic>。list/view/status/api GET)。approve/request-changes/comment):使用 gh pr review。gh api repos/{owner}/{repo}/pulls/{num}/reviews 或 gh api repos/{owner}/{repo}/pulls/{num}/comments,不要把 gh pr review 当作行内评论接口。--json + --jq/-q 精简结果。gh api --paginate。gh api -f/-F 或 --input 传文件。gh pr diff 不支持按文件路径直接过滤;按文件获取 patch 使用 gh api repos/{owner}/{repo}/pulls/{num}/files --paginate 再筛选。headRefOid,并保证请求里的 commit_id 与其一致;否则常见 422。gh api --input -,避免在工作区落地临时文件。gh auth status,返回失败原因并给出最小修复命令。执行任何写操作前,先确认:
owner/repo)。--delete-branch、是否 --auto)。headRefOid 与 commit_id 一致。缺任一关键项时,先补信息,再执行。
统一按以下结构输出:
Plan: 本次要做的动作(1-2 行)。Commands: 实际执行的命令(先只读,后变更)。Result: 关键字段(如 number、state、url、reviewDecision)。Next: 若失败或受阻,给最短可执行下一步。按需读取参考文档,避免一次加载全部命令:
references/commands.mdreferences/auth.mdreferences/repo.mdreferences/pr.mdreferences/issue.mdreferences/workflow.mdreferences/run.mdreferences/api.mdreferences/commands.md 列出的 *-*.md 文件(如 pr-diff.md、run-watch.md)© BiFangKNT, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 37 other files (references) in .codex/skills/gh-cli of BiFangKNT/mtga.
Open the folder on GitHubat commit 72669fb
Gh CLI 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 |
|---|---|---|---|---|---|---|
| Gh CLI this skillBiFangKNT/mtga | 1.2k | — | ~599 | Automated safety check: Pass | AGPL-3.0 | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Check PRonyx-dot-app/onyx | 32k | 2 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Create Pull Requestcline/cline | 70k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Pull Request Title and Body Writeropeninterpreter/openinterpreter | 69k | 2 repos | ~1.1k | 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.
onyx-dot-app/onyx
Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
cline/cline
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
openinterpreter/openinterpreter
Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.
prisma/orm
Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.
BiFangKNT/mtga
Write and debug ast-grep rules for structural code search and rewrite.
BiFangKNT/mtga
Maintain, debug, and recover MTGA's Trae native custom-model route.
BiFangKNT/mtga
构建、调试与发布 Tauri v2 应用的工程化工作流。覆盖项目初始化(create-tauri-app)、前端与 Rust 命令通信([tauri::command] + invoke)、状态管理、Capabilities 权限建模、插件接入、跨平台构建与问题排查。当用户需求涉及“创建 Tauri 项目”“把 Web 前端接到 Rust…
BiFangKNT/mtga
在 Windows/macOS/Linux 上使用 uv 执行 Python 运行、依赖同步、锁文件管理、Python 版本管理与工具命令(uv run、uv sync、uv lock、uv python、uv tool)。当任务涉及“用 uv 运行脚本/命令”“临时依赖(--with)”“锁文件一致性(--locked/--frozen)”“跨平台…
BiFangKNT/mtga
在 Windows PowerShell 5.1 与 PowerShell 7 中编写和执行稳定命令,重点处理引号、管道符、原生命令参数传递与跨版本兼容。遇到 --jq/过滤表达式被 PowerShell 误解析、同一命令在 pwsh5 与 pwsh7 行为不一致、或需要为 pwsh7.3+ 增加参数传递适配时使用此 skill。
Works with
Categories
使用 GitHub CLI (gh) 执行非交互式 GitHub 协作与自动化任务(PR、Issue、Actions、Release、API 查询/修改)。当用户要求“用 gh 命令完成任务”、需要结构化 JSON 输出(--json/--jq)、批量处理 PR/Issue(如“批量 review 多个 PR”)、按策略合并(如“检查通过后自动 squash 合并”)时使用此 skill。. Gh CLI is an agent skill from BiFangKNT/mtga.
Gh CLI fits situations like: tasks that involve Pull requests.
Run `npx skills add BiFangKNT/mtga --skill gh-cli -a claude-code`. Or copy the skill folder (.codex/skills/gh-cli in BiFangKNT/mtga) into .claude/skills/gh-cli in your project. Claude Code loads it when a task matches its description.
Run `npx skills add BiFangKNT/mtga --skill gh-cli -a codex`. Or copy the skill folder (.codex/skills/gh-cli in BiFangKNT/mtga) into .agents/skills/gh-cli 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 BiFangKNT/mtga --skill gh-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gh-cli, .gemini/skills/gh-cli, .github/skills/gh-cli and .opencode/skills/gh-cli in your project.
Going by SKILL.md and its folder, Gh CLI needs the command-line tools its instructions call (gh).
SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. 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.
Gh CLI is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 599 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Gh CLI: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
BiFangKNT (a GitHub user) maintains it in BiFangKNT/mtga, which has 1,169 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on June 18, 2026.
Source: BiFangKNT/mtga on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.