Skip to content
Security
Command

/skill-improver

Iteratively reviews and fixes a Claude Code skill until it meets quality standards. Triggers on 'fix my skill', 'improve skill quality', 'skill improvement loop'.

From plugin
trailofbits-skills
6.5k9 skills32 agents9 commands
Install
$ npx -y skills add trailofbits/skills --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/skill-improver

Context preview

What this command does when you run it.

Iteratively reviews and fixes a Claude Code skill until it meets quality standards. Triggers on 'fix my skill', 'improve skill quality', 'skill improvement loop'.

Command definition

skill-improver.md
description: "Iteratively reviews and fixes a Claude Code skill until it meets quality standards. Triggers on 'fix my skill', 'improve skill quality', 'skill improvement loop'."
argument-hint: "<SKILL_NAME_OR_PATH> [--max-iterations N]"
allowed-tools: Bash(${CLAUDE_PLUGIN_ROOT}/scripts/setup-skill-improver.sh:*) Task Read Edit Write Glob Grep

Skill Improver

Step 1: Resolve Skill Path

The user provided: `$ARGUMENTS`

**Resolution rules:** 1. If input ends with `/SKILL.md` and file exists, use directly 2. If input is a directory containing `SKILL.md`, use that path 3. Otherwise, search for matching skills:

Glob(pattern="**/SKILL.md")

Filter results to find skills matching the user's input (by skill name or path substring).

  • **Multiple matches:** Ask the user to choose
  • **No matches:** Report available skills
  • **Single match:** Proceed with that path

Store the resolved absolute path to the skill directory in `RESOLVED_SKILL_PATH`.

Step 2: Initialize the Loop

Run the setup script with the resolved path:

"${CLAUDE_PLUGIN_ROOT}/scripts/setup-skill-improver.sh" "<RESOLVED_SKILL_PATH>" [--max-iterations N]

Substitute `<RESOLVED_SKILL_PATH>` with the actual path. Add `--max-iterations N` only if specified.

Step 3: Follow the Skill Methodology

Apply the `skill-improver:skill-improver` skill to iteratively improve the target skill. The loop continues automatically via the stop hook until completion.

Read more
Ships withtrailofbits-skills

A Claude Code plugin marketplace from Trail of Bits providing skills to enhance AI-assisted security analysis, testing, and development workflows. Codex can load this marketplace through its Claude marketplace compatibility.

Get the whole plugin, auto-invoked
Stats
6,493
Stars
10
Views
560
Forks
Active
Maintenance
Python
Language
CC-BY-SA-4.0
License
14h ago
Last commit
6mo ago
Created

Repo: trailofbits/skills