install-skilllisted
Install: claude install-skill produtoramaxvision/maxvision
# Install skill
Argument: $ARGUMENTS — component id (matching an entry in `skill-sources.json`) and optional `--method=<sparse_clone|marketplace|npx_filtered|synthesis>` override.
> **Hard rule:** this skill writes to disk. It must always confirm with the user before executing any install. Never auto-run.
## Workflow
### 1. Look up the source
Read `${CLAUDE_SKILL_DIR}/../discover-skill/references/skill-sources.json` and find the entry for `$ARGUMENTS` (by `id` or `highlight_skills[*]`).
If not found, abort: `"Component not in catalog. Use 'discover-skill <keyword>' to find candidates, or pass a fully-qualified URL with --custom-source."`
### 2. Choose install method
Pick from the entry's `install_methods[*]` array:
- If user passed `--method=<X>`, validate that the source supports it.
- Otherwise, use the entry where `primary: true`.
If a tier_4 source is selected, **always show the warning text** and require explicit `sim` (not `all`) for that line.
### 3. Show install plan
```
About to install: <component>
Source: <repo URL>
Tier: <tier_1|tier_2|tier_3|tier_4>
License: <license>
Method: <sparse_clone|marketplace|npx_filtered|synthesis>
Target: <destination path>
Disk: ~<estimated size> (sparse-clone reduces this)
[Tier 4 only]
WARNING: <warning text from catalog>
Proceed? [sim/skip]
```
Wait for user response. If `skip`, exit and log.
### 4. Execute the install
#### Method A — sparse_clone
```bash
set -euo pipefail
TARGET=~/.claude/sk