Skip to content
Agentmart
Submit a tool

optimize-skill

Automatically optimize a skill's SKILL.md by running test cases, scoring results, and iteratively improving instructions

Skill by ghbalf

IndexedLGPL-2.1★ 587
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ghbalf-optimize-skill

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Automatically optimize a skill's SKILL.md by running test cases, scoring results, and iteratively improving instructions

Use cases: testing, prompt-engineering

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/optimize-skill

What's inside

Skill name
optimize-skill
Description
Automatically optimize a skill's SKILL.md by running test cases, scoring results, and iteratively improving instructions
License
LGPL-2.1
Instructions
21 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • handler.py

SKILL.md (first lines)

# Skill Optimizer

Optimizes a FreeCAD AI skill by iteratively running it against test cases,
evaluating the results, and using the LLM to improve the SKILL.md instructions.

Inspired by [autoresearch](https://github.com/karpathy/autoresearch).

## Usage

Type `/optimize-skill` to open the configuration dialog, or
`/optimize-skill skill-name` to pre-select a skill.

## How It Works

1. Select a skill and define test cases
2. The optimizer runs each test case, collects metrics (errors, completions, measurements)
3. The LLM analyzes failures and modifies the SKILL.md
4. Repeat until the score converges or iterations are exhausted
5. The best version is saved; the original is always backed up

From ghbalf/freecad-ai, LGPL-2.1.

Signals

Stars
587
Forks
95
Open issues
0
Last commit (this folder)
Mar 14, 2026 (7 months ago)
Last release
Oct 10, 2026 (18 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
LGPL-2.1
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ghbalf

Cite this page

optimize-skill. Agent Mart. https://agentmart.dev/skills/ghbalf-optimize-skill (last updated 2026-10-24)