Borrowing it
Nothing to install: this file belongs to YuriyEnshin/ConfluenceImportExport. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/YuriyEnshin/ConfluenceImportExport/master/.claude/skills/bump-normalization-epoch/SKILL.mdgit clone --depth 1 https://github.com/YuriyEnshin/ConfluenceImportExportWrote 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.
[](https://agentmods.dev/skills/yuriyenshin/confluenceimportexport/bump-normalization-epoch)<a href="https://agentmods.dev/skills/yuriyenshin/confluenceimportexport/bump-normalization-epoch"><img src="https://agentmods.dev/badge/skills/yuriyenshin/confluenceimportexport/bump-normalization-epoch/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.
<a href="https://agentmods.dev/skills/yuriyenshin/confluenceimportexport/bump-normalization-epoch"><img src="https://agentmods.dev/badge/skills/yuriyenshin/confluenceimportexport/bump-normalization-epoch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00139 | $0.01237 |
| Opus 5.5 | $0.00056 | $0.00495 |
| Sonnet 5.5 | $0.00028 | $0.00247 |
| Haiku 4.5 | $0.00014 | $0.00124 |
Grade A, and why
bump-normalization-epoch 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 2mo 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bump the normalization contract (epoch + golden)
Why this exists
The normalized storage format of each page is hashed (SHA-256) and stored in its
.id* marker (h = hash, ne = epoch). On the next sync, ContentHasher
recomputes the hash and compares — that's how a real local edit is told apart
from an mtime-only touch (editor re-save, pretty-print, copy, touch, VCS
checkout), eliminating false "changed locally" conflicts.
That only holds while the recipe is stable. If you change normalization so
its output differs, every marker written under the old recipe now hashes
differently → the tool either cries wolf on untouched pages or misses genuine
edits. The guard is a two-part contract in
NormalizationContract:
CurrentEpoch— stamped into new markers. A marker whose epoch ≠CurrentEpochis distrusted and the code safely falls back to mtime comparison (seeContentHasher.HasChanged). Bumping the epoch is what actually protects old markers — it makes them opt out instead of silently mismatching.GoldenNormalized— the expected normalization ofGoldenInput. A runtime self-check + the unit testContentHasherTests.Golden_DefaultNormalizerReproducesContractfail the build the instant normalized output drifts. That red test is the intended tripwire that sends you here.
When to run
Any change that can alter normalized output: XmlContentNormalizer,
RegexContentNormalizer, the HtmlEntities table, attribute-sort / whitespace /
volatile-artifact-stripping rules, the hash algorithm, or switching the active
IContentNormalizer.
Steps
- Make your normalizer change first. Build.
- Run the golden tripwire — it should now fail:
Shouldly prints the actual normalized string next to the expected one.dotnet build tests/ConfluencePageExporter.Tests/ConfluencePageExporter.Tests.csproj tests/ConfluencePageExporter.Tests/bin/Debug/net10.0/ConfluencePageExporter.Tests.exe --filter-method "*Golden_DefaultNormalizerReproducesContract*" - Refresh
GoldenNormalizedto the new normalized output. Two ways:- Derive it by hand — apply your new rule to the existing
GoldenNormalized(usually the cleaner path, since the change is known and local); or - Copy the actual string from the failing assertion.
⚠️
GoldenNormalizedcontains a real U+00A0 non-breaking space (decoded from inGoldenInput), not an ASCII space — preserve it exactly. Console copies of nbsp are error-prone, so prefer deriving by hand and eyeball that single character. Normally you do not touchGoldenInput— it's the fixed canary; onlyGoldenNormalizedchanges.
- Derive it by hand — apply your new rule to the existing
- Increment
CurrentEpochby 1. - Add a history line to the
CurrentEpochdoc-comment, matching the existing style (History: 1 = initial; 2 = strip ac:macro-id …; 3 = …), describing what the new epoch changes. - Re-run
ContentHasherTests(and the full suite). Golden passes;Xml_RegimeTrusted_AndEpochCurrentconfirms the regime is trusted at the new epoch. - CHANGELOG if user-visible. An epoch bump that fixes phantom "local changed"
diffs is user-facing (e.g. epoch 2 shipped in v2.12.1 to fix Confluence
canonicalization noise) — add a
### Исправлено/### Измененоentry to[Unreleased]in bothCHANGELOG.mdandCHANGELOG.en.md. A pure internal refactor with byte-identical output shouldn't have needed an epoch bump at all.
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.
- 2mo ago First seen · 92 lines · 139 tokens per session scan A e9026484a67d
bump-normalization-epoch is a skill published in the GitHub repository YuriyEnshin/ConfluenceImportExport (7 stars, last pushed 1mo ago), licensed MIT. It adds 139 tokens to every session and 1,237 once invoked, about $0.0006 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.
bump-normalization-epoch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bump-normalization-epochYuriyEnshin/ConfluenceImportExport | Skill | 7 | 1mo ago | MIT | A | 139 | Claude Code |
| wjx-survey-pptwjxcom/wjx-ai-kit | Skill | 23 | 2d ago | MIT | A | 140 | Claude Code, Codex |
| excel-image-embedwjxcom/wjx-ai-kit | Skill | 23 | 2d ago | MIT | A | 110 | Claude Code, Codex |
| qrgenidwjxcom/wjx-ai-kit | Skill | 23 | 2d ago | MIT | A | 60 | Claude Code, Codex |
| powerpoint-mcpsbroenne/mcp-server-powerpoint | Skill | 41 | yesterday | MIT | A | 55 | Claude Code, Codex |
| powerpoint-clisbroenne/mcp-server-powerpoint | Skill | 41 | yesterday | MIT | A | 55 | Claude Code, Codex |
| orchardcore-data-sourcesCrestApps/CrestApps.AgentSkills | Skill | 13 | 16d ago | MIT | A | 204 | Claude Code |