refresh

refresh is a skill for Claude Code, Codex from tony/skills. It costs 22 tokens per session (1,663 once invoked), scanned A, a copy of changelog-refresh, MIT.

A Git workflow command that updates only the changelog entries added by the current branch so they describe the branch's final changes.

In plain words
What is it for?
Use it after a branch changes direction or its implementation no longer matches its changelog entries. It helps keep release notes accurate without rewriting history.
Why use it?
It removes the need to manually find and correct outdated changelog text while protecting entries inherited from the base branch. It can either leave the edit for review or make a new commit.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: names the AskUserQuestion tool.

Part of the changelog plugin — 2 skills shipped together

Good fit Use it after a branch changes direction or its implementation no longer matches its changelog entries. It helps keep release notes accurate without rewriting history.

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

Made for: Claude Code, Codex.

Or install changelog, the plugin that ships this one along with the rest of its 2 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 refresh

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tony/skills/refresh"><img src="https://agentmods.dev/badge/skills/tony/skills/refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,663 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 89% copy Near-identical to another mod 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.00022 $0.01663
Opus 5.5 $0.00009 $0.00665
Sonnet 5.5 $0.00004 $0.00333
Haiku 4.5 $0.00002 $0.00166

Measured 8d ago against content hash 03717861e9d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

refresh 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.

Origin

This is a copy

89% identical to changelog-refresh — 37 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/changelog/skills/refresh/SKILL.md · 156 lines

How it starts

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

Refresh Changelog Entries

Bring the changelog entries this branch introduced back in sync with what the branch does now. With --commit, the correction lands as a new commit on top; otherwise the edit stays uncommitted for the user to commit. History is never rewritten; /changelog:rewrite-aggressively does that.

Scope: edit only changelog content the branch added. Entries from the base branch, whether earlier releases or other work's unreleased entries, are read-only. A correction that needs a line the branch did not add: ask, or without a question tool leave it and note the limitation.

Additional context from user: $ARGUMENTS

Read these first:

  • ../../references/branch-scope.md: a branch is not a release, base branch, changelog file lookup, whole-branch perspective.
  • ../../references/entry-rules.md: categorizing, format, voice, exclusions.
  • ../../references/commit-message.md: used in Phase 4.

Write entries, commit messages, and user-facing replies per ../../references/prose-rules.md.

Phase 1: Establish scope

  1. Detect the base and find the changelog file per branch-scope.md. No changelog changes on this branch and no changelog file: suggest /changelog:changelog and stop.

  2. Extract the branch's changelog footprint. The added lines are the branch-owned entries, the only region this skill may edit:

    $ git diff origin/<base>...HEAD -- <changelog-file>
    
  3. List the branch commits that touch the file (with no origin remote, substitute the local base name for origin/<base> in these commands):

    $ git log origin/<base>..HEAD --oneline -- <changelog-file>
    

    None: say so and offer the /changelog:changelog procedure instead.

  4. Check the changelog is clean per commit-message.md; when it is not, edit only and say why.

Phase 2: Recompute what the entries should say

Apply branch-scope.md and entry-rules.md: read conventions, categorize, and generate the entries the branch should have from its current net change (git log origin/<base>..HEAD and git diff origin/<base>...HEAD, three-dot, so base commits the fetch pulled in stay out). For the PR number, run gh pr view --json number --jq .number; on failure write (#???). Never copy a number from a dropped or stale entry.

Read the full file on GitHub · 156 lines

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. 8d ago Changed · +28 lines 03717861e9d6
  2. 1mo ago First seen · 128 lines · 22 tokens per session scan A 652af6c61f34

Subscribe to this mod's changes

refresh is a skill published in the GitHub repository tony/skills (0 stars, last pushed 3d ago), licensed MIT. It adds 22 tokens to every session and 1,663 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to changelog-refresh, differing in 37 lines, and is treated as a copy.