
Automates the tedious work of bringing skill frontmatter up to spec using an iterative improvement loop. It scores your skills against the agentskills.io specification, adds WHEN triggers, scaffolds missing tests, validates markdown references, and checks token budgets. The Ralph loop pattern keeps refining until you hit Medium-High compliance with passing tests, then prompts you to commit, skip, or create an issue. Works on single skills, batches, or your entire skill set. The GEPA mode is interesting if you want evolutionary optimization instead of template-based improvements, though it adds complexity. Most useful when you're maintaining a large skill library and want consistent, discoverable frontmatter without manually tracking sixty-word limits and trigger patterns.
$ npx -y skills add microsoft/github-copilot-for-azure --skill sensei --agent claude-codeInstalls into .claude/skills of the current project.
When user says "sensei help" or asks how to use sensei, show this:
╔══════════════════════════════════════════════════════════════════╗
║ SENSEI - Skill Frontmatter Compliance Improver ║
╠══════════════════════════════════════════════════════════════════╣
║ ║
║ USAGE: ║
║ Run sensei on <skill-name> # Single skill ║
║ Run sensei on <skill1>, <skill2>, ... # Multiple skills ║
║ Run sensei on all skills # All skills ║
║ ║
║ EXAMPLES: ║
║ Run sensei on appinsights-instrumentation ║
║ Run sensei on azure-ai, azure-compute ║
║ ║
║ WHAT IT DOES: ║
║ 1. READ - Load skill's SKILL.md and tests ║
║ 2. VERIFY - Compare skill frontmatter with convention ║
║ 3. SCAFFOLD - Create tests from frontmatter if missing ║
║ 4. IMPROVE - Add WHEN: triggers ║
║ 5. TEST - Run tests, fix if needed ║
║ 6. SUMMARY - Show before/after with suggestions ║
║ 7. PROMPT - Ask: Commit, Create Issue, or Skip? ║
║ 8. REPEAT - Until routing tests pass ║
╚══════════════════════════════════════════════════════════════════╝
For each skill, execute this loop until the frontmatter aligns with convention, have thorough routing tests AND routing tests pass:
plugins/{plugin}/skills/{skill-name}/SKILL.md, and vally eval suites in evals/{skill-name}/*.yaml.evals/{skill-name}/ doesn't exist, follow instructions in vally-eval skill to scaffold a set of routing tests. The routing tests test if the skill can be invoked for target user prompts. Generate user prompts that match the target scenario of the skill's description.vally-eval skill to run the routing tests. If there are failed tests, suggest fixes.plugins/{plugin}/skills/ - these are the Azure skills used by Copilot.github/skills/ should be left as isSponsors