malformed-agh

Validate AGH skill metadata and detect YAML type mismatches.

182|8|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/compozy/agh --skill malformed-agh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: malformed-agh
Source: https://github.com/compozy/agh/tree/main/internal/skills/testdata/loader/malformed-agh
Command: npx skills add https://github.com/compozy/agh --skill malformed-agh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users and maintainers identify why an AGH skill cannot be loaded when its declared metadata is malformed, preventing silent failures and reducing time spent debugging loader issues.

Core Features & Use Cases

  • Metadata schema validation: Detects when expected metadata types (such as maps/objects) are provided in an incorrect shape.
  • Loader troubleshooting: Helps reproduce and pinpoint loader parsing errors for skill discovery and activation pipelines.
  • Use Case: When you add a new SKILL.md entry but the system fails to index it, use this skill’s test scenario to confirm the exact metadata parsing problem and correct the YAML structure.

Quick Start

Run an AI-assisted check that attempts to load the skill at internal/skills/testdata/loader/malformed-agh and reports the metadata type error it encounters.

Frequently Asked Questions about malformed-agh

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

FAQPage Schema
Why does my AGH skill fail to load when SKILL.md metadata is malformed?

Malformed SKILL.md metadata causes skill discovery failures because loader pipelines expect specific YAML schemas, and type mismatches like non-map values in object fields trigger parse errors that prevent proper indexing and activation.

How do I validate YAML metadata types in SKILL.md frontmatter?

You validate YAML metadata by running a check against the skill's testdata path to detect type mismatches in the frontmatter, producing a clear parse error that identifies the exact field causing the loader validation failure.

What causes silent skill discovery failures in AGH loader pipelines?

Silent skill discovery failures happen when SKILL.md frontmatter contains incorrect YAML structures like type mismatches in object fields, causing the loader pipeline to skip the skill during indexing without surfacing a clear parse error.

How do I troubleshoot a skill loader that cannot index my new SKILL.md entry?

Troubleshoot a skill loader by running an AI-assisted check against the malformed skill's testdata path to reproduce the parsing error, which pinpoints the exact metadata type mismatch preventing the loader from indexing the entry.

Does YAML schema validation detect non-map values in object fields?

Yes, YAML schema validation detects non-map values in object fields by parsing the SKILL.md frontmatter and producing a clear error when the encountered type does not match the expected map or object structure required by the loader.