close-story-worktree

close-story-worktree is a skill for Codex from astropham1808/astro-agent-skills. It costs 65 tokens per session (777 once invoked), scanned A, original, no licence file.

A cleanup workflow for a repository story after its pull request has been reviewed and merged. A worktree is a separate local checkout of a Git branch.

In plain words
What is it for?
Use it to clean up supported story branches and worktrees, including names such as codex/ID, worktree-ID, or claude/ID.
Why use it?
It verifies that the work is truly finished before removing the exact worktree and merged local branch.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to clean up supported story branches and worktrees, including names such as codex/ID, worktree-ID, or claude/ID.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/astropham1808/astro-agent-skills/close-story-worktree
Install

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.

Any agent
npx skills add astropham1808/astro-agent-skills --skill close-story-worktree
Clone the repo
git clone --depth 1 https://github.com/astropham1808/astro-agent-skills

Made for: Codex.

Wrote 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.

agentmods badge for close-story-worktree

README.md
[![agentmods](https://agentmods.dev/badge/skills/astropham1808/astro-agent-skills/close-story-worktree/github.svg)](https://agentmods.dev/skills/astropham1808/astro-agent-skills/close-story-worktree)
Your own site
<a href="https://agentmods.dev/skills/astropham1808/astro-agent-skills/close-story-worktree"><img src="https://agentmods.dev/badge/skills/astropham1808/astro-agent-skills/close-story-worktree/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.

agentmods 80×15 button for close-story-worktree

Your own site · 80×15
<a href="https://agentmods.dev/skills/astropham1808/astro-agent-skills/close-story-worktree"><img src="https://agentmods.dev/badge/skills/astropham1808/astro-agent-skills/close-story-worktree.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 777 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.00777
Opus 5.5 $0.00026 $0.00311
Sonnet 5.5 $0.00013 $0.00155
Haiku 4.5 $0.00006 $0.00078

Measured 1mo ago against content hash 4c1c8321a7a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

close-story-worktree 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/cleanup-merged-story.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

codex/skills/close-story-worktree/SKILL.md · 84 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 1mo ago Changed · +8 lines · -14 tokens per session 4c1c8321a7a8
  2. 2mo ago First seen · 76 lines · 79 tokens per session scan A 132a21cb67e3

Subscribe to this mod's changes

close-story-worktree is a skill published in the GitHub repository astropham1808/astro-agent-skills (1 stars, last pushed 1mo ago), with no licence file. It adds 65 tokens to every session and 777 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens

pr

Comprehensive PR/issue review - analyzes architecture, tests, identifies unrelated changes mixed in, drafts review comment or issue comment. Use when user asks to review a PR, check a PR, look at PR changes, or comment on an issue.

umputun/cc-thingz · 51 tokens

pr-threads-address

Address PR review feedback by systematically working through every unresolved PR review thread on the current branch's PR - analyze each comment, make the requested code changes (with tests where useful), commit, and optionally reply and resolve.

posit-dev/skills · 48 tokens

deploy-landed

A deployment verification procedure that checks whether the intended code revision is actually running, its environment settings are present, and the product works. A deployment is the process of putting new software on a server or hosting platform.

avelikiy/great_cto · 103 tokens

signing-preflight

Before the first commit of a session, check that commit signing will work — the key is loaded and unlocked — and ask the operator to unlock it once, up front, instead of discovering it after a hundred unsigned commits. Never disables signing silently, never re-signs history without asking. Use at the start of…

avelikiy/great_cto · 105 tokens

check-pr

Read-only inspection of a single GitHub PR lifecycle — checks CI, review feedback (threads, review bodies, top-level comments), description sync, and mergeability, and returns PASS or FAIL with per-gate findings. Never invokes the merge button. Use when verifying a PR is ready to merge, polling lifecycle progress…

doodledood/manifest-dev · 83 tokens