up-to-date

up-to-date is a skill for Claude Code from alonbaron/claude-skills. It costs 113 tokens per session (1,128 once invoked), scanned A, original, MIT.

A read-only preflight check for a software repository connected to a remote Git server. It reports local changes, recent updates, branch differences, and open collaboration items before work begins.

In plain words
What is it for?
Use it to check the repository status, fetch remote updates, compare local and remote branches, review recent commits, and note pull requests or issues.
Why use it?
It prevents coding against stale information or overlooking uncommitted work and branch conflicts.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the alon-skills plugin — 6 skills shipped together

Good fit Use it to check the repository status, fetch remote updates, compare local and remote branches, review recent commits, and note pull requests or issues.

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

Made for: Claude Code.

Or install alon-skills, the plugin that ships this one along with the rest of its 6 skills.

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 up-to-date

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alonbaron/claude-skills/up-to-date"><img src="https://agentmods.dev/badge/skills/alonbaron/claude-skills/up-to-date.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,128 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.00113 $0.01128
Opus 5 $0.00056 $0.00564
Sonnet 5 $0.00023 $0.00226
Haiku 4.5 $0.00011 $0.00113

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

Security

Grade A, and why

up-to-date 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 12d 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/up-to-date/SKILL.md · 95 lines

How it starts

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

Up To Date

Get current before doing work. Goal: a short situational brief so you build on the latest code with full context. Read-only by default. Never mutate a dirty tree, never force, never discard local work without explicit confirmation.

Proactive use

When work is about to start in a repo with a remote, invoke this without being asked: announce in one line ("Running up-to-date on ") and proceed. Proactive runs stay strictly read-only — the sync decision (step 7) still requires explicit OK.

Steps

  1. Confirm it's a git repo with a remote. If not, say so and stop — there's nothing to sync.
  2. Local state: git status --short and git stash list. Note uncommitted changes, untracked files, stashes. This gates everything below.
  3. Fetch: git fetch --all --prune. (Fetch is safe; it changes nothing local.)
  4. Divergence: current branch vs its upstream — git rev-list --left-right --count @{upstream}...HEAD. Report ahead/behind. No upstream (new local branch, or detached HEAD) → that command fails; say so plainly, fall back to origin/<default-branch> for the comparison, and note the branch is unpushed. Never report "in sync" from a failed command.
  5. Recent activity: git log --oneline -15 on the branch, and the same for the default branch if you're not on it. Summarize what changed, not every line.
  6. Open work (if gh is available and the remote is GitHub): gh pr list and gh issue list. Surface anything touching the files you're about to work on.
  7. Sync decision:
    • Clean + behind only → offer git pull --ff-only. Do it only on confirm.
    • Diverged (ahead and behind) → explain; recommend rebase or merge; ask.
    • Dirty → do NOT pull. Report the dirty state and let the user decide.
  8. Library currency (only if asked or docs arg given): for the key deps in play, use context7 (resolve-library-id → query-docs) to pull current API docs, so code targets today's API, not stale memory.

Read the full file on GitHub · 95 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. 12d ago First seen · 95 lines · 113 tokens per session scan A 845d23700a8b

Subscribe to this mod's changes

up-to-date is a skill published in the GitHub repository alonbaron/claude-skills (13 stars, last pushed 1mo ago), licensed MIT. It adds 113 tokens to every session and 1,128 once invoked, about $0.0006 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

pr-create

Creates a pull request from current changes, monitors GitHub CI, and debugs any failures until CI passes. Activate when the user says "create pr", "make a pr", "open pull request", "submit pr", "pr for these changes", or wants to get their current work into a reviewable PR. Assumes the project uses git, is hosted on…

posit-dev/skills · 112 tokens

release

CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on make ci, commit, tag vX.Y.Z, and create the GitHub release. Use when shipping a new plugin version. NOT distributed.

oliver-kriska/claude-elixir-phoenix · 60 tokens

catchup

Summarize and review what changed while you were away. Use after a weekend, vacation, or flight to check missed PRs, git commits, Linear tickets, and meetings — one prioritized brief, not a firehose.

oliver-kriska/claude-elixir-phoenix · 48 tokens

pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 59 tokens

phx-pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 61 tokens

watch-pr

Watch an Elixir/Phoenix PR with an Amp Orb keep-alive lease until required non-deployment CI is green and review threads are resolved. Use after opening or updating a PR.

oliver-kriska/claude-elixir-phoenix · 41 tokens