add_skill
Add a validated skill from GitHub, URL, or local directory. Fetches and stores skill bytes with optional profile sync.
Instructions
Add a known skill from a source. For GitHub, agentskills, and URL sources, pass source plus identifier; remote bytes are fetched and validated before storage. For local bundles, pass source: "local" and skill_dir; identifier can override local provenance like CLI add-local --source, otherwise the normalized bundle root is recorded. Configured profile links are synced by default unless sync_profiles: false is passed. Caller-authored SKILL.md bytes should use propose_skill, not add_skill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| identifier | No | ||
| version | No | ||
| skill_dir | No | ||
| sync_profiles | No | ||
| profile_roots | No | ||
| discover_profile_roots | No | ||
| verbose | No |