10x-cli-guide

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 (g

By przeprogramowani · 2,302 installs

npx skills add przeprogramowani/10x-cli --skill 10x-cli-guide

Source repository · Upstream listing

10x cli: download, use, update Read the bundled [compatibility and channel reference](references/compatibility.md) before issuing commands. It contains the pinned runner setup, version checks, both helper channels and ownership safeguards. Commands use the released lesson scoped skill filter; verify the actual selected package and content before using it. A local build or source membership is not proof that a feature has shipped. The next CLI release also provides project only bundled installation through 10x helpers install tool <chosen profile . This command is unreleased and absent from the 1.21.0/1.22.0 master baselines: check the actual runner's helpers help first. Follow Bundled public copies in the local reference for complete files, explicit targets and conflict handling; keep the existing pinned public route when the runner does not support it. Environment Reuse the setup handoff: project root, course, tool, language, runner/version, auth/access status, update method and helper channel/path. If anything is absent, inspect only that item. A working installed CLI needs no reinstall. If setup is needed, locate its actual SKILL.md and references or install that helper through the public channel; do not invoke a missing sibling by name. The guided acceptance context is macOS/zsh, Claude Code, 10xdevs4 and Polish. Determine the actual OS and shell from the environment, not a POSIX command that labels every failure Windows. Select the intended project root before any write. For v4, retain an existing v3 project and use a separate directory; ordinary get, sync and profile changes do not migrate editions. Preserve .10x cli.json and all manifests if their versions/courses conflict. Use the verified 10x cli runner defined in the reference, or the user's exact verified global/standalone executable: Leave course out of these commands: the CLI reads the edition from .10x cli.json when the directory is already bound, otherwise from the live API recommendation (the highest edition the account can reach). get prints Course: <slug (<reason ) ; check it once before the first write. Use course <slug only to inspect another entitled edition on purpose — a bound project cannot be rewritten to a different edition ( course mismatch ), so v4 starts in a new empty directory. Check source/release evidence for lesson reference, skill filter and lesson scoped sync, then use the filtered preview below to check the endpoint. Do not treat a successful help exit as capability proof. Keep unsupported CLI syntax, unpublished/missing content, locked module, membership denial and network failure distinct. Missing final release evidence need not block preparing the public helpers or the exercise files. Read only needed nonsecret preferences from config.json . On macOS/Linux its base is nonempty $XDG CONFIG HOME , otherwise ~/.config ; on Windows it is %APPDATA% , otherwise the user's AppData/Roaming . Append 10x cli/config.json . Do not print auth.json , discard stderr, truncate doctor JSON or erase config to repair an unknown problem. An explicit course/tool/language in this journey takes precedence over saved defaults for that command. Session management When login is needed, let the user choose the delivery channel and complete it: Circle is useful when the email does not arrive. The approval link expires after 15 minutes; the CLI does not resend it automatically. In non interactive mode, provide the user's email with email and choose method circle explicitly. Do not send a login message until the user requests authentication. Sessions refresh transparently; re login is needed only when refresh cannot recover them. Download The launch exercise follows lesson 1, “Od pomysłu do PRD”, using its existing 10xCards example. 10x plan is not part of this launch demonstration. Prepare all four lesson skills: 10x idea check , 10x init , 10x shape and 10x prd . Idea assessment is optional to run; its files should still be available when preparing lesson 1. If the user requested only a specific skill, retain that narrower scope. After checking each name's capability and availability, download four separate complete selected skill trees. Inspect each dry run before its corresponding write: Inspect each report and the complete supporting tree, not just SKILL.md. In the chosen macOS/zsh exercise directory, each of these checks must succeed before use (stop on any failure; do not infer success from the last check alone): The PRD entrypoint resolves ../10x shape/references/prd schema.md relative to its own directory. A standalone PRD tree is insufficient. Read all installed entrypoints and every reference they require; the paths above are the known source minimum, not permission to discard extra files from a published bundle. Also inspect .claude/.10x cli manifest.json : lessons.m1l1.skills must include all four names, with file hashes in files.skills . These are lesson owned partial downloads, not independent owners. Inspect .10x cli.json for the course binding; partial downloads do not establish a complete lesson release identity. CLI 1.21.0 is published with v4 and filtered skill downloads; production m1l1 EN/PL contains idea check/init/shape/prd and their references. These revised helpers are a separate source change, not proof that their course copies have been published. Verify all four names against the actual selected release. If any name, schema, owner or release is missing/mismatched, preserve the precise error and stop the exercise; never silently substitute a whole lesson, another course or filtered get. CLAUDE m1l1 is a separate lesson rule, not delivered by these filtered skill gets. The inspected init/shape/prd sources do not require that rule to run this chain. This does not establish that every step of the full lesson works without it. Use the learner's existing lesson 1 inputs and instructions: if they require the rule, inspect the existing project rule and its provenance. If absent, report the missing prerequisite and obtain the supported route from the lesson/release owner before that step. Do not invent a rule command or download a full lesson to bypass it. Do not overwrite an existing project rule. For browsing use 10x cli list m1 . The commands above filter one lesson by skill name; get 10x init is not supported. print is inspection: TTY Markdown can contain only SKILL.md; non TTY output is a JSON envelope. Never redirect print output into SKILL.md as a package installation. Use: 10xCards, from idea to PRD Downloading the trees is only preparation. Use the existing 10xCards example and the learner's actual answers from lesson 1. If those inputs are absent, ask for them; do not invent product requirements, a replacement task.md or a ready made plan. Keep private lesson text out of public fixtures and transcripts. Do not assume native slash/$ discovery or automatic activation from npm install. Give the agent explicit local paths. If the learner wants to assess whether an idea fits their experience, time and course goals, first read .claude/skills/10x idea check/SKILL.md and its references and follow that skill. Do not make assessment a prerequisite when the learner is ready to shape. Then work through these steps separately: 1. Read .claude/skills/10x init/SKILL.md and follow it in the chosen project. Inspect the create if absent context/changes, context/archive and context/foundation directories and their READMEs. Preserve existing files. 2. Read .claude/skills/10x shape/SKILL.md and .claude/skills/10x shape/references/prd schema.md . Follow the skill's discovery with the learner's 10xCards inputs. Let the learner answer and approve the checkpoint; do not answer for them. Inspect context/foundation/shape notes.md against those answers before proceeding. 3. Read .claude/skills/10x prd/SKILL.md and its sibling schema, then generate the draft from the actual context/foundation/shape notes.md . Inspect context/foundation/prd.md against that input and the installed schema; unresolved domain choices stay open. Respect the skill's existing file collision choice (a versioned file may be the appropriate result). Success requires the learner's notes and a schema conformant PRD, with gaps explicit and original project work preserved. A transcript of downloads alone is insufficient. Stop after reviewing the PRD; do not chain into stack selection, bootstrap or implementation. If a different global/local skill copy was read, correct the path before accepting the result. Record the actual agent, profile, language, output paths and checks; use a fresh isolated exercise directory for the two canonical output filenames instead of forcing an overwrite. Update Use the same runner, directory, tool and language; the edition stays the project's own, so sync needs no course either. Sync updates entire downloaded lessons, including m1l1 after these filtered gets. Its preview may include other skills, prompts, configs and course rules. Inspect that expanded scope and apply only when the user accepts it; to update only one skill, repeat its filtered preview/get instead. Do not use sync as a hidden rule prerequisite workaround: Normal sync refreshes the full lessons recorded in the manifest, not just the four selected skills. all broadens scope to unlocked lessons and is not needed for this exercise. Missing managed files should be repaired; local edits should remain visible as conflicts or preserved files. Read all report outcomes and resource counts even if exit is 0: skipped conflicts alone are not process errors. Do not equate an unchanged remote digest with intact local files. For one conflicting skill, inspect the diff and back up local work before retrying its filtered get in an interactive terminal, from the same directory and with the same tool/lang. Preserve the user's resolution choice. If a CLI hint omits context, restore these flags in your proposed command. Never run automatic force ; it can overwrite local skill/prompt edits and does not bypass protected rules or safe removal. Config templates remain create only. Cleanup preserves modified/untracked files and files owned elsewhere; do not manually sweep a skill directory after sync. To see what changed in the course toolkit itself, use changelog . This command is unreleased : check the actual runner's changelog help first. It lists toolkit release notes (skills, prompts, rules, config templates per release), not this project's files: sync dry run remains the authority for what would be downloaded. A successful sync (or full unfiltered get) records the newest toolkit version in the project manifest as the baseline; without it the command falls back to the last applied lesson's date, or shows the latest 5 releases. "No toolkit changes" with exit 0 is normal. It never writes files. Three updates are independent: changing the npm/binary version updates the CLI; repeating pinned public skills add with a deliberately chosen new retained SHA updates a public helper; CLI sync updates CLI owned course skills. It does not update the executable or public installer owned helper copies. Channels: both helpers are available through two routes The public on demand route works before CLI/auth and installs one project helper at a selected source SHA. The CLI route uses authenticated filtered get once helper content is published and m1l1 is accessible. Follow the exact commands and guards in the reference for 10x cli setup and 10x cli guide ; install only what is needed. Both routes deliver each helper's own references/compatibility.md . Use one owner per installed copy. Inspect destination paths/symlinks, CLI manifest and the public installer's project registration before writing. If a helper is already CLI owned, use that copy and sync. For a public→CLI takeover, back up the whole help