Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add sd0xdev/sd0x-harness --skill gh-stackgit clone --depth 1 https://github.com/sd0xdev/sd0x-harnessWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sd0xdev/sd0x-harness/gh-stack)<a href="https://agentmods.dev/skills/sd0xdev/sd0x-harness/gh-stack"><img src="https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/gh-stack/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sd0xdev/sd0x-harness/gh-stack"><img src="https://agentmods.dev/badge/skills/sd0xdev/sd0x-harness/gh-stack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00175 | $0.16914 |
| Opus 5.5 | $0.00070 | $0.06766 |
| Sonnet 5.5 | $0.00035 | $0.03383 |
| Haiku 4.5 | $0.00017 | $0.01691 |
Grade A, and why
gh-stack scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 724 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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
(§ Force form): `link` runs a plain `git push --atomic`; `push` and `submit --auto` run a
per-branch, value-bearing `git push --force-with-lease=refs/heads/<b>:<sha>`. The approval
names the form the chosen subcommand uses.
⚠️ Every `gh stack` invocation REQUIRES explicit per-use user approval via AskUserQuestion
— no flag, no earlier approval and no delegating skill substitutes for it.
⚠️ Every other subcommand is printed for the user to run, never executed.
| Operation | Executor | Authorization |
|---|---|---|
gh --version, gh auth status (exit status only), gh extension list, gh pr list --json, gh pr view --json, gh api 'repos/{owner}/{repo}/stacks?pull_request=<n>' (GET), git rev-parse, git merge-base, and the extension's tracking file <git-dir>/gh-stack read with the Read tool |
this skill | read-only |
gh extension install github/gh-stack |
this skill | Phase 1 AskUserQuestion — never installed silently |
gh stack link, gh stack push, gh stack submit --auto |
this skill | Phase 3 per-use AskUserQuestion naming the push form and the branches |
gh stack view, gh stack rebase, gh stack sync, gh stack modify, gh stack merge, gh stack unstack, gh stack init, gh stack add, gh stack checkout |
user only — printed, never run | outside the grant |
gh pr edit for an attribution remediation |
this skill | /create-pr § 7b contract (CLAUDE.md rule 3, Anchor) |
git push by any other route |
/push-ci |
its own workflow |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago Changed · +1 lines f6365e082d6d
- 2mo ago Changed · +3 lines d8a81ca05330
- 2mo ago Changed · +28 lines 432a3e17e02d
- 2mo ago First seen · 692 lines · 175 tokens per session scan A 5074374c8727
gh-stack is a skill published in the GitHub repository sd0xdev/sd0x-harness (196 stars, last pushed 5d ago), licensed MIT. It adds 175 tokens to every session and 16,914 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-24.
gh-stack compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gh-stacksd0xdev/sd0x-harness | Skill | 196 | 5d ago | MIT | A | 175 | Claude Code |
| updateromiluz13/cc10x | Skill | 167 | 1mo ago | MIT | A | 108 | Claude Code |
| resolving-merge-conflictsromiluz13/cc10x | Skill | 167 | 1mo ago | MIT | A | 25 | Claude Code |
| generator-fix-integratorredker56/auto-harness | Skill | 15 | 7mo ago | MIT | A | 40 | Claude Code |
| finishing-a-development-branchrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 44 | Claude Code, Codex |
| comet-archiverpamis/comet | Skill | 3.3k | yesterday | MIT | A | 35 | Claude Code, Codex |
| comet-archiverpamis/comet | Skill | 3.3k | yesterday | MIT | A | 34 | Codex |