SkillsReviewed · khendzel

janitor-fix

janitor-fix is a Claude Code skill for people maintaining assistant skill folders, but it requires the wider skills-janitor plugin to perform repairs. It describes preview-first fixes for skill metadata and optional pruning of broken links, directories without SKILL.md and user copies of plugin skills.

Researched 16 Nov 2026

In short.

janitor-fix is a Claude Code maintenance skill for users managing their own assistant skills, but its required repair script is outside the captured skill folder. Version 1.5.1 documents metadata repairs and optional cleanup, beginning with a preview and user confirmation. The script implementation, deletion safeguards and runtime behavior were not assessed. Nothing was executed.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is skills/janitor-fix in khendzel/skills-janitor. Its complete captured contents consist of SKILL.md, with the repository-level LICENSE supplied as the applicable notice. The wider plugin, ../../scripts/fix.sh and companion skills are outside this scope. Nothing was executed. Runtime compatibility, actual repairs, deletion criteria, preview fidelity, exclusions, logging and recovery remain unassessed.

The overview

Identity

janitor-fix is a skill within Krzysztof Hendzel’s skills-janitor repository. Its metadata identifies version 1.5.1, the /janitor-fix trigger and the optional arguments --apply and --prune. The original folder is [https://github.com/khendzel/skills-janitor/tree/main/skills/janitor-fix].

The skill consists of instructions for Claude Code that delegate repairs to the wider plugin’s scripts/fix.sh.

Assessment

This is potentially useful for recurring, mechanical problems in skill files: absent metadata delimiters, empty descriptions and missing version fields. Its documented preview and confirmation sequence gives users an opportunity to inspect proposed changes.

Its usefulness depends on the external fixer behaving as described. Generated descriptions and default versions also require human review for accuracy. Repair success and cleanup safety remain unverified.

Users

The intended users are Claude Code users maintaining skill directories at user, project or codex scope. Beginners receive a guided preview-and-confirm process; experienced developers receive shell commands, documented scope exclusions and a log location.

The document names ~/.agents/skills as a repair target. Compatibility with loading and using this skill in another assistant is not established.

Capabilities

The documented repairs add missing frontmatter delimiters, fill empty description fields using the skill folder name and add missing version fields with a default of 1.0.0. Frontmatter is the metadata block at the beginning of SKILL.md.

With --prune, the guide describes removing broken skill symlinks, directories without SKILL.md and orphaned skills, defined here as user-scope copies of plugin skills. Plugin and marketplace content is documented as excluded from modification.

Using it

Requirements

The guide requires Claude Code, the installed skills-janitor plugin, Bash 3.2 or later and write access to the relevant skill directories. It lists ~/.claude/skills, ./.claude/skills and ~/.agents/skills.

It states that the stock macOS Bash works and that no external dependencies are needed. These compatibility claims were not exercised. The required plugin version and any specific Claude Code version are unknown.

Mechanism

The skill declares Read and Bash access and directs Claude Code to invoke scripts/fix.sh. The script is documented as defaulting to a dry run, with --apply enabling changes and --prune selecting cleanup.

The instructions require showing the preview and obtaining confirmation before applying changes. Whether the script independently enforces confirmation is unknown. Documented output includes per-skill status lines and a summary; applied changes are said to receive timestamped entries in data/changelog.log.

Setup

The documented commands assume the fixer exists at ~/.claude/skills/skills-janitor/scripts/fix.sh. The captured file does not provide plugin installation commands, so copying SKILL.md alone would leave that dependency unresolved.

The repair preview command is bash ~/.claude/skills/skills-janitor/scripts/fix.sh. Adding --prune previews cleanup candidates. The documented sequence then presents the preview for confirmation before adding --apply.

Example

For a SKILL.md with an empty description and no version, the documented process would preview a folder-name-based description and a version value of 1.0.0. After approval, the apply command would request those edits. The exact description template is not shown.

This is an illustration of the stated behavior, not observed output. The default version does not establish the affected skill’s actual release version.

Assessment & evidence

Limitations

The repair script is absent from the evidence, leaving file discovery, metadata parsing, exclusion enforcement, preview accuracy and logging completeness unassessed. The guide describes manual field restoration after unexpected edits; automatic rollback is not documented.

Cleanup terminology needs care. A directory without SKILL.md may contain other files, despite being called empty in the guide. A user copy of a plugin skill may be intentional or modified. The evidence does not establish how the script handles either situation.

Reasoning

The strongest case for this skill is reducing repetitive metadata maintenance across several skill locations. The preview step can help users inspect the proposed scope before requesting writes.

The distinction between mechanical completeness and useful content matters: a template description may still describe a skill poorly, and an inserted version may be inaccurate. Pruning needs additional judgment because a missing link target or duplicate-looking folder does not establish that deletion is appropriate.

Alternatives

For a few metadata problems, manual editing offers direct control over descriptions and version values. The guide itself describes manually restoring affected fields after an unexpected change. For a symlink whose target moved, it recommends repairing the link instead of pruning it.

/janitor-report is named for finding issues, while /janitor-value addresses usage and token cost. Their implementations and results are absent, so comparative effectiveness is unknown.

Evidence

The available files are skills/janitor-fix/SKILL.md and the repository-level LICENSE at commit 4b42f391fd537b791d1c09c7825be0bc641fd41c. The original captured skill text is [https://raw.githubusercontent.com/khendzel/skills-janitor/4b42f391fd537b791d1c09c7825be0bc641fd41c/skills/janitor-fix/SKILL.md].

The accompanying licence is [https://raw.githubusercontent.com/khendzel/skills-janitor/4b42f391fd537b791d1c09c7825be0bc641fd41c/LICENSE]. No repair script, execution results or independent behavior measurements are present.

Access & freshness

Costs

The evidence gives no purchase price, Claude Code plan requirements, token measurements or operating-cost estimates. Total cost is unknown.

The guide references /janitor-value for usage and token cost, but supplies no results from that companion command.

Rights

The repository LICENSE grants MIT rights to use, copy, modify, publish, distribute, sublicense and sell the software. Copies or substantial portions must retain the copyright and permission notice. The notice names Krzysztof Hendzel and copyright year 2026.

The software is supplied without warranty. The skill metadata also identifies MIT as its licence.

Freshness

The capture timestamp is 2026-11-16T01:59:14.060Z, and the captured skill declares version 1.5.1. That timestamp establishes when these files were captured; it does not establish their release date.

Whether the repository’s main branch, the plugin script or the skill has changed since this revision is unknown.

Actions

Before using the skill, confirm that the required plugin script exists, inspect its behavior and preserve recoverable copies of affected files. Begin with the documented preview and review the exact proposed changes.

For pruning, inspect directories without SKILL.md and user copies of plugin skills individually. Repair moved symlink targets where appropriate. After an approved apply operation, inspect file changes and the documented changelog, then replace generated descriptions and default versions with accurate values.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/janitor-fix/SKILL.mdselected · checked 2026-11-16