@przeprogramowani/10x-cli 1.20.0 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@przeprogramowani/10x-cli",
3
- "version": "1.20.0",
3
+ "version": "1.22.0",
4
4
  "description": "Open-source CLI for 10xDevs course content",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,7 +27,8 @@
27
27
  "generate-types": "bun run scripts/generate-types.ts",
28
28
  "typecheck": "tsc --noEmit",
29
29
  "test": "bun test",
30
- "lint": "bun run --bun node_modules/oxlint/bin/oxlint ."
30
+ "lint": "bun run --bun node_modules/oxlint/bin/oxlint .",
31
+ "validate:cli-skills": "node scripts/validate-cli-skills.mjs"
31
32
  },
32
33
  "dependencies": {
33
34
  "@clack/prompts": "0.9.1",
@@ -1,237 +1,262 @@
1
1
  ---
2
2
  name: 10x-cli-guide
3
- description: "Invoke this skill when the user asks how to USE the 10x-cli day-to-day — fetching lessons, listing modules, switching AI tools, troubleshooting errors, understanding where artifacts land, checking the 10xBench model leaderboard, or working on a specific OS (Windows, Linux, macOS). Covers commands (get, list, doctor, auth --status/--logout, bench), tool profiles, artifact locations, common errors, and platform-specific tips. Excludes: first-time installation and onboarding (use 10x-cli-setup instead), developing or contributing to 10x-cli source code, and general programming help."
3
+ description: "Use when the user wants to download, use or update 10xDevs CLI skills, choose a helper installation channel, inspect course content, switch tool profiles or troubleshoot CLI/auth/content conflicts. Guides filtered get → an actual agent task → sync while preserving local work and course/tool/language context. For first installation or authentication preparation, use an available 10x-cli-setup copy. Does not implement CLI runtime or grant course access."
4
4
  ---
5
5
 
6
- # 10x-cli Daily Usage Guide
6
+ # 10x-cli: download, use, update
7
7
 
8
- This skill helps users work with `@przeprogramowani/10x-cli` after it is already installed and authenticated. If the user has not installed or authenticated yet, hand off to the **10x-cli-setup** skill instead.
8
+ Read the bundled [compatibility and channel reference](references/compatibility.md)
9
+ before issuing commands. It contains the pinned runner setup, version checks, both
10
+ helper channels and ownership safeguards. Commands use the released lesson-scoped
11
+ skill filter; verify the actual selected package and content before using it. A local
12
+ build or source membership is not proof that a feature has shipped.
9
13
 
10
- ## Step 1: Detect the user's environment
14
+ The next CLI release also provides project-only bundled installation through
15
+ `10x helpers install --tool <chosen-profile>`. This command is **unreleased** and
16
+ absent from the 1.21.0/1.22.0 master baselines: check the actual runner's
17
+ `helpers --help` first. Follow **Bundled public copies** in the local reference
18
+ for complete files, explicit targets and conflict handling; keep the existing
19
+ pinned public route when the runner does not support it.
11
20
 
12
- Before giving any guidance, gather context silently — run these checks and remember the results. Do not print raw output to the user.
21
+ ## Environment
13
22
 
14
- ### Operating system
23
+ Reuse the setup handoff: project root, course, tool, language, runner/version,
24
+ auth/access status, update method and helper channel/path. If anything is absent,
25
+ inspect only that item. A working installed CLI needs no reinstall. If setup is
26
+ needed, locate its actual SKILL.md and references or install that helper through
27
+ the public channel; do not invoke a missing sibling by name.
15
28
 
16
- ```bash
17
- echo "$OSTYPE" 2>/dev/null || echo "win32"
18
- ```
19
-
20
- Use the result to tailor path separators, shell syntax, and clipboard commands throughout your answers:
29
+ The guided acceptance context is macOS/zsh, Claude Code, 10xdevs4 and Polish.
30
+ Determine the actual OS and shell from the environment, not a POSIX command that
31
+ labels every failure Windows. Select the intended project root before any write.
32
+ For v4, retain an existing v3 project and use a separate directory; ordinary get,
33
+ sync and profile changes do not migrate editions. Preserve `.10x-cli.json` and
34
+ all manifests if their versions/courses conflict.
21
35
 
22
- | OS | Shell | Home var | Clipboard | Temp dir |
23
- |----|-------|----------|-----------|----------|
24
- | macOS (`darwin*`) | zsh / bash | `$HOME` | `pbcopy` | `$TMPDIR` |
25
- | Linux (`linux-gnu*`) | bash / zsh | `$HOME` | `xclip -selection clipboard` or `xsel --clipboard` | `/tmp` |
26
- | Windows (`win32` / MSYS / Git Bash) | PowerShell / cmd | `%USERPROFILE%` | `clip.exe` | `%TEMP%` |
27
-
28
- ### Active AI tool
36
+ Use the verified `10x_cli` runner defined in the reference, or the user's exact
37
+ verified global/standalone executable:
29
38
 
30
39
  ```bash
31
- 10x doctor --json 2>/dev/null | head -1
40
+ 10x_cli --version
41
+ 10x_cli get --help
42
+ 10x_cli sync --help
43
+ 10x_cli auth --status
44
+ 10x_cli list --course 10xdevs4
32
45
  ```
33
46
 
34
- Also check which tool profile is configured:
47
+ Check source/release evidence for lesson reference, skill filter and lesson-scoped sync, then use the
48
+ filtered preview below to check the endpoint. Do not treat a successful help exit as
49
+ capability proof. Keep unsupported CLI syntax, unpublished/missing content, locked
50
+ module, membership denial and network failure distinct. Missing final release
51
+ evidence need not block preparing the public helpers or the exercise files.
35
52
 
36
- ```bash
37
- cat ~/.config/10x-cli/config.json 2>/dev/null || cat "$APPDATA/10x-cli/config.json" 2>/dev/null || echo "{}"
38
- ```
53
+ Read only needed nonsecret preferences from `config.json`. On macOS/Linux its
54
+ base is nonempty `$XDG_CONFIG_HOME`, otherwise `~/.config`; on Windows it is
55
+ `%APPDATA%`, otherwise the user's `AppData/Roaming`. Append `10x-cli/config.json`.
56
+ Do not print `auth.json`, discard stderr, truncate doctor JSON or erase config to
57
+ repair an unknown problem. An explicit course/tool/language in this journey takes
58
+ precedence over saved defaults for that command.
39
59
 
40
- If the config contains a `"tool"` key, that is the active profile. If not, the default is `claude-code`.
60
+ ## Session management
41
61
 
42
- ### CLI version
62
+ When login is needed, let the user choose the delivery channel and complete it:
43
63
 
44
64
  ```bash
45
- 10x --version
65
+ 10x_cli auth # Interactive: choose email or Circle
66
+ 10x_cli auth --method email # Email magic link; default for piped/JSON output
67
+ 10x_cli auth --method circle # One-time approval link delivered in Circle
68
+ 10x_cli auth --status
69
+ 10x_cli auth --logout
46
70
  ```
47
71
 
48
- ## Step 2: Answer the user's question using the reference below
49
-
50
- Use the environment context from Step 1 to personalize every answer. Always use the OS-appropriate shell syntax, paths, and commands. Never show macOS-specific commands to a Windows user or vice versa.
51
-
52
- ---
53
-
54
- ## Command Reference
72
+ Circle is useful when the email does not arrive. The approval link expires after
73
+ 15 minutes; the CLI does not resend it automatically. In non-interactive mode,
74
+ provide the user's email with `--email` and choose `--method circle` explicitly.
75
+ Do not send a login message until the user requests authentication. Sessions
76
+ refresh transparently; re-login is needed only when refresh cannot recover them.
55
77
 
56
- ### `10x get <ref>` — Fetch and apply lesson artifacts
78
+ ## Download
57
79
 
58
- The primary daily command. Fetches a lesson bundle from the API and writes skills, prompts, rules, and config templates to the project directory.
80
+ The launch exercise follows lesson 1, “Od pomysłu do PRD”, using its existing
81
+ 10xCards example. `10x-plan` is not part of this launch demonstration.
82
+ After checking each name's capability and availability, download three separate
83
+ complete selected skill trees. Inspect each dry-run before its corresponding write:
59
84
 
60
85
  ```bash
61
- 10x get m1l1 # Fetch module 1, lesson 1
62
- 10x get m2l3 # Fetch module 2, lesson 3
63
- 10x get m1l1 --dry-run # Preview what would be written
64
- 10x get m1l1 --tool cursor # Use a different AI tool profile
65
- 10x get m1l1 --lang pl # Fetch Polish content
86
+ 10x_cli get m1l1 --type skills --name 10x-init --course 10xdevs4 --tool claude-code --lang pl --dry-run
87
+ 10x_cli get m1l1 --type skills --name 10x-init --course 10xdevs4 --tool claude-code --lang pl
88
+ 10x_cli get m1l1 --type skills --name 10x-shape --course 10xdevs4 --tool claude-code --lang pl --dry-run
89
+ 10x_cli get m1l1 --type skills --name 10x-shape --course 10xdevs4 --tool claude-code --lang pl
90
+ 10x_cli get m1l1 --type skills --name 10x-prd --course 10xdevs4 --tool claude-code --lang pl --dry-run
91
+ 10x_cli get m1l1 --type skills --name 10x-prd --course 10xdevs4 --tool claude-code --lang pl
66
92
  ```
67
93
 
68
- **Filtering artifacts:**
94
+ Inspect each report and the complete supporting tree, not just SKILL.md. In the
95
+ chosen macOS/zsh exercise directory, each of these checks must succeed before use
96
+ (stop on any failure; do not infer success from the last check alone):
69
97
 
70
98
  ```bash
71
- 10x get m1l1 --type skills # Only skills
72
- 10x get m1l1 --type skills --name code-review # One specific skill
73
- 10x get m1l1 --print --type skills --name code-review # Print to stdout
99
+ test -s .claude/skills/10x-init/SKILL.md
100
+ test -s .claude/skills/10x-shape/SKILL.md
101
+ test -s .claude/skills/10x-shape/references/prd-schema.md
102
+ test -s .claude/skills/10x-prd/SKILL.md
103
+ test -s .claude/skills/10x-prd/../10x-shape/references/prd-schema.md
74
104
  ```
75
105
 
76
- **Where artifacts land** (depends on the active tool profile):
77
-
78
- | Tool | Skills | Prompts | Rules file | Config templates |
79
- |------|--------|---------|------------|------------------|
80
- | Claude Code | `.claude/skills/<name>/SKILL.md` | `.claude/prompts/<name>.md` | `CLAUDE.md` | `.claude/config-templates/<name>` |
81
- | Cursor | `.cursor/skills/<name>/SKILL.md` | `.cursor/prompts/<name>.md` | `.cursor/rules/10x-course.mdc` | `.cursor/config-templates/<name>` |
82
- | GitHub Copilot | `.github/skills/<name>/SKILL.md` | `.github/prompts/<name>.md` | `.github/copilot-instructions.md` | `.github/config-templates/<name>` |
83
- | Codex CLI | `.agents/skills/<name>/SKILL.md` | `.agents/prompts/<name>.md` | `AGENTS.md` | `.agents/config-templates/<name>` |
84
- | Devin Desktop | `.devin/skills/<name>/SKILL.md` | `.devin/prompts/<name>.md` | `AGENTS.md` | `.devin/config-templates/<name>` |
85
- | Generic | `.ai/skills/<name>/SKILL.md` | `.ai/prompts/<name>.md` | `AGENTS.md` | `.ai/config-templates/<name>` |
86
-
87
- **Re-applying a lesson** overwrites skills and prompts if content changed, updates the rules sentinel block, but never overwrites config templates (they may contain user edits).
88
-
89
- **Switching lessons** cleans up artifacts from the previous lesson that are not in the new one, keeps shared artifacts, and adds new ones.
90
-
91
- ### `10x list [module]` — Browse available content
92
-
93
- ```bash
94
- 10x list # Show all modules with lock state
95
- 10x list m1 # Show lessons in module 1
96
- ```
97
-
98
- Locked modules show their unlock date. Use this to see what is available before fetching.
99
-
100
- ### `10x doctor` — Diagnose problems
101
-
102
- Runs 5 checks: Auth status, API connectivity, Config directory, CLI version, and tool directory presence.
106
+ The PRD entrypoint resolves `../10x-shape/references/prd-schema.md` relative to its
107
+ own directory. A standalone PRD tree is insufficient. Read all installed
108
+ entrypoints and every reference they require; the paths above are the known
109
+ source minimum, not permission to discard extra files from a published bundle.
110
+ Also inspect `.claude/.10x-cli-manifest.json`: `lessons.m1l1.skills` must include
111
+ all three names, with file hashes in `files.skills`. These are lesson-owned
112
+ partial downloads, not independent owners. Inspect `.10x-cli.json` for the course
113
+ binding; partial downloads do not establish a complete lesson release identity.
114
+
115
+ CLI 1.21.0 is published with v4 and filtered skill downloads; production m1l1 EN/PL
116
+ contains init/shape/prd and their references. These revised helpers are a separate
117
+ source change, not proof that their course copies have been published.
118
+ Verify all three names against the actual selected release. If any name, schema,
119
+ owner or release is missing/mismatched, preserve the precise error and stop the
120
+ exercise; never silently substitute a whole lesson, another course or filtered get.
121
+
122
+ `CLAUDE-m1l1` is a separate lesson rule, not delivered by these filtered skill gets.
123
+ The inspected init/shape/prd sources do not require that rule to run this chain.
124
+ This does not establish that every step of the full lesson works without it.
125
+ Use the learner's existing lesson 1 inputs and instructions: if they require the
126
+ rule, inspect the existing project rule and its provenance. If absent, report the
127
+ missing prerequisite and obtain the supported route from the lesson/release owner
128
+ before that step. Do not invent a rule command or download a full lesson to bypass
129
+ it. Do not overwrite an existing project rule.
130
+
131
+ For browsing use `10x_cli list m1 --course 10xdevs4`. The commands above filter
132
+ one lesson by skill name; `get 10x-init` is not supported. `--print` is inspection:
133
+ TTY Markdown can contain only SKILL.md; non-TTY output is a JSON envelope. Never
134
+ redirect print output into SKILL.md as a package installation.
135
+
136
+ ## Use: 10xCards, from idea to PRD
137
+
138
+ Downloading the trees is only preparation. Use the existing 10xCards example and
139
+ the learner's actual answers from lesson 1. If those inputs are absent, ask for
140
+ them; do not invent product requirements, a replacement task.md or a ready-made
141
+ plan. Keep private lesson text out of public fixtures and transcripts.
142
+ Do not assume native slash/$ discovery or automatic activation from npm install.
143
+ Give the agent explicit local paths and work through these steps separately:
144
+
145
+ 1. Read `.claude/skills/10x-init/SKILL.md` and follow it in the chosen project.
146
+ Inspect the create-if-absent context/changes, context/archive and
147
+ context/foundation directories and their READMEs. Preserve existing files.
148
+ 2. Read `.claude/skills/10x-shape/SKILL.md` and
149
+ `.claude/skills/10x-shape/references/prd-schema.md`. Follow the skill's discovery
150
+ with the learner's 10xCards inputs. Let the learner answer and approve the
151
+ checkpoint; do not answer for them. Inspect
152
+ `context/foundation/shape-notes.md` against those answers before proceeding.
153
+ 3. Read `.claude/skills/10x-prd/SKILL.md` and its sibling schema, then generate the
154
+ draft from the actual `context/foundation/shape-notes.md`. Inspect
155
+ `context/foundation/prd.md` against that input and the installed schema;
156
+ unresolved domain choices stay open. Respect the skill's existing-file
157
+ collision choice (a versioned file may be the appropriate result).
158
+
159
+ Success requires the learner's notes and a schema-conformant PRD, with gaps
160
+ explicit and original project work preserved. A transcript of downloads alone
161
+ is insufficient. Stop after reviewing the PRD; do not chain into stack selection,
162
+ bootstrap or implementation. If a different global/local skill copy was read,
163
+ correct the path before accepting the result. Record the actual agent, profile,
164
+ language, output paths and checks; use a fresh isolated exercise directory for the
165
+ two canonical output filenames instead of forcing an overwrite.
166
+
167
+ ## Update
168
+
169
+ Use the same runner, directory, course, tool and language. Sync updates entire
170
+ downloaded lessons, including m1l1 after these filtered gets. Its preview may
171
+ include other skills, prompts, configs and course rules. Inspect that expanded
172
+ scope and apply only when the user accepts it; to update only one skill, repeat
173
+ its filtered preview/get instead. Do not use sync as a hidden rule prerequisite
174
+ workaround:
103
175
 
104
176
  ```bash
105
- 10x doctor # Human-readable output
106
- 10x doctor --json # Machine-readable for scripting
177
+ 10x_cli sync --course 10xdevs4 --tool claude-code --lang pl --dry-run
178
+ 10x_cli sync --course 10xdevs4 --tool claude-code --lang pl
107
179
  ```
108
180
 
109
- Exit code 78 means at least one check failed.
110
-
111
- ### `10x auth` — Session management
112
-
113
- ```bash
114
- 10x auth # Start magic-link login
115
- 10x auth --status # Check current session
116
- 10x auth --logout # Clear credentials
117
- ```
118
-
119
- Sessions refresh transparently — if a token is near expiry, the next command refreshes it automatically. You only need to re-auth manually if the session has fully expired.
120
-
121
- ### `10x bench` — 10xBench model leaderboard
122
-
123
- ```bash
124
- 10x bench # Top 10 AI models with color-coded score bars
125
- 10x bench --limit 5 # Just the top 5
126
- 10x bench --json # Machine-readable envelope (also when piped)
127
- ```
128
-
129
- Shows the live leaderboard from [10xbench.ai](https://10xbench.ai) — AI models
130
- benchmarked on vibe-coding the Przeprogramowani.pl website. Each row has the
131
- average score, number of runs, cost per run where measured, and the agent
132
- harness used. **No authentication needed** — this works before `10x auth`.
133
- Data updates when new benchmark results are published; superseded model
134
- versions are already filtered out upstream. If it reports the leaderboard as
135
- unavailable, the site may be mid-deploy — retry in a few minutes.
136
-
137
- ---
138
-
139
- ## Switching Tools
140
-
141
- To change your AI tool (e.g., from Claude Code to Cursor):
142
-
143
- ```bash
144
- 10x get m1l1 --tool cursor
145
- ```
146
-
147
- The CLI will detect that artifacts from the old tool exist and offer two options:
148
-
149
- 1. **Migrate** (default) — move all artifacts to the new tool's directories, remove the sentinel block from the old rules file.
150
- 2. **Delete** — remove only 10x-managed artifacts from the old tool's directories. Your own files (e.g., `.github/workflows/`) are never touched.
151
-
152
- The tool choice is saved in the config file (`~/.config/10x-cli/config.json` on macOS/Linux, `%APPDATA%/10x-cli/config.json` on Windows). Future `get` commands will use the new tool without needing `--tool` again.
153
-
154
- ---
155
-
156
- ## Platform-Specific Tips
157
-
158
- ### Windows
159
-
160
- - **Use PowerShell** (not cmd.exe). The CLI outputs ANSI colors and Unicode symbols that render correctly in Windows Terminal + PowerShell but may garble in legacy cmd.
161
- - **npx works fine**: `npx @przeprogramowani/10x-cli get m1l1` — no global install needed. Node 20+ is the only prerequisite.
162
- - **Clipboard**: Skills that copy to clipboard use `clip.exe` on Windows. If a skill outputs a clipboard command, it will fall back silently if `clip.exe` is unavailable.
163
- - **Config location**: `%APPDATA%\10x-cli\config.json` and `%APPDATA%\10x-cli\auth.json`. The CLI creates these automatically.
164
- - **Path separators**: The CLI uses Node's `path.join()` internally, so forward slashes in command output (like `.claude/skills/code-review/SKILL.md`) work fine on Windows — no need to convert them.
165
-
166
- ### Linux
167
-
168
- - **Clipboard**: Skills use `xclip -selection clipboard` or `xsel --clipboard`. If neither is installed, clipboard operations fail silently. Install with `sudo apt install xclip` (Debian/Ubuntu) or `sudo dnf install xclip` (Fedora).
169
- - **Config location**: `~/.config/10x-cli/` (respects `$XDG_CONFIG_HOME` if set).
170
-
171
- ### macOS
172
-
173
- - **Clipboard**: Skills use `pbcopy` — works out of the box.
174
- - **Config location**: `~/.config/10x-cli/`.
175
-
176
- ---
177
-
178
- ## Troubleshooting
179
-
180
- When the user reports a problem, follow this sequence:
181
-
182
- ### 1. Run doctor first
183
-
184
- ```bash
185
- 10x doctor
186
- ```
187
-
188
- This catches the most common issues. Read the output and address each failing check.
189
-
190
- ### 2. Common problems and fixes
191
-
192
- | Symptom | Likely cause | Fix |
193
- |---------|-------------|-----|
194
- | "You're not signed in" | No auth or expired session | `10x auth` |
195
- | "Session expired" | Token past expiry and auto-refresh failed | `10x auth` (re-login) |
196
- | API unreachable / timeout | Network issue or API outage | Check internet; retry in a few minutes |
197
- | "Module is locked" | Content not yet released | `10x list` to see unlock date |
198
- | `.claude/` not found (doctor fail) | Running from wrong directory or wrong tool profile | `cd` to project root; check `10x doctor --json` for which tool is configured |
199
- | "403 Forbidden" on `10x get` | Module locked or no membership | Check `10x list` for module state; verify enrollment |
200
- | Orphaned artifact prompt on `get` | Switching tools mid-lesson | Choose "migrate" to move files, or "delete" to clean up |
201
- | Permission denied writing files | Directory not writable | Check directory permissions; on POSIX: `chmod u+w <dir>` |
202
-
203
- ### 3. Verbose mode for deeper debugging
204
-
205
- ```bash
206
- 10x get m1l1 --verbose
207
- 10x doctor --verbose
208
- ```
209
-
210
- This prints request/response diagnostics to stderr, useful for diagnosing API or network issues.
211
-
212
- ### 4. Nuclear reset
213
-
214
- If config is corrupted:
215
-
216
- On macOS/Linux:
217
- ```bash
218
- rm -rf ~/.config/10x-cli
219
- 10x auth
220
- ```
221
-
222
- On Windows (PowerShell):
223
- ```powershell
224
- Remove-Item -Recurse -Force "$env:APPDATA\10x-cli"
225
- 10x auth
226
- ```
227
-
228
- This clears auth and tool preference. The next `10x auth` recreates everything.
229
-
230
- ---
231
-
232
- ## Important Principles
233
-
234
- - **Answer with the user's OS and tool in mind.** Never show `pbcopy` to a Windows user. Never show `%APPDATA%` to a macOS user.
235
- - **Run `10x doctor` before speculating.** It catches 80% of issues.
236
- - **Don't guess command syntax from memory.** If unsure about a flag or behavior, fetch the latest README: `https://raw.githubusercontent.com/przeprogramowani/10x-cli/refs/heads/master/README.md`
237
- - **Distinguish tool profile issues from CLI issues.** If artifacts land in the wrong directory, it is a tool profile question. If the command itself fails, it is a CLI/auth/network question.
181
+ Normal sync refreshes the full lessons recorded in the manifest, not just the
182
+ three selected skills. `--all` broadens scope to unlocked lessons and is not needed
183
+ for this exercise. Missing managed files should be repaired; local edits should
184
+ remain visible as conflicts or preserved files. Read all report outcomes and
185
+ resource counts even if exit is 0: skipped conflicts alone are not process errors.
186
+ Do not equate an unchanged remote digest with intact local files.
187
+
188
+ For one conflicting skill, inspect the diff and back up local work before retrying
189
+ its filtered get in an interactive terminal with the same course/tool/lang. Preserve
190
+ the user's resolution choice. If a CLI hint omits context, restore these flags in
191
+ your proposed command. Never run automatic `--force`; it can overwrite local
192
+ skill/prompt edits and does not bypass protected rules or safe removal. Config
193
+ templates remain create-only. Cleanup preserves modified/untracked files and
194
+ files owned elsewhere; do not manually sweep a skill directory after sync.
195
+
196
+ Three updates are independent: changing the npm/binary version updates the CLI;
197
+ repeating pinned public `skills add` with a deliberately chosen new retained SHA
198
+ updates a public helper; CLI sync updates CLI-owned course skills. It does not
199
+ update the executable or public installer-owned helper copies.
200
+
201
+ ## Channels: both helpers are available through two routes
202
+
203
+ The public on-demand route works before CLI/auth and installs one project helper
204
+ at a selected source SHA. The CLI route uses authenticated filtered get once helper
205
+ content is published and m1l1 is accessible. Follow the exact commands and guards
206
+ in the reference for `10x-cli-setup` and `10x-cli-guide`; install only what is needed.
207
+ Both routes deliver each helper's own `references/compatibility.md`.
208
+
209
+ Use one owner per installed copy. Inspect destination paths/symlinks, CLI manifest
210
+ and the public installer's project registration before writing. If a helper is
211
+ already CLI-owned, use that copy and sync. For a public→CLI takeover, back up the
212
+ whole helper and metadata outside managed trees, unregister only that helper using
213
+ the original pinned installer's project/agent remove flow, verify registration and
214
+ destination are absent, then filtered get. Merge local edits consciously from backup.
215
+ If either owner remains, stop the takeover. CLI→public has no verified per-skill
216
+ unregister contract: use a new isolated project instead of hand-editing manifests.
217
+
218
+ ## Profiles and troubleshooting
219
+
220
+ Full skill trees land under the selected profile's `skills/<canonical-name>/`:
221
+
222
+ | Profile | Tool directory | Rules file for full lesson delivery |
223
+ |---|---|---|
224
+ | claude-code | `.claude/` | `CLAUDE.md` |
225
+ | cursor | `.cursor/` | `.cursor/rules/10x-course.mdc` |
226
+ | copilot | `.github/` | `.github/copilot-instructions.md` |
227
+ | codex | `.agents/` | `AGENTS.md` |
228
+ | devin-desktop | `.devin/` | `AGENTS.md` |
229
+ | gemini | `.gemini/` | `GEMINI.md` |
230
+ | generic | `.ai/` | `AGENTS.md` |
231
+
232
+ Profile changes may offer migrate, delete eligible managed files, or keep both;
233
+ none means deleting arbitrary user content or switching the course edition.
234
+ Legacy windsurf aliases and orphan handling should follow the selected version's
235
+ help/output. These path mappings are not evidence of a completed Windows or
236
+ other-agent walkthrough. Translate shell syntax to the user's actual shell.
237
+
238
+ Run `10x_cli doctor --json` when diagnosis is useful; inspect its complete
239
+ `data.overall` and `data.checks` as well as exit status. It checks the configured
240
+ profile, not a `--tool` or `--course` argument. Before first get, a missing tool
241
+ directory can be expected; explain only that failure and keep other failures
242
+ visible. Doctor exit 78 can coexist with outer JSON `status: "ok"`.
243
+
244
+ | Symptom | Next step |
245
+ |---|---|
246
+ | Missing/expired auth | Inspect auth status and live-access result; let the user complete login through setup. Login may send email. |
247
+ | No email received | Offer `10x_cli auth --method circle`; let the user request the message. |
248
+ | `circle_login_disabled` | Circle is unavailable; use `10x_cli auth --method email`. |
249
+ | `dm_rejected` | Enable Circle direct messages or use email login. |
250
+ | `circle_login_expired` | Ask for a fresh Circle login or use email; never auto-resend. |
251
+ | Denied course access | Confirm selected course and membership; changing tool/reinstalling does not grant access. |
252
+ | Locked or unpublished v4 | Inspect module availability/release evidence; do not bypass the gate or fall back to v3. |
253
+ | Unsupported name/missing index | Verify exact CLI package and content release; preserve the error for the release owner. |
254
+ | Network/API failure | Keep diagnostics, retry the same context when service returns; no config reset. |
255
+ | Wrong directory/profile | Recheck cwd and explicit flags; a fresh project may legitimately have no tool directory. |
256
+ | Signature/release mismatch | Preserve failure and source identity; do not disable verification or reuse unrelated bytes. |
257
+ | Edition/manifest conflict | Preserve binding and manifests for repair; use a separate v4 project rather than deleting them. |
258
+ | File conflict or permission failure | Inspect affected paths and local edits, retain backup and resolve the specific issue. No broad chmod/reset/force. |
259
+
260
+ Use `--verbose` only when needed, and redact credentials before sharing diagnostics.
261
+ For unrelated day-to-day commands such as `bench`, inspect this runner's matching
262
+ help; do not fetch arbitrary master README as an authority for an older binary.