install
source · Clone the upstream repo
git clone https://github.com/khendzel/skills-janitor
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/khendzel/skills-janitor "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/janitor-audit" ~/.claude/skills/khendzel-skills-janitor-janitor-audit && rm -rf "$T"
manifest:
skills/janitor-audit/SKILL.mdsource content
Skill Audit
Run a full inventory scan of all Claude Code skills across every scope.
How to Run
bash ~/.claude/skills/skills-janitor/scripts/scan.sh
What It Scans
- User scope:
~/.claude/skills/ - Project scope:
(current project)./.claude/skills/ - Plugin skills:
and marketplace sources~/.claude/plugins/ - Source links:
~/.claude/sources/ - Account-level:
,~/.claude-account-personal/plugins/~/.claude-account-company/plugins/
Output
JSON inventory with per-skill details:
- Folder name, scope, full path
- Symlink status (valid/broken/target)
- Frontmatter fields (name, description, version)
- Body content presence
- Line counts, extra files
After Scanning
Present findings as a summary table:
| Skill | Scope | Status | Issues | |--------------------|---------|----------|---------------------------| | marketing-copy | user | OK | - | | seo-audit | user | WARNING | Description too short | | old-deploy-helper | user | CRITICAL | Broken symlink |
Related Skills
- For duplicate detection:
/janitor-duplicates - For error check:
/janitor-check - For auto-fixing issues:
/janitor-fix - For a full health report:
/janitor-report