repository-maintenance

repository-maintenance is a skill for Claude Code, Codex from fmind/dot. It costs 22 tokens per session (835 once invoked), scanned A, original, MIT.

A maintenance guide for keeping an existing code repository working, current, and consistent.

In plain words
What is it for?
Use it to update dependencies, repair repository checks and hooks, clean up code, maintain task definitions, and run the project's tests and checks.
Why use it?
It helps remove stale configuration, unused dependencies, duplicated code, and tool or documentation problems while checking for regressions.

Skill for Claude CodeCodex

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

Good fit Use it to update dependencies, repair repository checks and hooks, clean up code, maintain task definitions, and run the project's tests and checks.

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

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 repository-maintenance

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmind/dot/repository-maintenance/github.svg)](https://agentmods.dev/skills/fmind/dot/repository-maintenance)
Your own site
<a href="https://agentmods.dev/skills/fmind/dot/repository-maintenance"><img src="https://agentmods.dev/badge/skills/fmind/dot/repository-maintenance/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 repository-maintenance

Your own site · 80×15
<a href="https://agentmods.dev/skills/fmind/dot/repository-maintenance"><img src="https://agentmods.dev/badge/skills/fmind/dot/repository-maintenance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 835 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.00022 $0.00835
Opus 5.5 $0.00009 $0.00334
Sonnet 5.5 $0.00004 $0.00167
Haiku 4.5 $0.00002 $0.00084

Measured today against content hash 11396dddf373, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repository-maintenance 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.

The scan reads SKILL.md. This mod also ships 1 executable file (references/update-ignores/scripts/audit.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/repository-maintenance/SKILL.md · 43 lines

How it starts

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

Repository Maintenance

The recurring pass that makes an existing repository current, consistent, simple, and working; it fixes in place and proves the result with the gate. repository-review owns the read-only audit with ranked findings; full-review owns the exhaustive pass that reads every tracked area across all review dimensions before fixing. This pass covers the upkeep areas below without a coverage inventory; deployments, registries, and external services stay out of scope.

Workflow

  1. Baseline: record git status --short; reuse passing evidence for unchanged inputs and run missing checks through the repository tasks. Distinguish existing failures from regressions and preserve unrelated user work.
  2. Upgrade one ecosystem at a time: only when requested or needed for a confirmed fix, with validation per upgrade-tools.
  3. Align with the stack owner: compare the repository with its stack owner (such as python-stack) and the bootstrap layer to resolve gaps; preserve established project choices unless changing them fixes an observed problem or fulfills the request.
  4. Route hooks and CI through mise tasks: mise.toml exposes the canonical task vocabulary per mise; hooks and CI call those tasks per lefthook and github-actions.
  5. Cut unearned complexity: remove dead code, duplicated logic, stale config, unused dependencies, and abstractions that do not earn their maintenance cost.
  6. Reconcile ignore files with the stack per update-ignores; for an ignore-only request, run that guide alone.
  7. Run the adopted security scans: use code-security for broader security work when the requested scope calls for it.
  8. Synchronize the docs: create or synchronize README.md, AGENTS.md, skills, and wider docs per repository-docs.
  9. Promote repeated instructions into skills: place them in .agents/skills/ per skillify.
  10. Final gate: Run the full gate (mise run all); when the tree carries unrelated changes, apply the dirty-tree rule.
  11. Report: what changed per area (the tree holds only intended changes), what was left alone and why, and the highest proven rung of the proof ladder.

Read the full file on GitHub · 43 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. today Changed 11396dddf373
  2. 9d ago Changed · +9 lines · +3 tokens per session 7e8339d40118
  3. 11d ago Changed 3d11312f1109
  4. 12d ago Changed · -6 tokens per session a54bae74dc63
  5. 23d ago Changed f42222f44ca2
  6. 26d ago Changed · +8 tokens per session c9c722070613
  7. 29d ago First seen · 34 lines · 17 tokens per session scan A 706a2994cec2

Subscribe to this mod's changes

repository-maintenance is a skill published in the GitHub repository fmind/dot (11 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 835 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-09-17.