Improvements to the YAML frontmatter documentation merged from PR #6:
- Add explanation of $ARGUMENTS placeholder and how it works with skill invocation
- Add inline example showing /deep-research invocation with arguments
- Expand allowed-tools field with more wildcard examples (npm, docker compose)
- Add hooks field example showing pre-invoke configuration
- Update init_skill.py template with wildcard examples and $ARGUMENTS hint
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add documentation for all available YAML frontmatter fields, with special
emphasis on `context: fork` which is critical for skills that subagents
should be able to use via the Task tool.
Changes:
- Add YAML Frontmatter Reference section to SKILL.md with complete field table
- Document when to use `context: fork` for subagent-accessible skills
- Add invocation control comparison table
- Update init_skill.py template with commented optional frontmatter fields
This addresses a gap where skills created without `context: fork` could not
be used by subagents, limiting the skill's usefulness in multi-agent workflows.
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>