Agent Skill Description Optimizer banner
netopsengineer netopsengineer

Agent Skill Description Optimizer

Development community

Description

Optimizes the description frontmatter of a Claude Code / Agent Skill - the text that decides whether Claude invokes the skill. Both halves of the loop (evaluation and improvement) run entirely through the `claude -p` CLI, so no `ANTHROPIC_API_KEY` is required.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Skill Description Optimizer (no API key)

[![Built for Claude Code](https://img.shields.io/badge/Built_for-Claude_Code-D97757?style=for-the-badge&logo=claude&logoColor=white&labelColor=1a1a1a)](https://docs.claude.com/en/docs/claude-code) [![Release](https://img.shields.io/github/actions/workflow/status/netopsengineer/agent-skill-description-optimizer/release.yml?branch=main&style=for-the-badge&logo=semanticrelease&logoColor=white&label=Release&labelColor=1a1a1a)](https://github.com/netopsengineer/agent-skill-description-optimizer/actions/workflows/release.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-3fb950?style=for-the-badge&labelColor=1a1a1a)](https://opensource.org/licenses/MIT)

Optimizes the `description:` frontmatter of a Claude Code / Agent **skill** - the text that decides whether Claude invokes the skill. Both halves of the loop (evaluation **and** improvement) run entirely through the `claude -p` CLI, so **no `ANTHROPIC_API_KEY` is required** - it reuses the auth the CLI already has.

Why this exists

Skill-creator's own `run_eval.py` already evaluates triggering with `claude -p` (no key). The *only* part of its optimization loop that needs an API key is the **improver** (`improve_description.py` / `run_loop.py`), which calls the `anthropic` Python SDK. This project replaces that piece: **both** the evaluation and the improvement go through `claude -p`.

Relationship to skill-creator

This is a re-implementation of skill-creator's optimization loop, intended to be usable in its place without an API key. Where it matches and where it deliberately differs:

Behavior This tool skill-creator
Trigger detection (stream tool-call intent) Equivalent logic (see note) run_eval.py