Agent skill

Gh Stack

by aiskillstore in aiskillstore/marketplace

A skill your agent uses for stacked PRs with the gh-stack extension: creating, viewing, editing, pushing, submitting, syncing, rebasing, merging, or checking out a stack, or splitting multi-part…

No licenceAuto-check passed

Install Gh Stack

skills CLI
$ npx skills add aiskillstore/marketplace --skill gh-stack -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace gh-stack --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/jssblck/gh-stack .claude/skills/gh-stack && rm -rf skills-src

Use ~/.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/

Facts

Skill name
gh-stack
GitHub stars
430
Token cost
~2k tokens
SKILL.md length
950 words
Files
6 (incl. references)
Skills in repo
1,085
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses for stacked PRs with the gh-stack extension: creating, viewing, editing, pushing, submitting, syncing, rebasing, merging, or checking out a stack, or splitting multi-part…

  • Stacked PRs with the gh-stack extension: creating
  • SKILL.md covers Setup, Non-interactive use, Branch placement and Core loop, plus 6 more sections
  • Calls gh and git
  • Checking out a stack

What it does

Gh Stack is an agent skill from aiskillstore/marketplace. Use for stacked PRs with the gh-stack extension: creating, viewing, editing, pushing, submitting, syncing, rebasing, merging, or checking out a stack, or splitting multi-part work into reviewable layers. Also use whenever a stack is checked out or the user mentions stacks, branch layers, or dependent PRs.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `agents/openai.yaml`, `references/commands.md` and `references/stack-design.md`).

The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • Stacked PRs with the gh-stack extension: creating
  • Checking out a stack
  • Splitting multi-part work into reviewable layers
  • A stack is checked out

Example prompts

  • “/gh-stack”

What it can do on your machine

Read from SKILL.md and the folder at commit 4ac52da. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • cli.github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gh Stack loads about 2k tokens when it runs, and up to ~7.1k if it reads all its reference files. Until then it costs about 79 tokens; SKILL.md has 950 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.1k

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.

Safety

Auto-check passed

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 950 words (~2,017 tokens).

“gh stack is a GitHub CLI extension for stacked branches and pull requests. A stack is an ordered chain of branches rooted on a trunk, where each branch has one PR based on the branch below it, so a reviewer…”

— opening of SKILL.md by aiskillstore
name
gh-stack

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in skills/jssblck/gh-stack of aiskillstore/marketplace.

  • SKILL.md
  • agents/openai.yaml
  • references/commands.md
  • references/stack-design.md
  • references/troubleshooting.md
  • skill-report.json

Open the folder on GitHubat commit 4ac52da

Compare with similar skills

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.

Gh Stack compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gh Stack this skillaiskillstore/marketplace430—~2kAutomated safety check: PassNone
Stacking PRsPostHog/posthog-foss721—~2.5kAutomated safety check: PassMIT
Stacked PRsFoundationDB/fdb-record-layer675—~1.9kAutomated safety check: PassApache-2.0
Gh Stackremotion-dev/remotion62k6 repos~2.4kAutomated safety check: PassCustom licence
Browser Extension Buildersickn33/agentic-awesome-skills47k2 repos~2.3kAutomated safety check: PassMIT
Browser Extension Launchsickn33/agentic-awesome-skills47k1 repos~1.4kAutomated safety check: PassMIT

Similar skills

  • Stacking PRs

    PostHog/posthog-foss

    Official

    Create and manage GitHub native Stacked PRs in this repo with the gh stack CLI.

    721 GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Stacked PRs

    FoundationDB/fdb-record-layer

    Create and manage stacked pull requests on FoundationDB/fdb-record-layer using the gh stack CLI extension.

    675 GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Gh Stack

    remotion-dev/remotion

    Official

    Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack.

    62k GitHub starsUsed in 6 repos~2.4k tokens
    Media & CreativeAuto-check passed
  • Browser Extension Builder

    sickn33/agentic-awesome-skills

    Expert in building browser extensions that solve real problems - Chrome, Firefox, and cross-browser extensions.

    47k GitHub starsUsed in 2 repos~2.3k tokens
    DevelopmentAuto-check passed
  • Browser Extension Launch

    sickn33/agentic-awesome-skills

    Builds, tests, packages, and prepares Chrome extensions for store launch from a plain-language idea; use for new extensions, fixes, releases, and submission recovery.

    47k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Browser Extension Reverse

    sickn33/agentic-awesome-skills

    Authorized reverse engineering of Chrome/Firefox extensions: manifest analysis, background workers, content scripts, and extension-based credential or data-exposure research.

    47k GitHub starsUsed in 1 repo~695 tokens
    SecurityAuto-check passed

More from aiskillstore/marketplace

All 1,085 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 2 repos~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Investigating Codebases

    aiskillstore/marketplace

    Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

    430 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check: notes

Questions about Gh Stack

What does Gh Stack do?

A skill your agent uses for stacked PRs with the gh-stack extension: creating, viewing, editing, pushing, submitting, syncing, rebasing, merging, or checking out a stack, or splitting multi-part…. Gh Stack is an agent skill from aiskillstore/marketplace. Use for stacked PRs with the gh-stack extension: creating, viewing, editing, pushing, submitting, syncing, rebasing, merging, or checking out a stack, or splitting multi-part work into reviewable layers.

When should I use Gh Stack?

Gh Stack fits situations like: stacked PRs with the gh-stack extension: creating; checking out a stack; splitting multi-part work into reviewable layers; A stack is checked out.

How do I install Gh Stack in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill gh-stack -a claude-code`. Or copy the skill folder (skills/jssblck/gh-stack in aiskillstore/marketplace) into .claude/skills/gh-stack in your project. Claude Code loads it when a task matches its description.

How do I install Gh Stack in Codex?

Run `npx skills add aiskillstore/marketplace --skill gh-stack -a codex`. Or copy the skill folder (skills/jssblck/gh-stack in aiskillstore/marketplace) into .agents/skills/gh-stack in your project. Codex loads it when a task matches its description.

Can I use Gh Stack in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --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.

What does Gh Stack need to run?

Going by SKILL.md and its folder, Gh Stack needs the command-line tools its instructions call (gh and git).

Does Gh Stack access the network?

SKILL.md names 1 domain. As links in the text: cli.github.com. This is read from the text; nothing was executed.

Is Gh Stack safe to install?

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.

What licence does Gh Stack use?

No licence was found for Gh Stack or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Gh Stack use?

About 2k tokens (SKILL.md is roughly 8.1k 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 5k tokens, read only when the agent opens those files.

What are the alternatives to Gh Stack?

Skills that share tags, products or a category with Gh Stack: Stacking PRs (PostHog/posthog-foss, 721 stars), Stacked PRs (FoundationDB/fdb-record-layer, 675 stars), Gh Stack (remotion-dev/remotion, 62k stars) and Browser Extension Builder (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gh Stack?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,085 skills in this directory. The repository was last updated on October 7, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.