setup-shadowclonelisted
Install: claude install-skill theonly1me/shadowclone
# Set Up shadowclone
Do the whole setup for the user. The user only answers questions in chat and picks skills in the browser. Finish in less than 5 minutes.
Do the steps in order. Run long commands in the background, and do the next step while they run. Do not explain a step that works.
## 1. Check the CLI (10 seconds)
1. If this skill is on disk, run `node <this-skill-directory>/scripts/check-cli.mjs`. It runs only `shadowclone --version` and prints a status.
2. If this skill is not on disk, run `shadowclone --version`. Version 0.0.13 or newer is `ready`. A missing command is `unavailable`.
3. If the status is `ready`, run `shadowclone init --status --json`. If it prints `{"initialized":true}`, setup exists. Keep its consent choices, and go to step 4.
4. If the status is `unavailable` or `outdated`, tell the user that you will install the shadowclone CLI. Start `npm install -g @shadowclone/cli@latest` in the background. Never use `sudo`.
5. If npm cannot write to its global folder, show the exact error. Help the user choose a user-owned npm prefix, and run the install again.
## 2. Ask three questions (30 seconds)
Ask these questions in one message while the install runs. Use your question tool if you have one. Record an explicit yes or no for each answer.
1. **Learn from past sessions?** shadowclone reads the coding-agent sessions on this machine, redacts them, and learns your rules with your own agent CLI. The first pass takes up to 2 minutes.
2. **Keep skills in sy