Research from official docs (code.claude.com) and Context7, covering plugin manifest schema, agent definition frontmatter spec, scope priority, marketplace distribution, and plugin subagent restrictions. Foundation for writing an agent-author skill. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>