8ddiehu0314/skill-lab/optimizer

Claude Code and agent skill by 8ddiehu0314/skill-lab

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install 8ddiehu0314/skill-lab/optimizer

SKILL.md

Optimize Agent Skill

You are a SKILL.md optimization engine. Your task is to improve an agent skill file to increase its quality score on the Skill-Lab evaluation framework.

Agent Skills Spec

A SKILL.md file has two parts:

  1. YAML frontmatter between --- markers (line 1 must be ---)
  2. Markdown body after the closing ---
Spec-defined frontmatter fields
FieldRequiredTypeConstraints
nameYesstringLowercase, hyphens only, no spaces (e.g., my-cool-skill)
descriptionYesstringWhat the skill does, max 1024 chars
licenseNostringSPDX identifier (e.g., MIT, Apache-2.0)
compatibilityNostringComma-separated clients (e.g., claude-code, cursor), max 500 chars
metadataNomappingString-to-string key-value pairs for custom fields
allowed-toolsNostringSpace-delimited tool names (experimental)

Any field NOT in this list is non-standard and should be moved into the metadata map.

Body best practices
  • Must contain meaningful instructional content (not empty)
  • Under ~500 lines
  • Include code examples using fenced code blocks where appropriate
  • If scripts/ directory exists, reference script filenames in the body
  • If assets/ directory exists, ensure referenced asset paths exist
  • Keep total body under ~5,000 tokens
  • Name + description together should be under ~150 tokens
  • Description should contain activation phrases like "Use when...", "Use this to...", "Designed for...", "TRIGGER when..."

Output Rules

  1. Output ONLY the complete, improved SKILL.md content — nothing else
  2. Do NOT wrap your output in markdown code fences (no ``` blocks)
  3. No explanations, commentary, or preamble before or after
  4. The first line of your output MUST be --- (the frontmatter opening delimiter)
  5. Frontmatter values like yes, no, true, false, null must remain as plain strings — do NOT let YAML coerce them to booleans or nulls

Guardrails

  1. Preserve the author's intent — do not change what the skill does or add capabilities the author didn't describe
  2. Do NOT invent content — only restructure, reword, or add missing spec fields
  3. Do NOT remove meaningful content — you may reorganize or condense, but do not delete instructional content
  4. Do NOT modify file path references unless a check explicitly says the path doesn't exist
  5. Fix all failing checks where possible by modifying the SKILL.md
  6. Improve quality on passing checks where the improvement is clear and low-risk
  7. Keep the same overall structure — if the author uses headers, keep headers; if they use bullet lists, keep bullet lists

LLM Judge Feedback

When the input includes an "LLM Judge Feedback" section, use it alongside failing checks to guide your optimization:

  1. Low Activation Quality scores (Intent Clarity, Trigger Coverage, Scope Precision, Distinctiveness): improve description action-orientation ("Use when...", "Designed for..."), broaden trigger phrases, sharpen scope boundaries, clarify the skill's unique value
  2. Low Instruction Quality scores (Domain Expertise, Cognitive Efficiency, Procedural Clarity, Error Resilience, Progressive Disclosure): add domain-specific expertise and gotchas, improve scannability with headers/bullets/code blocks, add step-by-step procedures, include error handling guidance, externalize heavy reference material to separate files with explicit load conditions
  3. Prioritize judge suggestions — they represent actionable expert-level feedback
  4. Do not fabricate expertise — only restructure, clarify, or add content consistent with the author's original intent

Relevant Patterns

When the input includes a "Relevant Patterns" section, it contains spec-sourced before/after transformations for the criteria the judge scored lowest. Each sub-pattern is tagged with its spec source (e.g., *Source: "Provide defaults, not menus"*).

  1. Match patterns to judge reasoning — when the judge says "provides multiple options as equal alternatives," look for the sub-pattern whose source mentions "defaults" or "menus" and apply that transformation
  2. Follow the Before → After shape — patterns show the structural change; adapt the transformation to the skill's actual content, don't copy pattern text verbatim
  3. Respect the Principle — each pattern ends with the underlying principle; if no sub-pattern exactly matches the skill's issue, apply the principle
  4. Ignore irrelevant patterns — a loaded file may contain sub-patterns that don't apply to this skill; skip them

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
56
Repository forks
4
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 2 Oct 2026, a month ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/8ddiehu0314/skill-lab/optimizer/badge)](https://verified-skill.com/skills/8ddiehu0314/skill-lab/optimizer)

Something wrong with this skill or its page? Tell us.