PluginBench
Skill
Review
Audit score 70

10x-cli-guide

przeprogramowani/10x-cli

Daily usage guide for 10x-cli: fetch lessons, manage tools, troubleshoot, and work across Windows/Linux/macOS.

What is 10x-cli-guide?

This skill guides users on day-to-day 10x-cli operations after installation—fetching lessons, listing modules, switching AI tools, and troubleshooting. Use it for command reference, artifact locations, platform-specific tips, and error diagnosis. Hand off to 10x-cli-setup for first-time installation.

  • Fetch and apply lesson artifacts (skills, prompts, rules) with `10x get <ref>`
  • Browse available modules and lessons with `10x list`
  • Diagnose configuration and connectivity issues with `10x doctor`
  • Switch between AI tool profiles (Claude Code, Cursor, GitHub Copilot, Codex CLI, Generic)
  • Manage authentication sessions with `10x auth`
  • Provide OS-specific guidance for Windows, Linux, and macOS

How to install 10x-cli-guide

npx skills add https://github.com/przeprogramowani/10x-cli --skill 10x-cli-guide
Claude Code
Cursor
Windsurf
Cline

How to use 10x-cli-guide

  1. 1.Run `10x doctor` to check your environment, auth status, and tool configuration
  2. 2.Use `10x list` to browse available modules and lessons
  3. 3.Run `10x get <ref>` (e.g., `10x get m1l1`) to fetch and apply a lesson
  4. 4.Check the artifact location table to find where skills and prompts land for your tool
  5. 5.If switching tools, run `10x get <ref> --tool <toolname>` and choose migrate or delete
  6. 6.Run `10x auth --status` to verify your session; `10x auth --logout` to sign out

Use cases

Good for
  • Fetching a new lesson module and applying its artifacts to your project
  • Switching from Claude Code to Cursor and migrating all 10x-managed files
  • Diagnosing why `10x get` fails with a 403 or API error
  • Finding where skills and prompts are written for your configured tool
  • Checking if a module is locked and when it unlocks
Who it's for
  • Developers actively working through 10x-cli lessons
  • Users switching between AI coding tools
  • Anyone troubleshooting 10x-cli errors or configuration issues

10x-cli-guide FAQ

Where do skills and prompts get written?

Location depends on your active tool profile. Claude Code uses `.claude/`, Cursor uses `.cursor/`, GitHub Copilot uses `.github/`, Codex CLI uses `.agents/`, and Generic uses `.ai/`. Run `10x doctor --json` to see which tool is configured.

How do I switch from one AI tool to another?

Run `10x get <ref> --tool <toolname>` (e.g., `10x get m1l1 --tool cursor`). The CLI will offer to migrate artifacts from the old tool or delete them. The choice is saved in your config.

What does `10x doctor` do?

It runs 5 checks: auth status, API connectivity, config directory presence, CLI version, and tool directory presence. Exit code 78 means at least one check failed. Use `--json` for machine-readable output.

How do I re-authenticate if my session expires?

Run `10x auth` to start a magic-link login. Sessions refresh automatically on the next command, but if fully expired, you must re-login manually.

Why does `10x get` say 'Module is locked'?

The module content has not been released yet. Run `10x list` to see the unlock date for locked modules.

Full instructions (SKILL.md)

Source of truth, from przeprogramowani/10x-cli.


name: 10x-cli-guide 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, or working on a specific OS (Windows, Linux, macOS). Covers commands (get, list, doctor, auth --status/--logout), 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."

10x-cli Daily Usage Guide

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.

Step 1: Detect the user's environment

Before giving any guidance, gather context silently — run these checks and remember the results. Do not print raw output to the user.

Operating system

echo "$OSTYPE" 2>/dev/null || echo "win32"

Use the result to tailor path separators, shell syntax, and clipboard commands throughout your answers:

OSShellHome varClipboardTemp dir
macOS (darwin*)zsh / bash$HOMEpbcopy$TMPDIR
Linux (linux-gnu*)bash / zsh$HOMExclip -selection clipboard or xsel --clipboard/tmp
Windows (win32 / MSYS / Git Bash)PowerShell / cmd%USERPROFILE%clip.exe%TEMP%

Active AI tool

10x doctor --json 2>/dev/null | head -1

Also check which tool profile is configured:

cat ~/.config/10x-cli/config.json 2>/dev/null || cat "$APPDATA/10x-cli/config.json" 2>/dev/null || echo "{}"

If the config contains a "tool" key, that is the active profile. If not, the default is claude-code.

CLI version

10x --version

Step 2: Answer the user's question using the reference below

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.


Command Reference

10x get <ref> — Fetch and apply lesson artifacts

The primary daily command. Fetches a lesson bundle from the API and writes skills, prompts, rules, and config templates to the project directory.

10x get m1l1              # Fetch module 1, lesson 1
10x get m2l3              # Fetch module 2, lesson 3
10x get m1l1 --dry-run    # Preview what would be written
10x get m1l1 --tool cursor  # Use a different AI tool profile
10x get m1l1 --lang pl    # Fetch Polish content

Filtering artifacts:

10x get m1l1 --type skills                     # Only skills
10x get m1l1 --type skills --name code-review  # One specific skill
10x get m1l1 --print --type skills --name code-review  # Print to stdout

Where artifacts land (depends on the active tool profile):

ToolSkillsPromptsRules fileConfig templates
Claude Code.claude/skills/<name>/SKILL.md.claude/prompts/<name>.mdCLAUDE.md.claude/config-templates/<name>
Cursor.cursor/skills/<name>/SKILL.md.cursor/prompts/<name>.md.cursor/rules/10x-course.mdc.cursor/config-templates/<name>
GitHub Copilot.github/skills/<name>/SKILL.md.github/prompts/<name>.md.github/copilot-instructions.md.github/config-templates/<name>
Codex CLI.agents/skills/<name>/SKILL.md.agents/prompts/<name>.mdAGENTS.md.agents/config-templates/<name>
Generic.ai/skills/<name>/SKILL.md.ai/prompts/<name>.mdAGENTS.md.ai/config-templates/<name>

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).

Switching lessons cleans up artifacts from the previous lesson that are not in the new one, keeps shared artifacts, and adds new ones.

10x list [module] — Browse available content

10x list       # Show all modules with lock state
10x list m1    # Show lessons in module 1

Locked modules show their unlock date. Use this to see what is available before fetching.

10x doctor — Diagnose problems

Runs 5 checks: Auth status, API connectivity, Config directory, CLI version, and tool directory presence.

10x doctor          # Human-readable output
10x doctor --json   # Machine-readable for scripting

Exit code 78 means at least one check failed.

10x auth — Session management

10x auth             # Start magic-link login
10x auth --status    # Check current session
10x auth --logout    # Clear credentials

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.


Switching Tools

To change your AI tool (e.g., from Claude Code to Cursor):

10x get m1l1 --tool cursor

The CLI will detect that artifacts from the old tool exist and offer two options:

  1. Migrate (default) — move all artifacts to the new tool's directories, remove the sentinel block from the old rules file.
  2. Delete — remove only 10x-managed artifacts from the old tool's directories. Your own files (e.g., .github/workflows/) are never touched.

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.


Platform-Specific Tips

Windows

  • 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.
  • npx works fine: npx @przeprogramowani/10x-cli get m1l1 — no global install needed. Node 20+ is the only prerequisite.
  • 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.
  • Config location: %APPDATA%\10x-cli\config.json and %APPDATA%\10x-cli\auth.json. The CLI creates these automatically.
  • 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.

Linux

  • 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).
  • Config location: ~/.config/10x-cli/ (respects $XDG_CONFIG_HOME if set).

macOS

  • Clipboard: Skills use pbcopy — works out of the box.
  • Config location: ~/.config/10x-cli/.

Troubleshooting

When the user reports a problem, follow this sequence:

1. Run doctor first

10x doctor

This catches the most common issues. Read the output and address each failing check.

2. Common problems and fixes

SymptomLikely causeFix
"You're not signed in"No auth or expired session10x auth
"Session expired"Token past expiry and auto-refresh failed10x auth (re-login)
API unreachable / timeoutNetwork issue or API outageCheck internet; retry in a few minutes
"Module is locked"Content not yet released10x list to see unlock date
.claude/ not found (doctor fail)Running from wrong directory or wrong tool profilecd to project root; check 10x doctor --json for which tool is configured
"403 Forbidden" on 10x getModule locked or no membershipCheck 10x list for module state; verify enrollment
Orphaned artifact prompt on getSwitching tools mid-lessonChoose "migrate" to move files, or "delete" to clean up
Permission denied writing filesDirectory not writableCheck directory permissions; on POSIX: chmod u+w <dir>

3. Verbose mode for deeper debugging

10x get m1l1 --verbose
10x doctor --verbose

This prints request/response diagnostics to stderr, useful for diagnosing API or network issues.

4. Nuclear reset

If config is corrupted:

On macOS/Linux:

rm -rf ~/.config/10x-cli
10x auth

On Windows (PowerShell):

Remove-Item -Recurse -Force "$env:APPDATA\10x-cli"
10x auth

This clears auth and tool preference. The next 10x auth recreates everything.


Important Principles

  • Answer with the user's OS and tool in mind. Never show pbcopy to a Windows user. Never show %APPDATA% to a macOS user.
  • Run 10x doctor before speculating. It catches 80% of issues.
  • 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
  • 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.