close-story

close-story is a skill for Claude Code from astropham1808/astro-agent-skills. It costs 131 tokens per session (848 once invoked), scanned A, original, no licence file.

A cleanup workflow for a finished development story, meaning a tracked piece of work identified by an ID such as AL-123. It handles the local worktree, a separate checkout of a Git branch, after the pull request is merged.

In plain words
What is it for?
Use it after a story’s pull request has been reviewed and merged to tear down its worktree and branch.
Why use it?
It helps remove leftover local checkouts and branches without cleaning up unfinished work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the godmode-dev-flow plugin — 4 skills shipped together

Good fit Use it after a story’s pull request has been reviewed and merged to tear down its worktree and branch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/astropham1808/astro-agent-skills/close-story
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
Clone the repo
git clone --depth 1 https://github.com/astropham1808/astro-agent-skills

Made for: Claude Code.

Or install godmode-dev-flow, the plugin that ships this one along with the rest of its 4 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/astropham1808/astro-agent-skills/close-story"><img src="https://agentmods.dev/badge/skills/astropham1808/astro-agent-skills/close-story.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 848 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.00131 $0.00848
Opus 5 $0.00066 $0.00424
Sonnet 5 $0.00026 $0.00170
Haiku 4.5 $0.00013 $0.00085

Measured 12d ago against content hash 53455531d4a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

close-story 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 12d 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.

claude/plugins/godmode-dev-flow/skills/close-story/SKILL.md · 85 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

1 file 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. 12d ago First seen · 85 lines · 131 tokens per session scan A 53455531d4a4

Subscribe to this mod's changes

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

commit

Git commit workflow with precommit hook handling, lint/type checking, README updates, and API reference updates. Use when the user wants to commit changes. Handles precommit hooks that modify files (formatting, linting) by re-staging and retrying. Runs ruff lint and pyright type checks on staged Python files, and…

ReflexioAI/claude-smart · 122 tokens

update-pr

Update an existing pull request with new changes. Use when the user wants to update a PR, push follow-up changes to a PR, refresh a PR description, or sync a PR with latest commits. Triggers on: update pr, update-pr, update the pr, push to pr, refresh pr, sync pr, update pull request.

ReflexioAI/claude-smart · 71 tokens

codex-setup

Initialize sd0x-dev-flow infrastructure for Codex CLI and other non-Claude agents. Generates AGENTS.md, installs the commit-msg hook, copies runner scripts. The pre-push gate is opt-in via --with-push-gate. Use when setting up a new project or after updating skills.

sd0xdev/sd0x-harness · 65 tokens

smart-rebase

Smart partial rebase for squash-merge repositories. Auto-detect which commits to keep/drop when base branch was squash-merged into target. Use when: user says 'rebase', 'partial rebase', 'base already merged', 'smart rebase', or /smart-rebase. Not for: simple git rebase (the developer runs it — Claude never executes…

sd0xdev/sd0x-harness · 131 tokens

next-step

Change-aware next step advisor. Use when: user asks what to do next, workflow progression is unclear, session just started with dirty worktree. Not for: executing the suggested command (user decides), auto-loop decisions (hooks handle that). Output: findings-based suggestions or session summary with commit seed.

sd0xdev/sd0x-harness · 63 tokens

resolving-merge-conflicts

Use when a git merge or rebase reports conflicts and the operation is in progress.

romiluz13/cc10x · 25 tokens