refresh

refresh is a skill for Claude Code from nick-railsback/skill-engine. It costs 40 tokens per session (1,903 once invoked), scanned A, original, MIT.

A maintenance procedure for updating a contextualizer's saved references when its upstream sources change. A contextualizer is a project skill that keeps selected reference material aligned with other sources.

In plain words
What is it for?
Locating the installed contextualizer, refreshing its registered sources, and checking the resulting references with verification scripts.
Why use it?
It helps detect and correct outdated references before they cause incorrect guidance.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions subagents.

Part of the skill-engine plugin — 12 skills shipped together

Good fit Locating the installed contextualizer, refreshing its registered sources, and checking the resulting references with verification scripts.

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

Made for: Claude Code.

Or install skill-engine, the plugin that ships this one along with the rest of its 12 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/nick-railsback/skill-engine/refresh/github.svg)](https://agentmods.dev/skills/nick-railsback/skill-engine/refresh)
Your own site
<a href="https://agentmods.dev/skills/nick-railsback/skill-engine/refresh"><img src="https://agentmods.dev/badge/skills/nick-railsback/skill-engine/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/nick-railsback/skill-engine/refresh"><img src="https://agentmods.dev/badge/skills/nick-railsback/skill-engine/refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,903 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.00040 $0.01903
Opus 5.5 $0.00016 $0.00761
Sonnet 5.5 $0.00008 $0.00381
Haiku 4.5 $0.00004 $0.00190

Measured 1mo ago against content hash a6751bd6bd88, 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 1mo 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.

plugin/skill-engine/skills/refresh/SKILL.md · 165 lines

How it starts

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

Refresh

You receive a task: bring the contextualizer's existing references into agreement with the current upstream state of every registered source. The named checks in verify.sh (plus the permalink-density lint for SHA-pinning) validate your output; the four reference invariants are your authoring targets — not all are machine-checked (see § Output contract). How you reason about drift is your call — there is no Stage -1/1/2/3 prescription, no fixed keystroke menu, no required worker dispatch.

Contextualizer root

Engine workflows operate inside a contextualizer installed as a project skill at one of three install levels:

  • User-level: ~/.claude/skills/<slug>-context/
  • Local-user-level: ~/.claude/local/skills/<slug>-context/ (when in use)
  • Project-level: <repo>/**/.claude/skills/<slug>-context/

Every path below — research/..., references/..., verify.sh — resolves relative to whichever directory matches. Before reading or writing anything, locate the root by searching all three install levels in order:

Run the script in shared/locator-block.md verbatim before proceeding.

CTX_PROPOSED="${CTX_ROOT}.proposed"

/skill-engine:refresh <name> names the contextualizer to refresh — the directory name without the -context suffix; with no argument, auto-detection applies. The staging-directory model (how $CTX_PROPOSED mirrors the live tree and the sandbox-block diagnostic) is in references/tool-and-output-mechanics.md. Read it before your first write of a run.

Output contract

Two things, both load-bearing:

  1. Updated reference files in references/ (where applicable), each still citing its source by path plus content-hash (see 02-artifact-contract.md). Each still satisfies the four reference invariants (definitions owned by 02-artifact-contract.md §Navigator size budget and §Long references — do not restate them elsewhere):
    • first-5K — the navigator's standing instructions (invariants, critical rules, dispatch logic) fit in the first 5K bytes of SKILL.md body; the catalog table is a TOC and is exempt.
    • depth-1 — no more than one level of pointer indirection.
    • max-100-line-TOC — any reference body over 100 lines carries a TOC marker within its first 30 lines.
    • SHA-pin — every citation pins to a specific SHA, not a moving branch or tag.
  2. Updates to research/source-paths.json reflecting upstream transitions you detected (lifecycle.state for each source; proposed_url on moved; last_checked and last_checked_sha timestamps). The four-state field on source-paths.json is the single source of truth for upstream state.

Read the full file on GitHub · 165 lines

Files

What ships with it

2 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. 1mo ago Changed a6751bd6bd88
  2. 1mo ago Changed · +1 lines 839a82016067
  3. 1mo ago First seen · 164 lines · 40 tokens per session scan A d5c3a569b61f

Subscribe to this mod's changes

refresh is a skill published in the GitHub repository nick-railsback/skill-engine (2 stars, last pushed 6d ago), licensed MIT. It adds 40 tokens to every session and 1,903 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

product-discovery

File-first orchestrator for product discovery and spec frameworks. Frames the problem with a Discovery Lead, Product Analyst, or System Architect role. Spawns parallel framework agents (Double Diamond, How Might We, Jobs to Be Done, user stories with INVEST, EARS for AI-coder specs, Gherkin), synthesizes into a PRD or…

theagenticguy/erpaval · 242 tokens

meta-prompt-optimizer

Audit and rewrite prompts against Claude Opus 4.7 instruction-following best practices. Produces a scored audit plus a rewritten prompt. Use when the user asks to audit, review, critique, rewrite, improve, optimize, tighten, score, fix, migrate, or draft a prompt — including system prompts, CLAUDE.md files, Claude…

theagenticguy/erpaval · 230 tokens

product-strategy

File-first orchestrator for business and product strategy frameworks. Frames the challenge with a CPO / CSO / VP Design role, spawns parallel framework agents (Rumelt kernel + Crux, Wardley Maps, Minto Pyramid as thinking structure, Working Backwards PR-FAQ as discovery artifact), synthesizes outputs into one strategy…

theagenticguy/erpaval · 216 tokens

research

Multi-agent research skill. Decomposes a question into 2–4 parallel Opus 4.7 research agents that write findings to per-agent Markdown files in real time, then runs a synthesis agent to merge by theme. Use when the user wants to research a topic, investigate something, find comparisons, compare options, learn about a…

theagenticguy/erpaval · 82 tokens

ultraplan

Generator-critic planning. Launches 3 parallel Opus 4.7 explorers with distinct divergence vectors (architectural, speed-first, simple-first), each producing an independent plan, then runs a critic synthesis that composes the best elements into a single plan with per-decision attribution. Defeats single-agent…

theagenticguy/erpaval · 101 tokens

product-design-shared

Shared canonical references for product-design frameworks — Pyramid Principle, Working Backwards, Double Diamond, research design, methodology selection. Consumed by product-discovery, product-strategy, working-backwards, and customer-research via ${ERPAVALHOME}/skills/product-design-shared/references/. Do NOT invoke…

theagenticguy/erpaval · 135 tokens