claude-code-frontmatter

Provide YAML frontmatter references for Claude Code skills, agents, and commands.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ryugen04/dotfiles --skill claude-code-frontmatter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-code-frontmatter
Source: https://github.com/ryugen04/dotfiles/tree/main/packages/claude/.claude/skills/claude-code-frontmatter
Command: npx skills add https://github.com/ryugen04/dotfiles --skill claude-code-frontmatter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Frontmatter is essential for Claude Code to discover and configure Skills, Agents (subagents), and Slash Commands. This Skill provides a complete reference of all YAML frontmatter properties and usage patterns.

Core Features & Use Cases

  • Comprehensive property reference: Show all required and optional fields for Skills, Agents, and Commands.
  • Guidance on usage: Provide examples and validation rules to ensure consistent frontmatter across projects.
  • On-demand discovery: Help teams ship Claude Code capabilities with reliable metadata.

Quick Start

Create a new Skill by following the frontmatter skeleton, replacing name and description to fit your use case.

Frequently Asked Questions about claude-code-frontmatter

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

FAQPage Schema
What YAML frontmatter properties do I need to define a Claude Code skill?

YAML frontmatter for Claude Code skills requires name, description, and optional fields like allowed-tools, model, version, disable-model-invocation, and mode. This metadata enables Claude Code discovery and configuration of your skill across projects and plugins.

How do I structure frontmatter for Claude Code agents and subagents?

Agents use the same frontmatter schema as skills, with properties for name, description, and configuration fields. Frontmatter validates agent metadata and ensures cross-tool compatibility when deploying subagents within Claude Code workflows.

What's the difference between frontmatter for skills, agents, and slash commands?

All three use YAML frontmatter with shared core fields (name, description) and context-specific properties. Slash commands, skills, and agents differ in their allowed-tools and mode configurations, which frontmatter specifies to route behavior correctly in Claude Code.

Can I use frontmatter templates to validate my Claude Code skill metadata?

Yes. Frontmatter templates provide boilerplate structures and validation rules that ensure consistent, discoverable metadata across skills, agents, and commands. Templates enforce required fields and enable RAG system indexing for reliable skill discovery.

What frontmatter fields control permissions and visibility for Claude Code skills?

Frontmatter includes color, permission settings, and metadata fields that configure discoverability and access control. These properties determine how skills, agents, and commands appear and function across Claude Code projects and teams.