refresh

refresh is a skill for Claude Code from Eigenwise/eigenwise-toolshed. It costs 35 tokens per session (1,156 once invoked), scanned A, original, MIT.

A tool for updating a codebase map, a set of notes that links parts of a project to the files they describe. It checks which map cards are out of date and refreshes the affected ones.

In plain words
What is it for?
Use it when the map is marked stale or when you need to check and update its file patterns and summaries.
Why use it?
It prevents the map from describing old code after commits change a project.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable. Also seen: mentions CLAUDE.md; mentions subagents.

Part of the codebase-mapper plugin — 2 skills shipped together

Good fit Use it when the map is marked stale or when you need to check and update its file patterns and summaries.

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

Made for: Claude Code.

Or install codebase-mapper, 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/eigenwise/eigenwise-toolshed/refresh/github.svg)](https://agentmods.dev/skills/eigenwise/eigenwise-toolshed/refresh)
Your own site
<a href="https://agentmods.dev/skills/eigenwise/eigenwise-toolshed/refresh"><img src="https://agentmods.dev/badge/skills/eigenwise/eigenwise-toolshed/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/eigenwise/eigenwise-toolshed/refresh"><img src="https://agentmods.dev/badge/skills/eigenwise/eigenwise-toolshed/refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,156 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.00035 $0.01156
Opus 5.5 $0.00014 $0.00462
Sonnet 5.5 $0.00007 $0.00231
Haiku 4.5 $0.00003 $0.00116

Measured today against content hash 8daa0ae3a07b, 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 today.

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.

plugins/codebase-mapper/skills/refresh/SKILL.md · 54 lines

How it starts

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

Refresh the map

Cards go stale one at a time. Each card says the commit it was last checked at (verified-at), so only the cards whose area changed need work.

If there is no .claude/rules/codebase-map.md and no card under .claude/rules/map/, there is no map yet. Use map instead.

Steps

  1. Run the status script.

    node "${CLAUDE_SKILL_DIR}/../../scripts/map-status.mjs"
    

    It prints JSON: one entry per card with status (fresh or stale), the number of commits under that card's globs since its verified-at that did not also change the card (or since the last commit that moved the stamp when the stamp is not on this history; countedFrom says which), a reason when it cannot tell or could not use the stamp, emptyGlobs (globs that match no file), neverLoaded (./ patterns the host never loads) and oversize. Beside the cards, indexMissing is true when cards exist and .claude/rules/codebase-map.md does not.

  2. Decide what needs work.

    • indexMissing: the map lost its index. Bring it back from git when it was deleted by accident: git restore .claude/rules/codebase-map.md while the deletion is not committed, else from the commit before the one git log -1 -- .claude/rules/codebase-map.md names. Otherwise write it again from the cards and the code: what the system is in two or three lines, one line per area with its card, the three to five key flows, 40 lines at most, no frontmatter. Say which you did.
    • stale with commits: the area changed. Re-derive the card.
    • stale with a reason and no commits counted (no verified-at, a stamp that is not a commit id, no usable paths, a pattern git could not count): fix the frontmatter, then re-derive.
    • fresh with the reason that verified-at is not a commit in this repository: the stamp is a commit this clone never got, usually a branch commit that was squashed away. Leave the card. Its next refresh replaces the stamp.
    • emptyGlobs: the area moved or was deleted. Fix the glob, or drop the card, or fold it into another.
    • neverLoaded: drop the ./. README.md loads at any depth, /README.md only in the top folder.
    • oversize: shrink it. Cut what a file name already says.
    • Everything fresh and none of the above: say so in one line and stop.

Read the full file on GitHub · 54 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. today Changed · +2 lines 8daa0ae3a07b
  2. 4d ago First seen · 52 lines · 35 tokens per session scan A 8add9213f646

Subscribe to this mod's changes

refresh is a skill published in the GitHub repository Eigenwise/eigenwise-toolshed (290 stars, last pushed today), licensed MIT. It adds 35 tokens to every session and 1,156 once invoked, about $0.0001 per session on Opus 5.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-11-26.

Related

refresh compared with skills from other repositories

refresh next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
refreshEigenwise/eigenwise-toolshedSkill290todayMITA35Claude Code
dummy-datasetphuryn/pm-skillsSkill28k21d agoMITA48Claude Code
retrophuryn/pm-skillsSkill28k21d agoMITA52Claude Code
release-notesphuryn/pm-skillsSkill28k21d agoMITA57Claude Code
shipping-artifactsphuryn/pm-skillsSkill28k21d agoMITA54Claude Code
porters-five-forcesphuryn/pm-skillsSkill28k21d agoMITA47Claude Code
user-segmentationphuryn/pm-skillsSkill28k21d agoMITA49Claude Code