janitor-report

janitor-report is a skill for Claude Code from khendzel/skills-janitor. It costs 55 tokens per session (1,368 once invoked), scanned B, original, MIT.

A command that checks the health of installed agent skills and produces one report covering their inventory, quality, duplicates, and broken entries.

In plain words
What is it for?
Use it to audit skills across user, project, Codex, plugin, and source locations, with an optional brief inventory mode.
Why use it?
It gives you one place to find skill errors, repeated skills, and other maintenance problems instead of inspecting each skill separately.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Part of the skills-janitor plugin — 6 skills shipped together

Good fit Use it to audit skills across user, project, Codex, plugin, and source locations, with an optional brief inventory mode.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khendzel/skills-janitor/janitor-report
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 khendzel/skills-janitor --skill janitor-report
Clone the repo
git clone --depth 1 https://github.com/khendzel/skills-janitor

Made for: Claude Code.

Or install skills-janitor, the plugin that ships this one along with the rest of its 6 skills.

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 janitor-report

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/khendzel/skills-janitor/janitor-report"><img src="https://agentmods.dev/badge/skills/khendzel/skills-janitor/janitor-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,368 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 90
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00055 $0.01368
Opus 5 $0.00028 $0.00684
Sonnet 5 $0.00011 $0.00274
Haiku 4.5 $0.00006 $0.00137

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

Security

Grade B, and why

janitor-report scanned grade B with 1 finding 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 11d 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

**Solution**: The plugin is installed under a different root. Locate it with `ls ~/.claude/skills` or check the plugin cache, then run the scripts from their actual location.
skills/janitor-report/SKILL.md · 118 lines

How it starts

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

Health Report

Generate a comprehensive health report combining inventory, quality checks, duplicate detection, and broken skill findings.

Overview

One report covering every place a skill lives: user, project, codex, plugin, and source scopes. Plugin skills appear with their full invocation name (e.g. marketing-skills:image, figma:figma-use) — these were invisible to the v1.2 report. The scan JSON also includes an agents array (subagents from ~/.claude/agents — their descriptions are always-loaded too) and per-plugin update_available (installed commit vs marketplace HEAD) — surface stale plugins and heavy agents in the report.

Modes:

  • /janitor-report (default) — full health check: inventory + lint + duplicates + broken
  • /janitor-report --brief — inventory only (replaces the old /janitor-audit)

Prerequisites

  • Claude Code with the skills-janitor plugin installed (provides scripts/scan.sh, lint.sh, detect_dupes.sh)
  • bash 3.2+ (the stock macOS bash works; no external dependencies)
  • Read access to ~/.claude/skills, ~/.claude/agents, and installed plugin metadata
  • No authentication or API keys required — the scripts read local files only

Instructions

Step 1: Run the scripts

Full report:

bash ~/.claude/skills/skills-janitor/scripts/scan.sh
bash ~/.claude/skills/skills-janitor/scripts/lint.sh
bash ~/.claude/skills/skills-janitor/scripts/detect_dupes.sh

Brief mode (inventory only):

bash ~/.claude/skills/skills-janitor/scripts/scan.sh

Step 2: What each script covers

  • Inventory (scan.sh) — all skills across scopes, symlink status, frontmatter fields, line counts; agents and plugins (with update_available) arrays; broken_symlinks count.
  • Quality checks (lint.sh) — Critical: broken symlinks, missing SKILL.md, missing frontmatter. Warning: missing/empty name or description, description too short/long, missing version. Info: no body content, no Gotchas section, large files.
  • Duplicate detection (detect_dupes.sh) — name collisions (two distinct skills with the same qualified name at different paths) and description overlap (Jaccard similarity >30%), with cross-scope user-vs-plugin pairs explicitly surfaced (e.g. marketing-seo-audit (user) ↔ marketing-skills:seo-audit (plugin)).

Read the full file on GitHub · 118 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. 11d ago First seen · 118 lines · 55 tokens per session scan B f1c95282601e

Subscribe to this mod's changes

janitor-report is a skill published in the GitHub repository khendzel/skills-janitor (117 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 1,368 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

html-draft

Use when user wants a standalone HTML diagram in flat engineering blueprint style — architecture diagrams, system flows, technical spec sheets, component maps. Generates one HTML file using Tailwind v4 (browser CDN) for layout and D3 v7 (CDN) for SVG diagrams. User-invoked only — do NOT auto-trigger. Triggers on…

serejaris/personal-corp-os · 130 tokens

idea

Use when capturing ONE new idea the user voices and wants recorded — "save this idea", "I have an idea", "log this idea", "/idea", "idea: ...". Creates a provenance-tracked folder (one folder per idea) in your ideas repo, dedups against an index, optionally mirrors to a GitHub Project view filtered by label:idea. NOT…

serejaris/personal-corp-os · 135 tokens

pm-brainstorm

A structured brainstorming session for exploring a specific product problem or opportunity and narrowing the results to ideas worth pursuing.

serejaris/personal-corp-os · 162 tokens

weekly-planning

A planning workflow that turns a completed weekly review and existing backlog into prioritized outcomes for one ISO calendar week.

serejaris/personal-corp-os · 49 tokens

claude-md-writer

Use when creating or refactoring CLAUDE.md files - enforces best practices for size, structure, and content organization.

serejaris/personal-corp-os · 30 tokens

gh-issues

Use when creating, searching, updating, or managing GitHub issues via CLI. Triggers: "issue", "create issue", "gh issue", "task tracking", "context", "handoff", "resume task", "session context", "save progress", "active tasks", "in-progress", "my tasks", "open issues". Covers: gh commands, bulk operations, JSON/jq…

serejaris/personal-corp-os · 104 tokens