commands-frontmatter-adapter
CommunityParse Claude frontmatter for Codex CLI.
Authorhairihou
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Extracts frontmatter and body from Claude-style command files so they can be used as prompts while exposing metadata as JSON.
Core Features & Use Cases
- Frontmatter extraction from the first YAML block.
- JSON-structured outputs that include file path, frontmatter, and body.
- Multiple modes via --body-only, --frontmatter-only, or --raw-frontmatter.
Quick Start
Run the adapter for the diary command: ./adapter.py --command diary --pretty to get a JSON payload, or --body-only to paste the command body into your prompt.
Dependency Matrix
Required Modules
pyyaml
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: commands-frontmatter-adapter Download link: https://github.com/hairihou/dotfiles/archive/main.zip#commands-frontmatter-adapter Please download this .zip file, extract it, and install it in the .claude/skills/ directory.