repo-status

repo-status is a skill for Claude Code from urmzd/dotfiles. It costs 140 tokens per session (774 once invoked), scanned A, original, Apache-2.0.

A read-only status report for folders containing git repositories, which are projects tracked with version history. It checks recently active repositories for local changes, branch differences from the upstream copy, recent commits, and CI results.

In plain words
What is it for?
Use it to scan a directory and report each active repository's branch, uncommitted files, unpushed or missing commits, recent activity, and latest automated workflow status.
Why use it?
It gives a quick view of which projects need attention without committing, pushing, or editing anything. It also shows whether local work is ahead of or behind the shared repository.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to scan a directory and report each active repository's branch, uncommitted files, unpushed or missing commits, recent activity, and latest automated workflow status.

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

Made for: Claude Code.

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-status

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/urmzd/dotfiles/repo-status"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/repo-status.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 774 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.00140 $0.00774
Opus 5 $0.00070 $0.00387
Sonnet 5 $0.00028 $0.00155
Haiku 4.5 $0.00014 $0.00077

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

Security

Grade A, and why

repo-status 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 8d 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.

dot_agents/skills/repo-status/SKILL.md · 62 lines

How it starts

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

Repo Status

Scan a directory for git repositories with recent activity and report their status.

Invocation

The user may pass a folder path as an argument. Default to $REPO_ROOT, falling back to ~/github if unset.

Steps

  1. Discover repos: Find all directories containing a .git folder (one level deep only; do not recurse into nested repos).

  2. Filter by activity: Only include repos that have commits in the last 7 days on any local branch (git log --all --since='7 days ago' --oneline -1). Skip repos with no recent activity.

  3. For each active repo, gather:

    • Repo name (directory basename)
    • Current branch vs default branch (use gh repo view --json defaultBranchRef -q .defaultBranchRef.name or fall back to checking for main/master)
    • Uncommitted changes: git status --porcelain (staged, unstaged, untracked counts)
    • Unpushed commits: commits ahead of upstream (git rev-list @{u}..HEAD --count 2>/dev/null)
    • Behind upstream: commits behind (git fetch --quiet && git rev-list HEAD..@{u} --count 2>/dev/null)
    • CI status: gh run list --limit 1 --json status,conclusion,name. Show latest workflow run status (passing/failing/in-progress)
  4. Output format: Print a clean, grouped summary. For each repo use this structure:

## repo-name [branch: feature/xyz -> main]
- Status: 3 modified, 1 untracked
- Ahead: 2 commits unpushed
- Behind: 5 commits (needs pull/rebase)
- CI: passing | failing (ci.yml) | in progress
- Action needed: pull, push, commit changes, fix CI
  1. Summary table at the end: one-line-per-repo showing repo name, branch, dirty/clean, ahead/behind counts, CI status, and action needed.

Rules

  • Run git fetch --quiet before checking ahead/behind so counts are current.
  • Run repo checks in parallel where possible (use & and wait in bash).
  • If a directory isn't a valid git repo or has no remote, note it and move on.
  • Keep output concise; skip sections that have nothing to report (e.g., don't show "Behind: 0").
  • Only show repos with recent activity (last 7 days) to keep the report focused.

Read the full file on GitHub · 62 lines

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. 8d ago First seen · 62 lines · 140 tokens per session scan A deb579f2ef7b

Subscribe to this mod's changes

repo-status is a skill published in the GitHub repository urmzd/dotfiles (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 140 tokens to every session and 774 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.