update-claude-md

update-claude-md is a skill for Claude Code from nortonx/ai-tooling-free. It costs 34 tokens per session (743 once invoked), scanned A, original, MIT.

A workflow for updating a project's CLAUDE.md file, which records instructions and conventions for coding agents. It uses recent changes between the current branch and the main branch to find stable guidance worth recording.

In plain words
What is it for?
Use it after branch work introduces new commands, architecture patterns, configuration rules, APIs, dependencies, or known workarounds.
Why use it?
It keeps agent instructions aligned with how the project has actually evolved, without manually searching through branch changes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it after branch work introduces new commands, architecture patterns, configuration rules, APIs, dependencies, or known workarounds.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/nortonx/ai-tooling-free/update-claude-md/github.svg)](https://agentmods.dev/skills/nortonx/ai-tooling-free/update-claude-md)
Your own site
<a href="https://agentmods.dev/skills/nortonx/ai-tooling-free/update-claude-md"><img src="https://agentmods.dev/badge/skills/nortonx/ai-tooling-free/update-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 update-claude-md

Your own site · 80×15
<a href="https://agentmods.dev/skills/nortonx/ai-tooling-free/update-claude-md"><img src="https://agentmods.dev/badge/skills/nortonx/ai-tooling-free/update-claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 743 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.00034 $0.00743
Opus 5 $0.00017 $0.00371
Sonnet 5 $0.00007 $0.00149
Haiku 4.5 $0.00003 $0.00074

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

Security

Grade A, and why

update-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 10d 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/update-claude-md/SKILL.md · 71 lines

How it starts

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

Arguments

[<path-to-CLAUDE.md>]

  • Optional. Explicit path to the CLAUDE.md to update; defaults to searching the repo root and .claude/.
  • Examples: /update-claude-md, /update-claude-md packages/api/CLAUDE.md

Copilot CLI note: $ARGUMENTS doesn't substitute in skills — include the argument inline in your prompt.

Update CLAUDE.md

Analyze recent branch changes and propose additions to the project's CLAUDE.md.

Scope

  1. Locate CLAUDE.md: Use $ARGUMENTS as the path if provided; otherwise search the repo root and .claude/ for a CLAUDE.md file.
  2. Diff source: Changes between this branch and main/master.

Task

  1. Read the current CLAUDE.md in full.
  2. Run git diff main...HEAD (or master...HEAD) to get the branch diff.
  3. Identify additions worth documenting — only stable, reusable conventions:
    • New CLI commands, scripts, or tooling patterns introduced
    • New architectural patterns or module conventions
    • Non-obvious configuration or environment constraints
    • Public API changes (new endpoints, changed contracts, new env vars)
    • New dependencies and why they were added
    • Gotchas, workarounds, or constraints discovered during the work
  4. Filter out:
    • One-off fixes unlikely to recur
    • Implementation details (function bodies, variable names)
    • Anything already documented in CLAUDE.md
    • Obvious information derivable from reading the code

Output

Show proposed additions as a diff — do not edit any files yet:

### Update: <path-to-CLAUDE.md>

**Why:** <one-line reason>

\`\`\`diff
+ <addition — one line per concept>
\`\`\`

Group by section if adding to multiple parts of the file. If nothing new is worth documenting, say so and explain why.

After showing the diff, ask: "Apply these changes?"

Read the full file on GitHub · 71 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. 10d ago First seen · 71 lines · 34 tokens per session scan A afd647e72ed7

Subscribe to this mod's changes

update-claude-md is a skill published in the GitHub repository nortonx/ai-tooling-free (1 stars, last pushed 26d ago), licensed MIT. It adds 34 tokens to every session and 743 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.

Related

Other skills, from other repositories

docs-sync

Keep project documentation in sync with code changes. Identifies which docs need updating after a PR merges or code changes, drafts the updates, and manages doc site structure (mkdocs, docusaurus, vitepress). Use when: (1) a PR just merged and docs may need updating, (2) the user says "update the docs" or "sync docs"…

chriscox/agent-skills · 147 tokens

project-planner

Triage ideas, problems, and feature requests into the right format: proposal doc, feature issue, or bug report. Repo-aware — discovers templates and docs structure from the current repository. Use when: (1) the user describes an idea, feature, or problem they want to track, (2) the user says "file a bug", "I have an…

chriscox/agent-skills · 131 tokens

go-dependency-audit

Go dependency audit specialist for CVE scanning (govulncheck), license risk triage, outdated dependency detection, upgrade impact analysis, and supply chain security. ALWAYS use when auditing go.mod dependencies, running govulncheck, checking license compatibility, planning dependency upgrades, or investigating supply…

johnqtcg/awesome-skills · 102 tokens

pg-migration

PostgreSQL schema migration safety reviewer and DDL generator. ALWAYS use when writing, reviewing, or planning PostgreSQL schema changes — ALTER TABLE, CREATE/DROP INDEX, column type changes, constraint additions, RLS policy changes, or any DDL touching production tables. Covers lock-level analysis, CREATE INDEX…

johnqtcg/awesome-skills · 135 tokens

intuitive-preflight

Turn a vague task, plan, issue, or "LGTM/go ahead" request into an approval-ready preflight contract before implementation starts. Use when the user wants prompt preflight, clearer scope, non-goals, context package, acceptance criteria, definition of done, verification, stop gates, the exact execution command, or…

MiaoDX/intuitive-flow · 112 tokens

intuitive-squash

Squash local GSD or agent-generated commit history into a clean, reviewable story while preserving important fixes. Use when the user asks to squash commits, clean git history, compress phase commits, prepare a branch before PR, compare aggressive vs moderate squash options, or preserve hotfix/security commits during…

MiaoDX/intuitive-flow · 73 tokens