janitor-value

janitor-value is a skill for Claude Code from khendzel/skills-janitor. It costs 69 tokens per session (1,372 once invoked), scanned A, original, MIT.

A report that compares each installed coding skill's context cost with how often it has been used.

In plain words
What is it for?
Use it to review token costs, recent usage, unused skills, and context-budget percentages over a chosen number of weeks.
Why use it?
It shows which skills consume valuable prompt space without contributing much, so you can decide what to keep.

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 review token costs, recent usage, unused skills, and context-budget percentages over a chosen number of weeks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khendzel/skills-janitor/janitor-value
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-value
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-value

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/khendzel/skills-janitor/janitor-value"><img src="https://agentmods.dev/badge/skills/khendzel/skills-janitor/janitor-value.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,372 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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 73
    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.00069 $0.01372
Opus 5 $0.00034 $0.00686
Sonnet 5 $0.00014 $0.00274
Haiku 4.5 $0.00007 $0.00137

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

Security

Grade A, and why

janitor-value scanned grade A 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 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.

Enumerates other installed skillslowAgent 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 script from its actual location.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/janitor-value/SKILL.md · 114 lines

How it starts

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

Skill Value Report

Show whether each installed skill is earning the context-window tokens it costs.

Overview

Combine token cost and usage tracking into a single view of every installed skill, sorted with the heaviest unused skills at the top. The report splits each skill's cost into what is permanently loaded (the description) and what only loads on demand (the body), then cross-references recent invocations so the user can see which skills are dead weight.

Replaces the v1.2 split between /janitor-tokens (cost only) and /janitor-usage (usage only).

Prerequisites

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

Instructions

Step 1: Run the value script

bash ~/.claude/skills/skills-janitor/scripts/value.sh [--weeks N] [--budget N] [--json]
  • --weeks N — usage lookback window (default: 4)
  • --budget N — context window size for % calculations (default: 200000)
  • --json — emit raw JSON

Step 2: Present the results

Show the table and summary to the user. When explaining results, do NOT describe body tokens as permanent context cost — only descriptions are always loaded. Plugin-namespaced skills appear with their full invocation name (e.g., marketing-skills:image, figma:figma-use).

Step 3: Suggest action when waste is high

If "unused skill cost" exceeds 20% of the budget, recommend the user run /janitor-report for a full health check or (in v1.4+) /janitor-swipe to triage interactively.

Output

A table of every installed skill with:

  • Always — description tokens, permanently in the system prompt (the real context rent)
  • Body — the rest of SKILL.md, loaded only when the skill triggers (progressive disclosure)
  • Used?yes if invoked in the lookback window, else NO
  • Last Used — date of most recent invocation

Read the full file on GitHub · 114 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 · 114 lines · 69 tokens per session scan A 1a476b42af29

Subscribe to this mod's changes

janitor-value is a skill published in the GitHub repository khendzel/skills-janitor (117 stars, last pushed 29d ago), licensed MIT. It adds 69 tokens to every session and 1,372 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A 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