maintain-claude-md

maintain-claude-md is a skill for Claude Code from nirholas/three.ws. It costs 39 tokens per session (1,503 once invoked), scanned A, original, Apache-2.0.

A set of rules for keeping CLAUDE.md and the agent and skill instructions in a code repository accurate. It also describes checks for completion, deployment readiness, and certain service outages.

In plain words
What is it for?
Use it to maintain repository guidance, check changed work before completion, prepare a deployment, or diagnose the listed x402 payment-service outages.
Why use it?
It helps prevent coding agents from following outdated instructions or skipping required checks. It separates auditing from changing code and keeps production deployment approval with the owner.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Good fit Use it to maintain repository guidance, check changed work before completion, prepare a deployment, or diagnose the listed x402 payment-service outages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nirholas/three.ws/maintain-claude-md
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 nirholas/three.ws --skill maintain-claude-md
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code.

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 maintain-claude-md

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/maintain-claude-md/github.svg)](https://agentmods.dev/skills/nirholas/three.ws/maintain-claude-md)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/maintain-claude-md"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/maintain-claude-md/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 maintain-claude-md

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/maintain-claude-md"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/maintain-claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,503 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.00039 $0.01503
Opus 5.5 $0.00016 $0.00601
Sonnet 5.5 $0.00008 $0.00301
Haiku 4.5 $0.00004 $0.00150

Measured 1mo ago against content hash 9289eb9cc80d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

maintain-claude-md 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.

.claude/skills/maintain-claude-md/SKILL.md · 31 lines

How it starts

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

Specialized agents and keeping CLAUDE.md true

Three subagents live in .claude/agents/ and encode checklists you would otherwise rebuild from scratch. Use them; they exist because each of these failures happened more than once:

  • completionist audits changed files against these operating rules at the end of a feature task. It reports violations, it does not fix them. One exception, and it is absolute: when the user asks to commit or push, that IS the approval. Do not run the completionist (or tests, audits, or diff reviews) first. Ship it.
  • deploy-preflight verifies a production deploy is safe BEFORE gcloud builds submit: build order, worktree artifacts, service-account pins, changelog wiring. Run it before any deploy, or when a deploy died mid-build. It does not deploy; deploys stay owner-gated.
  • x402-economy-triage diagnoses x402 outages against the known failure map. Run it before concluding "the wallets are dry", which is usually wrong: settle-floor starvation and capital dispersion look identical from the outside and have completely different fixes.

Evolve (npm run evolve:start, scripts/evolve.mjs, runbook docs/ops/evolve.md), the unattended development loop and not the product's trading Autopilot, runs headless Claude Code sessions around the clock in its own worktree beside the repo, on branch evolve: it works the prompts/finish/ queue, writes new scouted orders into the 400 band, and sweeps production, then fast-forwards finished commits into local main. Its sessions are denied every owner-gated action. If you are hand-running an order, evolve leaves it alone for 6 hours after you last touched it; npm run evolve:pause frees the subscription for interactive work.

.claude/workflows/ holds two workflow scripts: docs-drift.js sweeps documentation drift across the repo, and docs-freshness.js re-verifies the docs the freshness report marks stale.

Maintaining these agents. An agent definition is executed verbatim, exactly like this file, so it is held to the same standard and npm run check:claude enforces it: every npm run script and repo path it names must exist, it must never send the agent to a per-machine memory file (auto-memory under ~/.claude is invisible to a fresh clone or a cloud session; put the knowledge in docs/ and link it), and it must read changeable facts (build chains, artifact lists, env-var locations) from their source of truth instead of restating them. When the same multi-step diagnosis has been rebuilt from scratch twice, that is the signal to add an agent for it. Subagents launched with isolation: "worktree" leave a tree under .claude/worktrees/; npm run clean:worktrees reclaims each one once its branch is merged and it holds no uncommitted work.

Read the full file on GitHub · 31 lines

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 First seen · 31 lines · 39 tokens per session scan A 9289eb9cc80d

Subscribe to this mod's changes

maintain-claude-md is a skill published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 1,503 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-11.

Related

maintain-claude-md compared with skills from other repositories

maintain-claude-md next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
maintain-claude-mdnirholas/three.wsSkill287yesterdayApache-2.0A39Claude Code
pay-x402-servicenirholas/x402-payments-mcpSkill919d agoApache-2.0A51Claude Code
granite-pay-per-callnirholas/ibm-x402-mcpSkill919d agoApache-2.0A49Claude Code
pumpfun-token-researchnirholas/pumpfun-claims-botSkill2511d agononeA59Claude Code
orchardcore-search-indexingCrestApps/CrestApps.AgentSkillsSkill148d agoMITA182Claude Code
collaborating-with-antigravityBoulea7/agy-mcpSkill251mo agoMITA67Claude Code, Codex
sumo-qa-closing-qa-gapssumithr/sumo-qaSkill97d agoApache-2.0A102Claude Code