docs/SKILL-PLACEMENT-POLICY.md
This document defines where generated, imported, and curated skills belong, how they are identified, and what gets shipped.
| Type | Root Path | Shipped | Provenance |
|---|---|---|---|
| Curated | skills/ (repo) | Yes | Not required |
| Learned | ~/.claude/skills/learned/ | No | Required |
| Imported | ~/.claude/skills/imported/ | No | Required |
| Evolved | ~/.claude/homunculus/evolved/skills/ (global) or projects/<hash>/evolved/skills/ (per-project) | No | Inherits from instinct source |
Curated skills live in the repo under skills/. Install manifests reference only curated paths. Generated and imported skills live under the user home directory and are never shipped.
Location: skills/<skill-name>/ with SKILL.md at root.
manifests/install-modules.json paths.scripts/ci/validate-skills.js.origin in SKILL.md frontmatter (ECC, community) for attribution.Location: ~/.claude/skills/learned/<skill-name>/.
Created by continuous-learning (evaluate-session hook, /learn command). Default path is configurable via skills/continuous-learning/config.json → learned_skills_path.
.provenance.json sibling to SKILL.md.Location: ~/.claude/skills/imported/<skill-name>/.
User-installed skills from external sources (URL, file copy, etc.). No automated importer exists yet; placement is by convention.
.provenance.json sibling to SKILL.md.Location: ~/.claude/homunculus/evolved/skills/ (global) or ~/.claude/homunculus/projects/<hash>/evolved/skills/ (per-project).
Generated by instinct-cli evolve from clustered instincts. Separate system from learned/imported.
.provenance.json required.Required for learned and imported skills. File: .provenance.json in the skill directory.
Required fields:
| Field | Type | Description |
|---|---|---|
| source | string | Origin (URL, path, or identifier) |
| created_at | string | ISO 8601 timestamp |
| confidence | number | 0–1 |
| author | string | Who or what produced the skill |
Schema: schemas/provenance.schema.json. Validation: scripts/lib/skill-evolution/provenance.js → validateProvenance.
Scope: Curated skills only (skills/ in repo).
skills/ does not exist: exit 0 (nothing to validate).SKILL.md, non-empty.Scope: Curated paths only. All paths in modules must exist in the repo.
scripts/skills-health.js, scripts/lib/skill-evolution/health.js, session hooks: they probe ~/.claude/skills/learned and ~/.claude/skills/imported. Missing directories are treated as empty; no errors.
| Publishable | Local-Only |
|---|---|
skills/* (curated) | ~/.claude/skills/learned/* |
~/.claude/skills/imported/* | |
~/.claude/homunculus/**/evolved/** |
Only curated skills appear in install manifests and get copied during install.
.provenance.json.scripts/validate-provenance.js to CI for any repo paths that must not contain learned/imported content (if needed).