optimize-description

Rewrite SKILL.md frontmatter descriptions with clear triggers and input/output contracts.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill optimize-description
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: optimize-description
Source: https://github.com/m2ai-portfolio/m2ai-skills-pack/tree/main/skills/optimize-description
Command: npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill optimize-description

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rewrite a skill's description field to maximize agent discoverability by ensuring triggers are clear and input/output contracts are explicit.

Core Features & Use Cases

  • Analyze existing SKILL.md to extract current description, triggers, and I/O requirements.
  • Score the current description on criteria like Trigger Clarity, Disambiguation, Input/Output, Scope Boundaries, and Readability.
  • Generate a concise, action-led frontmatter description that includes example triggers and disambiguation.

Quick Start

Provide the target skill's SKILL.md or its content and let Optimize-Description rewrite the description to be more discoverable.

Frequently Asked Questions about optimize-description

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make my SKILL.md file more discoverable for agents?▼

To improve SKILL.md discoverability, rewrite the frontmatter description to include action-led triggers, explicit input/output contracts, and scope boundaries. This ensures agents can accurately identify and invoke the skill based on user intent.

What makes a good skill description for agent trigger clarity?▼

A good skill description for trigger clarity uses an action-led format, states specific inputs and outputs, and includes disambiguation when similar skills exist. It scores well on trigger clarity, scope boundaries, and readability criteria.

How do I optimize YAML frontmatter to improve skill trigger accuracy?▼

Optimize YAML frontmatter by analyzing the existing description's trigger clarity and input/output contracts, then rewriting it into a concise, action-led format. Include example triggers and disambiguation to maximize agent discoverability and invocation accuracy.

Can I analyze an existing SKILL.md to extract and score its current triggers?▼

Yes, you can analyze an existing SKILL.md to extract the current description, triggers, and I/O requirements. The tool scores the description on trigger clarity, disambiguation, input/output, scope boundaries, and readability before generating an optimized version.

Does this process work with missing or vague triggers in documentation?▼

Yes, this process specifically targets SKILL.md files with vague or missing triggers. It analyzes existing documentation to produce a precise, reusable frontmatter description that defines explicit triggers and input/output contracts for better agent matching.

When should I rewrite a skill description to include disambiguation?▼

Rewrite a skill description to include disambiguation when similar skills exist in the same category. This prevents agent misfires by explicitly stating scope boundaries and differentiating the input/output contracts from overlapping tools.