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.
npx agentmods add skills/nick-railsback/skill-engine/refreshnpx skills add nick-railsback/skill-engine --skill refreshgit clone --depth 1 https://github.com/nick-railsback/skill-engineWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00040 | $0.01894 |
| Opus 5 | $0.00020 | $0.00947 |
| Sonnet 5 | $0.00008 | $0.00379 |
| Haiku 4.5 | $0.00004 | $0.00189 |
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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 164 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:
- Updated reference files in
references/(where applicable), each still citing its source by path plus content-hash (see02-artifact-contract.md). Each still satisfies the four reference invariants (definitions owned by02-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.mdbody; 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.
- first-5K — the navigator's standing instructions (invariants,
critical rules, dispatch logic) fit in the first 5K bytes of
- Updates to
research/source-paths.jsonreflecting upstream transitions you detected (lifecycle.statefor each source;proposed_urlonmoved;last_checkedandlast_checked_shatimestamps). The four-state field onsource-paths.jsonis the single source of truth for upstream state.
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.
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.
- 2d ago First seen · 164 lines · 40 tokens per session scan A d5c3a569b61f
refresh is a skill published in the GitHub repository nick-railsback/skill-engine (2 stars, last pushed 25d ago), licensed MIT. It adds 40 tokens to every session and 1,894 once invoked, about $0.0002 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.
Other skills, from other repositories
skill-creator
Create or improve Zhin Agent skills (SKILL.md). Use when asked to add a skill, write SKILL.md, document a repeatable agent workflow, or refine skill frontmatter/keywords. Triggers: 创建技能, 写 SKILL, skill-creator, 加 skill.
skill-sync-checker
Detects content drift between skill files and their source documents. Helps maintain skills that are derived from other documentation by comparing content and flagging outdated sections.
tech-design-generation
Generates professional Technical Design Documents following industry-standard engineering practices. This skill activates when the user asks to write a technical design, create an architecture design, draft a design doc, write a technical proposal, do system design, create a technical design document, write an RFC…
test-cases-generation
Generates structured test case sets with multi-dimensional coverage from project code analysis or specification documents. This skill activates when the user asks to write test cases, generate tests, supplement tests, create test coverage, or improve test completeness. It auto-scans the project to extract testable…
idea
Use when exploring a new idea before writing formal specifications. Guides users through iterative discovery, research, and critical analysis to crystallize vague ideas into validated requirement drafts. Includes anti-pseudo-requirement checks, competitive research, demand evidence gathering, and "What if we don't…
test-plan-generation
Generates professional Test Plan and Test Cases documents following IEEE 829 test documentation standards, ISTQB testing methodologies, and Google Testing Blog best practices. This skill activates when the user asks to write a test plan, create test cases, draft a test plan document, create a test cases document…