Skip to content

Excessive YAML Frontmatter in unity-skill-create Inflates Context to 1.5k Tokens #650

@wojciechgolowkow-sp

Description

@wojciechgolowkow-sp

Issue Description:

The YAML frontmatter description field currently contains the full C# sample code and five “Suggestions” sections with additional code snippets. This block (lines 3–133) is loaded as the skill’s description string, which unnecessarily increases context usage, taking 1.5k tokens regardless of the skill being used.

Suggested Fix:

  • Trim the description to a brief summary.
  • Move the sample code and suggestions into the body of the SKILL.md or a separate context file referenced in the skill body.
  • The body is only loaded when the skill is invoked, reducing unnecessary context usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions