gh-stack SKILL.md skillA
gh-stack from sd0xdev/sd0x-harness is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add sd0xdev/sd0x-harness/gh-stack@git:20260926.525302dPins git:20260926.525302d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- sd0xdev/sd0x-harness
- Path
skills/gh-stack/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260926.525302d, committed Sep 26, 2026
- First version recorded
- Sep 23, 2026
- Size
- 65,194 bytes
- Repository stars
- 194
- License
- MIT
Native stacked pull requests through the github/gh-stack extension. Detects the extension, installs it only after the user approves, resolves the branch chain, and executes `gh stack link` / `gh stack push` / `gh stack submit --auto` under a per-use AskUserQuestion gate. Use when: opening or refreshing a native stack of PRs, linking existing PRs into a stack on GitHub, pushing a stack's branches, or when /create-pr --stack delegates the native path here. Not for: a single PR (use /create-pr)…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# GH Stack — Native Stacked PRs **Read first**: `@skills/push-ci/references/authorization-contract.md` before any `gh stack` operation that pushes — § Push safety for the credential and the unshared attestation, § Efficacy Boundary for what the per-use approval authorizes. If that Read fails, stop and report it; run no pushing operation. Wraps the `github/gh-stack` extension so a branch chain becomes a real **Stack** on GitHub — one PR per layer, chained bases, per-layer diff view, linked merges — instead of the hand-built chained-base PR set `/create-pr --stack` produces on its own. ## Authorization ``` ⚠️ This skill is one of the four workflows Anchor Register #4 enumerates (@rules/discretion.md). ⚠️ It may execute exactly three subcommands of the extension — `gh stack link`, `gh stack push`, `gh stack submit --auto` — and nothing else from it, `gh stack view` included: `view` syncs PR metadata and writes it back into `.git/gh-stack`, so it is not a read. What this skill needs to read, it reads without the extension (the first row of the table below). ⚠️ All three push, and they do not push the same way. Read from the extension's source at v0.1.1 …
Read the whole file at its exact version.
How to install
mdr add sd0xdev/sd0x-harness/gh-stack@sha256:d8a81ca05330e551The line at the top of this page pins the label git:20260926.525302d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_o43ag3pjfm7pdg44)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Sep 23, 2026 and Sep 26, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260926.525302d latest | 2026-09-26 | 525302d | 65,194 B | A | view · diff |
| git:20260925.3600370 | 2026-09-25 | 3600370 | 64,880 B | A | view · diff |
| git:20260923.6189f54 | 2026-09-23 | 6189f54 | 62,223 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (65194 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
sd0xdev/sd0x-harness · 194 stars · license MIT · pushed 2026-10-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_o43ag3pjfm7pdg44 GET https://markdownregistry.com/api/v1/resolve?ref=sd0xdev/sd0x-harness/gh-stack GET https://markdownregistry.com/api/v1/blob/d8a81ca05330e55124c3fcab0dfc1550f0af07d259921f6a41d07f6023c58def
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from sd0xdev/sd0x-harness
Every file in sd0xdev/sd0x-harness