skill-category-guard

Enforce skill categorization and index synchronization across SKILL.md, agents/openai.yaml, and INDEX.md.

1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/muddyrain/valley-mas --skill skill-category-guard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-category-guard
Source: https://github.com/muddyrain/valley-mas/tree/main/.codex/skills/skill-category-guard
Command: npx skills add https://github.com/muddyrain/valley-mas --skill skill-category-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Valley MAS teams often create or modify skills without consistent categorization or synchronized indexes, leading to search inefficiencies and boundary drift.

Core Features & Use Cases

  • Enforces a mandatory primary category for each skill and maps it to an approved slug.
  • Validates alignment across SKILL.md, agents/openai.yaml, and INDEX.md; provides remediation steps for drift.
  • Guides creation or migration workflows to prevent cross-domain category conflicts.

Quick Start

Add a category line to the SKILL.md, then run the governance checks to synchronize the index and prompts.

Frequently Asked Questions about skill-category-guard

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

FAQPage Schema
How do I keep SKILL.md categorization synchronized with agents/openai.yaml and INDEX.md?

To keep categorization synchronized, enforce a mandatory primary category in SKILL.md, verify it maps to an approved slug in agents/openai.yaml, and run governance checks to update INDEX.md. This prevents search inefficiencies and boundary drift.

How do I fix miscategorized skills and prevent cross-domain category conflicts?

Fix miscategorized skills by validating alignment across SKILL.md, agents/openai.yaml, and INDEX.md. Apply remediation steps for drift during creation or boundary migrations to prevent cross-domain category conflicts.

What is skill index synchronization and when do I need it in Valley MAS?

Skill index synchronization is the governance process of aligning skill metadata across SKILL.md, agents/openai.yaml, and INDEX.md. You need it when creating new skills, migrating boundaries, or fixing miscategorized skills to maintain consistent searchability.

Does skill-category-guard work for migrating skill boundaries and fixing drift?

Yes, it applies to new skill creation, boundary migrations, and fixes for miscategorized skills. It enforces mandatory categories and provides remediation steps to resolve any alignment drift across your configuration files.

What's the best way to enforce consistent skill categorization across multiple files?

The best way to enforce consistent skill categorization is to mandate a primary category in SKILL.md, map it to an approved slug, and run automated governance checks that synchronize the index and prompts across agents/openai.yaml and INDEX.md.

Why does my skill index drift out of sync after updates?

Your skill index drifts because Valley MAS teams often modify skills without enforcing consistent categorization. Without mandatory governance checks mapping categories across SKILL.md, agents/openai.yaml, and INDEX.md, search inefficiencies and boundary drift occur.