canon-upkeep

canon-upkeep is a skill for Claude Code, Codex from chocomyong/harness-kit. It costs 52 tokens per session (316 once invoked), scanned A, original, MIT.

A maintenance process for bringing a repository's rules file, project map, and bug-pattern index back into agreement with the code. It checks recent history and re-measures facts before proposing documentation changes.

In plain words
What is it for?
Use it after a large refactor or when guidance feels stale to review recent changes, update measured facts, keep the always-loaded rules short, and inspect the resulting diff.
Why use it?
Outdated rules and facts can mislead both developers and coding agents. This process finds stale guidance, duplicate rules, and changed modules without weakening important safeguards.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it after a large refactor or when guidance feels stale to review recent changes, update measured facts, keep the always-loaded rules short, and inspect the resulting diff.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chocomyong/harness-kit/canon-upkeep
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 chocomyong/harness-kit --skill canon-upkeep
Clone the repo
git clone --depth 1 https://github.com/chocomyong/harness-kit

Made for: Claude Code, Codex.

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 canon-upkeep

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chocomyong/harness-kit/canon-upkeep"><img src="https://agentmods.dev/badge/skills/chocomyong/harness-kit/canon-upkeep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 316 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.00052 $0.00316
Opus 5.5 $0.00021 $0.00126
Sonnet 5.5 $0.00010 $0.00063
Haiku 4.5 $0.00005 $0.00032

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

Security

Grade A, and why

canon-upkeep 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.

skills/canon-upkeep/SKILL.md · 25 lines

What it actually says

Keep the canon current

A rules file that drifts from the repo becomes noise, and a stale fact gets quoted as true.

Steps

  1. Find when the canon last changed: git log -1 --format=%ad -- AGENTS.md docs/REPO_MAP.md.
  2. Survey what changed since then: git log --since=<that date> --stat, new or moved modules, retired code.
  3. Propose updates from measured facts only:
    • docs/REPO_MAP.md rows, names, and runtime values, each re-measured with its command;
    • rules that no longer match how the repo works;
    • counts or versions that crept into docs - replace with the command that produces them.
  4. Check the size budget: the always-loaded rules file stays under ~150 lines. Move facts to the repo map, area knowledge to on-demand files, and enforceable rules to hooks.
  5. Grep for each changed rule's key phrase across the repo. A rule stated in two files is edited in both or replaced by a link.
  6. Show the diff. Never weaken the top invariant, and never delete a rule only because you do not understand it - ask.
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. 2d ago First seen · 25 lines · 52 tokens per session scan A eb33d0d2230e

Subscribe to this mod's changes

canon-upkeep is a skill published in the GitHub repository chocomyong/harness-kit (2 stars, last pushed 2d ago), licensed MIT. It adds 52 tokens to every session and 316 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-10-16.

Related

Other skills, from other repositories

openrig-user

Use when a specific rig command, subcommand, or flag is already known and you need its exact syntax, JSON shape, defaults, or error meaning. NOT for natural capability discovery, open-ended how-do-I questions, or choosing which OpenRig move applies.

mvschwarz/openrig · 58 tokens

applying-a-permission-policy

Use before launching a team during agent-guided setup, or when a user asks to configure OpenRig command permissions, reduce repeated native approval prompts, or apply a selected rig/seat permission policy.

mvschwarz/openrig · 46 tokens

forming-an-openrig-mental-model

Use when the system around you does not make sense yet: you just booted into a seat and do not know how the pieces fit; someone said rig, pod, seat, fleet, topology, or slice and you are not certain what they mean here; you are unsure what kind of rig you are in or what it is for; you do not know how skills reach you…

mvschwarz/openrig · 117 tokens

openrig-software-factory

Use when a user wants a continuing software team for a real repository, or has a first OpenRig team and needs a repeatable path for reviewed work and later tasks.

mvschwarz/openrig · 41 tokens

verification-before-completion

Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always.

mvschwarz/openrig · 43 tokens

agent-starters

Use when creating, refreshing, packaging, inspecting, promoting, or deprecating a named per-seat starting point — Agent Starter manifest authoring, the 6-state lifecycle (captured → named → inspectable → used → promoted → deprecated), provenance honesty, and refusal rules. NOT a VM image; a managed starting point…

mvschwarz/openrig · 84 tokens