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 gpsaggese/helpers --skill auto_task.restackgit clone --depth 1 https://github.com/gpsaggese/helpersWrote 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/gpsaggese/helpers/auto_task.restack)<a href="https://agentmods.dev/skills/gpsaggese/helpers/auto_task.restack"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/auto_task.restack/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/gpsaggese/helpers/auto_task.restack"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/auto_task.restack.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.00015 | $0.01567 |
| Opus 5.5 | $0.00006 | $0.00627 |
| Sonnet 5.5 | $0.00003 | $0.00313 |
| Haiku 4.5 | $0.00002 | $0.00157 |
Grade A, and why
auto_task.restack 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 yesterday.
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 — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Goal
- Given the current PR is one branch in a stack of sequential PRs, propagate changes reviewed in an earlier PR into every PR stacked on top of it
- Preserve full history: merge forward and commit. Never rebase or force-push
- End with every PR in the stack mergeable, with CI green
When to Use This Skill
- Use after a PR in the middle or bottom of a stack was reviewed and changed, and the branches stacked on top of it need those changes
- Do not use this to build a new stack. Use
/auto_task.execute_with_stacked_prsinstead - Follow
.claude/skills/auto_task.rules.mdsection "Ask for Clarification Before Executing an Unclear Plan" when a PR's description is unclear. Do not guess and merge blind
Workflow
Discover the Full Stack
- Get the current PR:
> gh pr view --json number,title,baseRefName,headRefName,url - Walk up from the current PR's
baseRefName, following each branch's own PR (gh pr list --head <base> --state all), until reaching the default branch (master). This is the bottom of the stack - Walk down from the current PR's
headRefName, finding the open PR whosebaseRefNameequals the previous PR'sheadRefName(gh pr list --base <branch> --state open). This is the top - Order the PRs from bottom (based on
master) to top - Check whether the bottom PR is behind the default branch:
If> gh pr view <bottom PR> --json mergeable,mergeStateStatusmergeableisCONFLICTING(or the branch is just behind), treat the default branch as an implicitPR_0at the bottom. It needs the same merge-forward treatment as every other pair
Print the Stack
- Print one table with columns
#,Branch,PR(#<NUM> — <title>),Base, e.g.:+---+--------------------+-----------------------------------------------+--------+ | # | Branch | PR | Base | +---+--------------------+-----------------------------------------------+--------+ | 1 | ..._invoke_tasks | #1423 -- auto-pick suffix in git_branch_create | master | | 2 | ..._invoke_tasks_2 | #1424 -- unit tests for git_*/gh_* tasks | #1423 | +---+--------------------+-----------------------------------------------+--------+
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.
- yesterday First seen · 146 lines · 15 tokens per session scan A cd69a2ffeaa6
auto_task.restack is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 15 tokens to every session and 1,567 once invoked, about $0.0001 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-11-06.
auto_task.restack compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| auto_task.restackgpsaggese/helpers | Skill | 158 | today | Apache-2.0 | A | 15 | Claude Code |
| merge-batchdiegosouzapw/OmniRoute | Skill | 83k | 6d ago | MIT | A | 46 | Claude Code |
| prowler-commitprowler-cloud/prowler | Skill | 15k | today | Apache-2.0 | A | 44 | Claude Code, Codex |
| gh-auth-isolationgithub/gh-aw | Skill | 5.6k | today | MIT | A | 20 | Claude Code, Codex |
| comet-githubrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 72 | Claude Code, Codex |
| github-skillzeenie-ai/OpenCompany | Skill | 1.1k | 2d ago | MIT | A | 51 | Claude Code |
| release-helperSahir619/fable-method | Skill | 2.3k | 1mo ago | MIT | A | 43 | Claude Code |