repo-health

repo-health is a skill for Claude Code, Codex from thatrebeccarae/claude-marketing. It costs 42 tokens per session (2,511 once invoked), scanned A, original, MIT.

A checklist-based audit for GitHub repositories, which are projects stored and managed with Git. It checks repository files, GitHub settings, documentation, branch protection, and code hygiene, then produces a scored report.

In plain words
What is it for?
Use it when starting, reviewing, open-sourcing, onboarding to, or preparing to release a GitHub project. It can also generate missing standard files when requested.
Why use it?
It helps reveal missing project basics and maintenance problems before they cause confusion or release issues. It is also useful when taking over an unfamiliar repository.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it when starting, reviewing, open-sourcing, onboarding to, or preparing to release a GitHub project. It can also generate missing standard files when requested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thatrebeccarae/claude-marketing/repo-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 thatrebeccarae/claude-marketing --skill repo-health
Clone the repo
git clone --depth 1 https://github.com/thatrebeccarae/claude-marketing

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 repo-health

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/thatrebeccarae/claude-marketing/repo-health"><img src="https://agentmods.dev/badge/skills/thatrebeccarae/claude-marketing/repo-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,511 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 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.00042 $0.02511
Opus 5 $0.00021 $0.01256
Sonnet 5 $0.00008 $0.00502
Haiku 4.5 $0.00004 $0.00251

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

Security

Grade A, and why

repo-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 9d ago.

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.

skills/repo-health/SKILL.md · 272 lines

How it starts

The opening of the file, as written. The whole thing — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Repo Health

One-command health audit for GitHub repositories. Produces a scored report with prioritized fix recommendations.

Install

claude skill add --from https://github.com/thatrebeccarae/claude-marketing/skills/repo-health

When to Use

  • Setting up a new repo and want to make sure nothing is missing
  • Periodic health checks on active repositories
  • Before open-sourcing a private repo (what needs to be added?)
  • Onboarding onto an unfamiliar repo to assess its state
  • Pre-release hygiene sweep

How to Use

/repo-health [repo-path]        # Full audit with scored report
/repo-health [repo-path] --fix  # Audit + generate missing files

Default repo-path is the current working directory if omitted.


Procedure

Execute each step in order. Do not skip steps.

Step 1: Validate Repo Path

  1. If repo-path is provided, resolve to absolute path. If omitted, use current working directory.
  2. Confirm the path exists and is a directory.
  3. Confirm it contains a .git directory (is a git repo).

If validation fails:

Error: {repo-path} is not a git repository.
Provide a path to a git repo or run from within one.

STOP.

Step 2: Detect Public/Private

Determine repo visibility:

  1. Check for .public-repo marker file at repo root -> public
  2. Check if "public" appears in the remote URL -> public
  3. Run gh repo view --json isPrivate -q '.isPrivate' if gh is available -> use result
  4. If none of the above resolve it -> ask the user

Store as repo_visibility (public or private). Public repos are held to a stricter standard in scoring.

Step 3: File Presence Checks

Check for each standard file. Track result as PRESENT or MISSING.

File Required (Public) Required (Private)
LICENSE Yes No
README.md Yes Yes
.gitignore Yes Yes
SECURITY.md Yes No
CONTRIBUTING.md Yes No
CODEOWNERS Recommended No
.editorconfig Recommended Recommended
.github/pull_request_template.md or .github/PULL_REQUEST_TEMPLATE.md Recommended No
.github/ISSUE_TEMPLATE/ directory (or .github/ISSUE_TEMPLATE.md) Recommended No
CHANGELOG.md Recommended No
CODE_OF_CONDUCT.md Recommended (public) No

Read the full file on GitHub · 272 lines

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. 9d ago First seen · 272 lines · 42 tokens per session scan A 7bf7c24ccb68

Subscribe to this mod's changes

repo-health is a skill published in the GitHub repository thatrebeccarae/claude-marketing (137 stars, last pushed 4mo ago), licensed MIT. It adds 42 tokens to every session and 2,511 once invoked, about $0.0002 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-09-03.