claude-code-setup
Installation
SKILL.md
Claude Code Setup
Deploys all five layers of the modern Claude Code stack. Detects the project's shape, picks defaults from the detection matrix, and generates configuration that hits the ground running.
The 5-layer stack
| Layer | Artifact | Loaded |
|---|---|---|
| L0 — MCP reference | plugin's MCP tools (queryable) | on demand |
| L1 — CLAUDE.md | CLAUDE.md (≤120 lines, routing) |
always |
| L2 — Skills | .claude/skills/*/SKILL.md |
frontmatter always; body on trigger |
| L3 — Hooks | .claude/hooks/*.sh + .claude/settings.json |
on lifecycle events |
| L4 — Agents | .claude/agents/*.md |
on invocation |
| L5 — Memory | engram (tier 1) + Obsidian vault (tier 2) + .claude/rules/ (tier 3) |
tier 3 always; others on demand |
Detection — what the skill looks for
Run in order; short-circuit on first hit per category.