Contributor-First PR Merge
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
Manage dependent branches and pull requests with the gh-stack GitHub CLI extension.
$ npx skills add pmndrs/glyph --skill gh-stack -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pmndrs/glyph gh-stack --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/pmndrs/glyph.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/gh-stack .claude/skills/gh-stack && 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-stack" agent skill from https://github.com/pmndrs/glyph/tree/main/.agents/skills/gh-stack into .claude/skills/gh-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-stack", 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/pmndrs/glyph/tree/main/.agents/skills/gh-stackType 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 pmndrs/glyph --skill gh-stack -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pmndrs/glyph gh-stack --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pmndrs/glyph.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/gh-stack .agents/skills/gh-stack && 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-stack" agent skill from https://github.com/pmndrs/glyph/tree/main/.agents/skills/gh-stack into .agents/skills/gh-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-stack", 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 pmndrs/glyph --skill gh-stack -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pmndrs/glyph gh-stack --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pmndrs/glyph.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/gh-stack .cursor/skills/gh-stack && 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-stack" agent skill from https://github.com/pmndrs/glyph/tree/main/.agents/skills/gh-stack into .cursor/skills/gh-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-stack", 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/pmndrs/glyph.git --path .agents/skills/gh-stack--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 pmndrs/glyph --skill gh-stack -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pmndrs/glyph gh-stack --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pmndrs/glyph.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/gh-stack .gemini/skills/gh-stack && 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-stack" agent skill from https://github.com/pmndrs/glyph/tree/main/.agents/skills/gh-stack into .gemini/skills/gh-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-stack", 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 pmndrs/glyph gh-stackInstalls 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 pmndrs/glyph --skill gh-stack -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pmndrs/glyph.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/gh-stack .github/skills/gh-stack && 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-stack" agent skill from https://github.com/pmndrs/glyph/tree/main/.agents/skills/gh-stack into .github/skills/gh-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-stack", 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 pmndrs/glyph --skill gh-stack -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pmndrs/glyph gh-stack --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pmndrs/glyph.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/gh-stack .opencode/skills/gh-stack && 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-stack" agent skill from https://github.com/pmndrs/glyph/tree/main/.agents/skills/gh-stack into .opencode/skills/gh-stack/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-stack", 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-stackManage dependent branches and pull requests with the gh-stack GitHub CLI extension.
Gh Stack is an agent skill from pmndrs/glyph. Manage dependent branches and pull requests with the gh-stack GitHub CLI extension. Use for stacked diffs, dependent pull requests, branch chains, stack navigation, rebasing, submission, synchronization, or merging.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Pull requests. It works with GitHub and Git. The repository describes itself as: ♠️ A typography engine for web graphics. The licence is MIT.
Read from SKILL.md and the folder at commit 51a1f34. 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.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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 Stack loads about 1.1k tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 598 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 pmndrs/glyph at commit 51a1f34, republished under its MIT licence (© pmndrs). 598 words, ~1,120 tokens.
.claude/skills/gh-stack/SKILL.md (or your agent's skills folder).A stack is a linear dependency chain rooted on the repository's remote default branch. Each branch maps to one PR whose base is the branch below it. Use gh stack for the whole lifecycle; ordinary push, PR creation, and PR merge commands do not preserve stack state.
The installed CLI is the authority for exact flags. Before an unfamiliar or destructive operation, run
gh stack <command> --help rather than relying on copied command documentation.
git remote -v
git branch --show-current
git symbolic-ref --short refs/remotes/origin/HEAD
gh stack view --jsonAn existing checkout may already be tracked by a stack even when it contains only one feature branch. Preserve that state and submit through the stack instead of recreating the PR.
git add <exact paths>
git commit -m "type(scope): coherent invariant"
gh stack submit --auto --remote origin
gh stack view --jsonVerify the remote branch after submission:
git rev-list --left-right --count origin/<branch>...HEADgh stack init --base <remote-default-branch> <bottom-branch>
gh stack add <next-branch>init, add, and checkout require explicit positional arguments. Choose branch names relevant to the actual concern; the CLI uses them verbatim.
gh stack checkout <branch-or-pr>
# edit, verify, git add, git commit
gh stack rebase --upstack --remote origin
gh stack submit --auto --remote origin
gh stack view --jsonOn a rebase conflict, inspect and resolve the named files, stage the resolutions, then run gh stack rebase --continue. If the intended resolution is not clear, abort with gh stack rebase --abort and ask the user rather than guessing.
gh stack sync --remote origin
gh stack view --jsonUse --prune only when removing merged local branches is in scope. A stack restructure or local tracking reset requires an explicit target and a read of gh stack unstack --help; --local preserves GitHub state.
gh stack merge <stack-or-pr-number> --yes --squashResolve the exact stack or PR number with view --json first. Stack merge is all-or-nothing where repository rules permit it; merge queues may enqueue the PRs instead.
Report the branch chain, PR URLs or numbers, and verification result. Do not dump raw JSON when a concise status answers the user's question.
© pmndrs, 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 .agents/skills/gh-stack of pmndrs/glyph.
Open the folder on GitHubat commit 51a1f34
Gh Stack 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 Stack this skillpmndrs/glyph | 393 | — | ~1.1k | 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 | |
| PR Review State Fetchprisma/orm | 48k | — | ~767 | Automated safety check: Pass | Apache-2.0 | |
| Creating Description For Gh PRredis/jedis | 12k | — | ~838 | Automated safety check: Pass | MIT |
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
Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.
redis/jedis
Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.
makeplane/plane
Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.
pmndrs/glyph
Author, archive, apply, and verify TypeScript codemods with ts-morph for APIs that have reached the remote default branch or external users.
pmndrs/glyph
Create, migrate, inspect, query, validate, or maintain Open Knowledge Format v0.2 bundles made from linked Markdown concepts with YAML provenance.
pmndrs/glyph
Implement, migrate, review, debug, or verify Three.js Shading Language (TSL) materials, node graphs, WebGPU compute work, and post-processing.
pmndrs/glyph
Design, classify, write, audit, or restructure technical documentation with the Diátaxis framework.
pmndrs/glyph
Audit and improve repository code milestone by milestone for correctness, clarity, local reasoning, DRY design, explicit state modeling, panic resistance, and trustworthy TypeScript boundaries.
pmndrs/glyph
Shape human-facing engineering communication—including chat updates and final answers, reports, reviews, handoffs, debugging or benchmark summaries, PR and issue prose, READMEs, and technical…
Categories
Manage dependent branches and pull requests with the gh-stack GitHub CLI extension. Gh Stack is an agent skill from pmndrs/glyph. Manage dependent branches and pull requests with the gh-stack GitHub CLI extension.
Gh Stack fits situations like: dependent pull requests; stack navigation; synchronization.
Run `npx skills add pmndrs/glyph --skill gh-stack -a claude-code`. Or copy the skill folder (.agents/skills/gh-stack in pmndrs/glyph) into .claude/skills/gh-stack in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pmndrs/glyph --skill gh-stack -a codex`. Or copy the skill folder (.agents/skills/gh-stack in pmndrs/glyph) into .agents/skills/gh-stack 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 pmndrs/glyph --skill gh-stack -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-stack, .gemini/skills/gh-stack, .github/skills/gh-stack and .opencode/skills/gh-stack in your project.
SKILL.md names no scripts, command-line tools or credentials: Gh Stack is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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 Stack is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.5k 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 Gh Stack: Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars), Pull Request Title and Body Writer (openinterpreter/openinterpreter, 69k stars) and PR Review State Fetch (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pmndrs (a GitHub organization) maintains it in pmndrs/glyph, which has 393 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 8, 2026.
Source: pmndrs/glyph on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.