Skill Descriptor — infrastructure/skills
Module Overview
Machine-readable discovery for all SKILL.md descriptors used by Cursor and similar agents.
Capabilities
- Recursive scan:
**/SKILL.mdunder the default rootsinfrastructure/,scripts/,projects/templates/,fonds/templates/,rules/templates/,tools/templates/,docs/prompts/,.agents/skills/, and.agents/workflows/(configurable) - Agent Skills lanes: root and public-exemplar
.agents/skills/<name>/SKILL.mdfiles are included so Codex/Hermes descriptors also appear in.agents/skill_manifest.jsonand MCPlist_skills - Frontmatter parsing: YAML
nameanddescription(full dict available) - Manifest I/O: Write or verify
.agents/skill_manifest.json - Generated index: Write
docs/_generated/skills_index.mdfor human browsing - Workflow contracts: Validate
docs/prompts/**/SKILL.mdmetadata (version,last_updated,status,data_access_level,task_type,modes,related_skills) - Runtime parity: Audit or reversibly link the pinned
.agents/skillscollection into Codex, Claude Code, and Hermes withpython -m infrastructure.skills runtime-status|runtime-install
CLI
uv run python -m infrastructure.skills write
uv run python -m infrastructure.skills write-index
uv run python -m infrastructure.skills write --roots infrastructure docs/prompts .agents/workflows
uv run python -m infrastructure.skills check
uv run python -m infrastructure.skills check-contracts
uv run python -m infrastructure.skills list-json
uv run python -m infrastructure.skills runtime-status
See Also
discovery.py— API implementationcontracts.py— docs/prompts workflow metadata contractsinfrastructure/SKILL.md— human-oriented hub list