Skill Governance (source-of-truth cache sync)
A maintenance skill that detects, syncs, and cleans up drift between your local skill source repos and Claude Code's plugin cache.
UtilitiesAdvanced★ 1,323⑂ 212AI score 8/10Last updated: Aug 8, 2026
What it does
- Read-only drift check: compares the source dirs declared in
.claude-plugin/marketplace.jsonagainst~/.claude/plugins/cache/, reporting stale, version mismatch, missing from cache, orphaned, and direct-copy drift. - Official-command sync: rebuilds the cache via
claude plugin marketplace update,uninstall, andinstallinstead of hand-copying files, preserving the original install scope (userorproject). - Old version cleanup: sorts semver subdirectories, keeps only the newest, and refuses to delete if the newest still doesn't match source.
- Marketplace repointing: swaps a marketplace over to a local source path and verifies the result.
- Loose user-skill audit: classifies skills under
~/.claude/skills,~/.codex/skills,~/.agents/skillsas lock-managed, source-backed copy, thin template, loose-but-valuable, or obsolete backup — and retires them withmvinto datedretired-skills/folders instead ofrm -rf. - Includes ignore lists (
.git,node_modules,*-workspace,dist…), suite-plugin rules, a Markdown report template, and troubleshooting notes.
Who it's for
- Skill/plugin authors who must keep a local source repo and marketplace cache in sync
- Heavy Claude Code users whose skill list has grown messy and untraceable
- Maintainers distributing several skill repos to a team who need version consistency
Example uses
- "Check skill drift" → get a per-marketplace Markdown report with tables for stale, version mismatch, and orphaned plugins.
- "Sync skills from source" → repoint the marketplace to local source, reinstall affected plugins at their original scope, then prune old version dirs.
- "Clean up thin user skills" → only script-free, reference-free template skills get moved to
retired-skills/thin-2025-06-01/, while valuable ones stay.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/daymade/claude-code-skills/HEAD/daymade-skill/skill-governance/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the daymade-skill/skill-governance folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/skill-governance/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/daymade-skill/skill-governance ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and
cdinto any working directory. - Clone the repo:
git clone https://github.com/daymade/claude-code-skills.git - Create the skills folder if needed:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r claude-code-skills/daymade-skill/skill-governance ~/.claude/skills/ - Restart Claude Code and confirm
skill-governanceshows up in your skill list. - Before using it, run
claude plugin marketplace listto learn your own marketplace names, and name them explicitly instead of relying on thedaymade-skillsdefaults. - Start with the read-only request ("check skill drift"), and only approve the sync/cleanup workflows after reviewing the report.
View source on GitHub ↗License: MIT