optimize-cc-md SKILL.md skillA

optimize-cc-md from pdugan20/claudelint is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add pdugan20/claudelint/optimize-cc-md@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
pdugan20/claudelint
Path
skills/optimize-cc-md/SKILL.md
Versions recorded
5
Latest version
v1.0.0, committed Feb 19, 2026
First version recorded
Feb 10, 2026
Size
11,471 bytes
Repository stars
14
License
MIT

Interactively helps users optimize their CLAUDE.md files. Use when user asks to "optimize my CLAUDE.md", "my CLAUDE.md is too long", "improve organization", or "split my CLAUDE.md". Runs validation, explains issues conversationally, and helps create @import files to reduce size and improve structure.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Optimize CLAUDE.md

An interactive skill that helps you optimize your CLAUDE.md file through a 3-phase workflow: validate, assess quality, then make guided improvements. Each phase builds on the previous one so the user understands what's wrong, why it matters, and what to do about it.

## Usage

Invoke with `/optimize-cc-md` or say "optimize my CLAUDE.md". Optionally pass a path: `/optimize-cc-md CLAUDE.md`. The skill guides you through three phases: validation, quality assessment, and guided improvement.

If a specific path is provided, optimize that file: $ARGUMENTS

## Workflow Overview

```text
Phase A: Validate         Phase B: Assess Quality     Phase C: Guided Improvement
─────────────────         ───────────────────────     ───────────────────────────
Run claudelint         →  Explain issues plainly   →  Ask user what to fix
Read CLAUDE.md         →  Check quality criteria   →  Make surgical changes
Collect violations     →  Identify opportunities   →  Create @import files
                                                   →  Verify results
```

## Phase A: Validate

Run automated validation and read the file to understand its current state.

### Step 1: Run Validation
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add pdugan20/claudelint/optimize-cc-md@sha256:36d0103b5f4f20b9

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_m4meoull7bmkxyzq.svg)](https://markdownregistry.com/a/art_m4meoull7bmkxyzq)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Feb 10, 2026 and Feb 19, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-02-19 22dd244 11,471 BA view · diff
v1.0.02026-02-17 05c86c1 11,352 BA view · diff
v1.0.02026-02-16 7643dd5 11,200 BA view · diff
v1.0.02026-02-12 c3bc544 11,231 BA view · diff
v1.0.02026-02-10 838195b 11,222 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11471 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

pdugan20/claudelint · 14 stars · license MIT · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_m4meoull7bmkxyzq
GET https://markdownregistry.com/api/v1/resolve?ref=pdugan20/claudelint/optimize-cc-md
GET https://markdownregistry.com/api/v1/blob/36d0103b5f4f20b933f370eba221727fd37add2b61fd0c25ed4ee5aca29b901f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from pdugan20/claudelint

check-upstream SKILL.md skill
pdugan20/claudelint · .agents/skills/check-upstream/SKILL.md · Refreshes the Claude Code docs baseline, runs the conformance check, and recommends schema and rule updates. Use when…
git:20260913.c2fd2b9 · audit A · 14 stars
AGENTS.md AGENTS.md file
pdugan20/claudelint · AGENTS.md
git:20260913.6ec4ef7 · audit A · 14 stars
CLAUDE.md CLAUDE.md file
pdugan20/claudelint · CLAUDE.md
git:20260727.016b46d · audit B · 14 stars
format-cc SKILL.md skill
pdugan20/claudelint · skills/format-cc/SKILL.md · Formats Claude Code files with markdownlint, prettier, and shellcheck. Use when user asks to "format my files", "fix…
v1.0.0 · audit A · 14 stars
validate-all SKILL.md skill
pdugan20/claudelint · skills/validate-all/SKILL.md · Runs comprehensive claudelint validation on all Claude Code project files. Use when user asks to "check everything"…
v1.0.0 · audit A · 14 stars
validate-cc-md SKILL.md skill
pdugan20/claudelint · skills/validate-cc-md/SKILL.md · Validates CLAUDE.md files for size, imports, and structure. Use when user asks to "check my CLAUDE.md", "why is my…
v1.0.0 · audit A · 14 stars
validate-hooks SKILL.md skill
pdugan20/claudelint · skills/validate-hooks/SKILL.md · Validates Claude Code hooks.json files for schema, events, and commands. Use when user asks to "check my hooks"…
v1.0.0 · audit A · 14 stars
validate-mcp SKILL.md skill
pdugan20/claudelint · skills/validate-mcp/SKILL.md · Validates MCP server configuration files (.mcp.json). Use when user asks to "check my .mcp.json", "why isn't my MCP…
v1.0.0 · audit A · 14 stars
validate-plugin SKILL.md skill
pdugan20/claudelint · skills/validate-plugin/SKILL.md · Validates Claude Code plugin manifest files (plugin.json). Use when user asks to "check my plugin.json", "validate…
v1.0.0 · audit A · 14 stars
validate-settings SKILL.md skill
pdugan20/claudelint · skills/validate-settings/SKILL.md · Validates Claude Code settings.json files for schema, permissions, and security. Use when user asks to "check my…
v1.0.0 · audit A · 14 stars
validate-skills SKILL.md skill
pdugan20/claudelint · skills/validate-skills/SKILL.md · Validates Claude Code skills for schema, naming, documentation, and security. Use when user asks to "check my skill"…
v1.0.0 · audit A · 14 stars
AGENTS.md@src AGENTS.md file
pdugan20/claudelint · src/AGENTS.md
git:20260727.016b46d · audit A · 14 stars

Every file in pdugan20/claudelint

Browse by kind, by grade A, or by owner.