kty-metadata-align

Align DOMAIN Knowledge Type local metadata to canonical decomposition truth.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/sgttomas/chirality-piping --skill kty-metadata-align
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kty-metadata-align
Source: https://github.com/sgttomas/chirality-piping/tree/main/skills/kty-metadata-align
Command: npx skills add https://github.com/sgttomas/chirality-piping --skill kty-metadata-align

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Align DOMAIN Knowledge Type local metadata surfaces to the canonical decomposition truth, preventing drift between local metadata and the authoritative decomposition package.

Core Features & Use Cases

  • Aligns _CONTEXT.md, _STATUS.md, and _REFERENCES.md to decomposition truth and lifecycle evidence.
  • Reads optional memory context (_MEMORY.md or MEMORY.md) when paired with _STATUS.md for non-authoritative context.
  • Supports two modes: REPORT_ONLY and ALIGN_METADATA; writes are limited to explicitly authorized targets.
  • Enforces strict write boundaries; does not rewrite Scoping.md or KA-*.md.

Quick Start

Provide the KTY path and mode, then run the skill to inspect metadata drift and optionally apply safe repairs.

Frequently Asked Questions about kty-metadata-align

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

FAQPage Schema
How do I align local metadata files with canonical decomposition truth?

Metadata alignment identifies drift between local KTY metadata and the authoritative decomposition package, reading _CONTEXT.md, _STATUS.md, and _REFERENCES.md to safely repair inconsistencies based on canonical truth.

What is the difference between REPORT_ONLY and ALIGN_METADATA modes?

REPORT_ONLY mode inspects metadata drift without applying changes, while ALIGN_METADATA mode writes safe repairs to _CONTEXT.md, _STATUS.md, and _REFERENCES.md files based on decomposition truth.

Can I use memory context files for non-authoritative metadata alignment?

Yes, the skill reads optional memory context files like _MEMORY.md or MEMORY.md paired with _STATUS.md to supply non-authoritative context during the DOMAIN Knowledge Type metadata alignment process.

Does metadata alignment modify Scoping.md or KA-*.md files?

No, the alignment process enforces strict write boundaries and does not modify Scoping.md or KA-*.md files, restricting all writes to _CONTEXT.md, _STATUS.md, and _REFERENCES.md.

When do I need to run a KTY metadata alignment check?

You need to run a KTY metadata alignment check when local metadata surfaces risk drifting from the canonical decomposition package, ensuring _CONTEXT.md and _STATUS.md accurately reflect lifecycle evidence.