Skip to content
Back to skills

Optimize Skill

ASecurity

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

  • 539 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
ai-agentsgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add ghbalf/freecad-ai --skill optimize-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Optimize Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Optimize Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ghbalf-optimize-skill/badge)](https://www.skillsdirectory.com/skills/ghbalf-optimize-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: optimize-skill
description: Automatically optimize a skill's SKILL.md by running test cases, scoring results, and iteratively improving instructions
---

# 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

Files in this skill

  • SKILL.md863 B
  • handler.py3.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.