Context Mode Output Sandbox
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
Show whether each skill is earning its context-window cost — combined tokens-used view sorted by waste.
$ npx skills add khendzel/skills-janitor --skill janitor-value -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install khendzel/skills-janitor janitor-value --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/khendzel/skills-janitor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/janitor-value .claude/skills/janitor-value && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "janitor-value" agent skill from https://github.com/khendzel/skills-janitor/tree/main/skills/janitor-value into .claude/skills/janitor-value/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "janitor-value", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/khendzel/skills-janitor/tree/main/skills/janitor-valueType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add khendzel/skills-janitor --skill janitor-value -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install khendzel/skills-janitor janitor-value --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/khendzel/skills-janitor.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/janitor-value .agents/skills/janitor-value && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "janitor-value" agent skill from https://github.com/khendzel/skills-janitor/tree/main/skills/janitor-value into .agents/skills/janitor-value/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "janitor-value", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add khendzel/skills-janitor --skill janitor-value -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install khendzel/skills-janitor janitor-value --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/khendzel/skills-janitor.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/janitor-value .cursor/skills/janitor-value && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "janitor-value" agent skill from https://github.com/khendzel/skills-janitor/tree/main/skills/janitor-value into .cursor/skills/janitor-value/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "janitor-value", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/khendzel/skills-janitor.git --path skills/janitor-value--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add khendzel/skills-janitor --skill janitor-value -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install khendzel/skills-janitor janitor-value --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/khendzel/skills-janitor.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/janitor-value .gemini/skills/janitor-value && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "janitor-value" agent skill from https://github.com/khendzel/skills-janitor/tree/main/skills/janitor-value into .gemini/skills/janitor-value/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "janitor-value", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install khendzel/skills-janitor janitor-valueInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add khendzel/skills-janitor --skill janitor-value -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/khendzel/skills-janitor.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/janitor-value .github/skills/janitor-value && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "janitor-value" agent skill from https://github.com/khendzel/skills-janitor/tree/main/skills/janitor-value into .github/skills/janitor-value/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "janitor-value", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add khendzel/skills-janitor --skill janitor-value -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install khendzel/skills-janitor janitor-value --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/khendzel/skills-janitor.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/janitor-value .opencode/skills/janitor-value && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "janitor-value" agent skill from https://github.com/khendzel/skills-janitor/tree/main/skills/janitor-value into .opencode/skills/janitor-value/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "janitor-value", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
janitor-valueShow whether each skill is earning its context-window cost — combined tokens-used view sorted by waste.
Janitor Value is an agent skill from khendzel/skills-janitor. Show whether each skill is earning its context-window cost — combined tokens-used view sorted by waste. Use when the user asks 'are my skills worth it', 'what's my context budget', 'which skills are dead weight', or wants to audit skill value, token cost, or usage. Trigger with '/janitor-value'.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code. Requires bash 3.2+ (macOS default works). Reads local Claude Code data only (~/.claude/skills, ~/.claude/agents, session history).
It sits in Agent Workflows, covering Context engineering and LLM cost and token optimization. The repository describes itself as: Tinder for your Claude Code skills, subagents and MCP servers. Swipe away what wastes context, scan for prompt injection, get honest token costs. Fixes what it finds and actually… The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4b42f39. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadBash(bash:*)From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bashFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Designed for Claude Code. Requires bash 3.2+ (macOS default works). Reads local Claude Code data only (~/.claude/skills, ~/.claude/agents, session history).
From compatibility in the SKILL.md frontmatter.
Janitor Value loads about 1.4k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 628 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from khendzel/skills-janitor at commit 4b42f39, republished under its MIT licence (© khendzel). 628 words, ~1,357 tokens.
.claude/skills/janitor-value/SKILL.md (or your agent's skills folder).Show whether each installed skill is earning the context-window tokens it costs.
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).
scripts/value.sh)~/.claude/skills, ~/.claude/agents, and local Claude Code session historybash ~/.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 JSONShow 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).
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.
A table of every installed skill with:
yes if invoked in the lookback window, else NOFollowed by a summary:
~/.claude/agents, reported as % of budget)Error: value.sh: No such file or directory
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.
Error: Every skill shows NO in the Used? column
Solution: The lookback window may be too short or session history is empty. Re-run with a longer window, e.g. --weeks 12.
Error: A skill shows 0 tokens
Solution: Its SKILL.md is missing or unreadable. Run /janitor-report to surface broken skills, then /janitor-fix --prune to clean them up.
Error: Percentages look wrong for a non-default model
Solution: Pass the correct context size explicitly, e.g. --budget 500000.
Input: "Are my skills worth their token cost?"
Output: Run bash ~/.claude/skills/skills-janitor/scripts/value.sh, then present the table sorted by waste and the summary line, e.g. "Always-loaded total: 8,420 tokens (4.2% of 200k budget). 6 of 31 skills unused in 4 weeks; top waster: heavy-skill (1,900 tokens, never used)."
Input: "Check skill usage over the last quarter against a 500k window."
Output: Run bash ~/.claude/skills/skills-janitor/scripts/value.sh --weeks 12 --budget 500000 and present the same table with the adjusted lookback and percentages.
Input: "Give me the raw skill value data."
Output: Run the script with --json and return the JSON payload unmodified.
For the MCP side of context cost, run bash {baseDir}/../../scripts/mcp.sh [--weeks N] — inventories every configured server (user, project, plugin) with REAL call counts from session transcripts, and lists servers unused in the window. No token guesses: schemas live server-side, so the janitor reports calls, distinct tools used, and last-used instead.
{baseDir}/../../scripts/value.sh/janitor-report — full health check including duplicates and broken skills/janitor-fix --prune — remove broken symlinks and empty skill dirs/janitor-discover — find new skills or check one before installing© khendzel, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/janitor-value of khendzel/skills-janitor.
Open the folder on GitHubat commit 4b42f39
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in khendzel/skills-janitor, which our catalogue first saw on October 7, 2026.
Janitor Value next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Janitor Value this skillkhendzel/skills-janitor | 123 | 1 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Context Mode Output Sandboxmksglu/context-mode | 26k | — | ~4.1k | Automated safety check: Pass | Custom licence | |
| Context Mode for Antigravity CLImksglu/context-mode | 26k | — | ~850 | Automated safety check: Pass | Custom licence | |
| Context Fundamentalsguanyang/open-agent-hub | 975 | 2 repos | ~4.2k | Automated safety check: Pass | MIT | |
| Context DoctorjzOcb/context-doctor | 119 | — | ~642 | Automated safety check: Pass | MIT | |
| Code Context Slicingtrailofbits/skills | 7.4k | — | ~2.1k | Automated safety check: Pass | CC-BY-SA-4.0 |
mksglu/context-mode
Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.
mksglu/context-mode
Routing rules for using context-mode MCP tools in Antigravity CLI: sandboxed code runs, file analysis, indexed search and web fetches that keep large output out of the conversation.
guanyang/open-agent-hub
This skill should be used to explain or reason about the foundational concepts of context engineering: what context is, the anatomy of a context window, how attention mechanics work, the U-shaped…
jzOcb/context-doctor
Visualize and diagnose OpenClaw context window usage. An agent skill from jzOcb/context-doctor.
trailofbits/skills
Picks a small, graph-based slice of source with Trailmark and hands a focused code task to a smaller or local model without exposing the whole repository.
ppgranger/token-saver
Checks and tunes token-saver output compression: reads stats, explains why a command was or was not compressed, and edits config files or environment variables.
khendzel/skills-janitor
Tinder for your Claude Code skills. An agent skill from khendzel/skills-janitor.
khendzel/skills-janitor
Automatically fix skill problems (safe preview first). An agent skill from khendzel/skills-janitor.
khendzel/skills-janitor
Full health check of all your skills in one report. An agent skill from khendzel/skills-janitor.
khendzel/skills-janitor
Find new skills on GitHub or check a specific skill before installing.
Categories
Show whether each skill is earning its context-window cost — combined tokens-used view sorted by waste. Janitor Value is an agent skill from khendzel/skills-janitor. Show whether each skill is earning its context-window cost — combined tokens-used view sorted by waste.
Janitor Value fits situations like: the user asks are my skills worth it; whats my context budget; which skills are dead weight; wants to audit skill value.
Run `npx skills add khendzel/skills-janitor --skill janitor-value -a claude-code`. Or copy the skill folder (skills/janitor-value in khendzel/skills-janitor) into .claude/skills/janitor-value in your project. Claude Code loads it when a task matches its description.
Run `npx skills add khendzel/skills-janitor --skill janitor-value -a codex`. Or copy the skill folder (skills/janitor-value in khendzel/skills-janitor) into .agents/skills/janitor-value in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add khendzel/skills-janitor --skill janitor-value -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/janitor-value, .gemini/skills/janitor-value, .github/skills/janitor-value and .opencode/skills/janitor-value in your project.
Going by SKILL.md and its folder, Janitor Value needs the command-line tools its instructions call (bash). Its frontmatter pre-approves these tools: Read, Bash(bash:*). Compatibility (from SKILL.md): Designed for Claude Code. Requires bash 3.2+ (macOS default works). Reads local Claude Code data only (~/.claude/skills, ~/.claude/agents, session history)..
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Janitor Value is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Janitor Value: Context Mode Output Sandbox (mksglu/context-mode, 26k stars), Context Mode for Antigravity CLI (mksglu/context-mode, 26k stars), Context Fundamentals (guanyang/open-agent-hub, 975 stars) and Context Doctor (jzOcb/context-doctor, 119 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
khendzel (a GitHub user) maintains it in khendzel/skills-janitor, which has 123 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 30, 2026.
Source: khendzel/skills-janitor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.