Skip to content
Back to skills

Prune

ASecurity

Delete the merged branches of the Saani project, locally and on GitHub (never the integration or production branch or checked-out ones; an auto run's branch and folder only once it is finished). Use when the owner types /saani:prune.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
developmentpythongoshellbashgit

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add lordlothar99/saani --skill prune --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prune?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prune
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lordlothar99-prune/badge)](https://www.skillsdirectory.com/skills/lordlothar99-prune)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: prune
description: Delete the merged branches of the Saani project, locally and on GitHub (never the integration or production branch or checked-out ones; an auto run's branch and folder only once it is finished). Use when the owner types /saani:prune.
argument-hint: "[--local-only]"
disable-model-invocation: true
---

# /saani:prune: delete merged branches

**Arguments:** `$ARGUMENTS` (`--local-only` leaves GitHub alone).

1. Run `saani prune --dry-run $ARGUMENTS` and show the list of branches it would delete (and the leftover worktree folders: folders git
   no longer knows, holding only git-ignored generated files; `saani start`, `land` and `status` remove those on their own too).
2. Nothing to delete: say so and stop. Otherwise ask the owner to confirm; deleted branches are gone from GitHub too.
3. On a yes, run `saani prune $ARGUMENTS` and say what was deleted.

## Running saani
Run `saani` with the Bash tool: the plugin's `bin/` puts it on that shell's PATH. If it is not found, run
`python -I "${CLAUDE_PLUGIN_ROOT}/saani.py"` instead. Run it from the project's folder (where saani.toml is). A command that fails: show its
message as it is, say what it means, never work around it.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.