branch_health

branch_health is a skill for Claude Code, Codex from AIOSAI/AIPass. It costs 17 tokens per session (285 once invoked), scanned A, original, MIT.

A quick report of source files, test files, and test functions across AIPass branches. A branch is a separate line of development in a code repository.

In plain words
What is it for?
Comparing all branches, checking test-only statistics, or inspecting one named branch.
Why use it?
It gives a fast view of codebase size and testing activity without manually counting files or tests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Comparing all branches, checking test-only statistics, or inspecting one named branch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aiosai/aipass/branch_health
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 AIOSAI/AIPass --skill branch_health
Clone the repo
git clone --depth 1 https://github.com/AIOSAI/AIPass

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 branch_health

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiosai/aipass/branch_health"><img src="https://agentmods.dev/badge/skills/aiosai/aipass/branch_health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 285 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00017 $0.00285
Opus 5 $0.00009 $0.00143
Sonnet 5 $0.00003 $0.00057
Haiku 4.5 $0.00002 $0.00028

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

Security

Grade A, and why

branch_health 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (handler.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.

src/aipass/skills/lib/branch_health/SKILL.md · 47 lines

What it actually says

Branch Health Skill

Quick health check for AIPass branches. Counts Python source files, test files, and test functions to give a snapshot of each branch's codebase and test coverage.

Available Actions

Action Description
summary Full stats for all branches (default)
tests Test-only stats (test files, test function counts)
branch Stats for a single branch by name

Usage

drone @skills run branch_health summary
drone @skills run branch_health tests
drone @skills run branch_health flow

Output Format

All actions return structured dicts:

{"success": True, "output": "...", "error": None}

Notes

  • Scans apps/ for source files and tests/ for test files
  • Counts def test_ lines as test functions
  • Missing directories are handled gracefully
  • No external dependencies -- stdlib only
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. 11d ago First seen · 47 lines · 17 tokens per session scan A 1f25bf1457d3

Subscribe to this mod's changes

branch_health is a skill published in the GitHub repository AIOSAI/AIPass (273 stars, last pushed yesterday), licensed MIT. It adds 17 tokens to every session and 285 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories