power-framework: Skill for Claude Code

.agents/skills/cleanup-branches/SKILL.md

cleanup-branches is a skill for Claude Code, Codex from weby-homelab/power-framework. It costs 23 tokens per session (242 once invoked), scanned A, original, GPL-3.0.

A cleanup task for obsolete Git branches, which are separate lines of development in a repository. It removes branches that have already been merged or are no longer needed, both locally and on GitHub.

In plain words
What is it for?
Use it after completed work has been merged to find and delete outdated local branches and their corresponding GitHub branches.
Why use it?
It reduces clutter in the repository and makes it easier to see which branches are still active.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

This is weby-homelab/power-framework's own configuration. It tells Claude Code and Codex how to work on power-framework itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything power-framework configures →

Reuse

Borrowing it

Nothing to install: this file belongs to weby-homelab/power-framework. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/weby-homelab/power-framework/main/.agents/skills/cleanup-branches/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/weby-homelab/power-framework

Made for: Claude Code, 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 cleanup-branches

README.md
[![agentmods](https://agentmods.dev/badge/skills/weby-homelab/power-framework/cleanup-branches/github.svg)](https://agentmods.dev/skills/weby-homelab/power-framework/cleanup-branches)
Your own site
<a href="https://agentmods.dev/skills/weby-homelab/power-framework/cleanup-branches"><img src="https://agentmods.dev/badge/skills/weby-homelab/power-framework/cleanup-branches/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 cleanup-branches

Your own site · 80×15
<a href="https://agentmods.dev/skills/weby-homelab/power-framework/cleanup-branches"><img src="https://agentmods.dev/badge/skills/weby-homelab/power-framework/cleanup-branches.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 242 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.00023 $0.00242
Opus 5.5 $0.00009 $0.00097
Sonnet 5.5 $0.00005 $0.00048
Haiku 4.5 $0.00002 $0.00024

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

Security

Grade A, and why

cleanup-branches 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/cleanup_branches.py), 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.

.agents/skills/cleanup-branches/SKILL.md · 29 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

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. 2mo ago First seen · 29 lines · 23 tokens per session scan A 144d16487743

Subscribe to this mod's changes

cleanup-branches is a skill published in the GitHub repository weby-homelab/power-framework (23 stars, last pushed 6d ago), licensed GPL-3.0. It adds 23 tokens to every session and 242 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-08-30.

Related

Other skills, from other repositories

backfill

Reconstruct an OKF bundle by event-sourcing a repository's history (git log and Claude session transcripts). Use when creating an .okf/ bundle for an existing repository that predates this skill, or when resuming an interrupted backfill session. Triggers on: "reconstruct the OKF bundle", "backfill the knowledge…

scaccogatto/okf-skills · 80 tokens

pr-reply

Answer reviewers on your own pull requests in other people's repos: find threads where the ball is on your side, tell humans from bots, do exactly what was asked and reply with evidence. Use at the start of any GitHub session or on a new-review alert. Triggers: /pr-reply, /prr, answer the reviewers, who is waiting on…

tonydzi/second-brain-starter-kit · 79 tokens

contrib-watch

Watch incoming feedback from outside engineers on your open-source repos: comments, reviews, issues, mentions. Use when you need to find who replied to your pull requests or issues, triage human versus bot responses, and answer within a day with evidence.

tonydzi/second-brain-starter-kit · 54 tokens

github-growth

A working guide for promoting projects and starting useful conversations on GitHub. GitHub is a platform for hosting code, reviewing changes, and discussing software with its users and maintainers.

tonydzi/second-brain-starter-kit · 113 tokens

issue-match

Measure a target repository's queue and find a live open issue the contribution would close, before opening a pull request there. Reports how many PRs are open, how many of the last N closed ones were actually merged, and which issue to attach to, because a cold PR into a dead queue is a wasted artifact. Triggers…

tonydzi/second-brain-starter-kit · 87 tokens

release-slice

Open-source one slice of a private system: take a component, sanitize it, run a leak-scan as a hard gate, publish to GitHub, then changelog, roadmap and tag on cadence, then the content wave. Publishing without passing the leak-scan is forbidden. Triggers: "/release-slice ", "ship the next slice".

tonydzi/second-brain-starter-kit · 76 tokens