improve-skill

$npx mdskill add openai/plugins/improve-skill

Refine an existing skill by generating a concrete rewrite brief based on prior evaluation findings.

  • Addresses the need to systematically improve a skill after initial automated testing.
  • Integrates with `plugin-eval` for analysis and comparison of skill versions.
  • Determines necessary code changes by analyzing structured evaluation output.
  • Outputs a detailed brief and facilitates iterative refinement through command execution.

SKILL.md

.github/skills/improve-skillView on GitHub ↗
---
name: improve-skill
description: Turn plugin-eval findings into a concrete rewrite brief for a Codex skill. Use when the user already evaluated a skill and now wants Codex to improve it, especially after asking what to fix first.
---

# Improve Skill

Use this skill after `plugin-eval` has already produced findings for a local skill.

## Workflow

1. Run `plugin-eval analyze <skill-path> --brief-out <brief.json>`.
2. Read the improvement brief and group work into required fixes versus recommended fixes.
3. Apply the `skill-creator` guidance from `/Users/benlesh/.codex/skills/skill-creator/SKILL.md`.
4. Re-run the evaluation and compare before and after outputs.

## Chat Requests To Recognize

- `Improve this skill based on the evaluation.`
- `Rewrite this skill using the plugin-eval findings.`
- `What should I fix first in this skill?`

## Focus Areas

- reduce trigger and invoke token costs
- keep `SKILL.md` compact
- move bulky details into references or scripts
- improve trigger descriptions
- fix broken links and manifest/frontmatter issues

## Commands

```bash
plugin-eval analyze <skill-path> --brief-out ./skill-brief.json
plugin-eval compare before.json after.json
```

## Reference

- `../../references/chat-first-workflows.md`

More from openai/plugins