/skills:setup-zshfrom skills
Installs and configures Zsh with Oh My Zsh, powerlevel10k theme, plugins, and modern CLI tools (fzf, zoxide, uv, fnm). Produces a self-contained ~/.zshrc with environment isolation for Python, Node.js, and Go.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Set up a fully configured Zsh environment with Oh My Zsh, essential plugins, powerlevel10k theme, and modern CLI tools (fzf, zoxide). Produces a self-contained ~/.zshrc with command -v guards for optional tools — no external file dependencies.
~/.zshrc — inlines all config, backs up the existing one| Language | Tool | How isolation works |
|---|---|---|
| Python | uv | UV_PYTHON_PREFERENCE=only-managed — always uv-managed Python; pip install is intercepted and blocked |
| Node.js | fnm | reads .node-version / .nvmrc per project; --use-on-cd auto-switches |
| Go | built-in | go.mod handles per-project deps natively; binaries go to $GOPATH/bin |
uv python install 3.12 # install a Python version
uv init myproject # new project (creates pyproject.toml + .venv)
uv venv # create venv in existing dir
uv pip install requests # install into active venv
uv tool install ruff # install CLI tool in isolated env (not global)
uv run script.py # run script with auto-managed deps
conda/miniforge is still supported: if ~/miniforge3/ or ~/miniconda3/ exists, it's sourced automatically.
fnm install 20 # install Node 20
fnm default 20 # set global default
echo "20" > .node-version # fnm auto-switches when you cd into this dir
A clean separation between portable config, secrets, and machine-specific tweaks:
| File | Purpose | Tracked? |
|---|---|---|
~/.zshrc | Main shell config — plugins, PATH, language runtimes, aliases | ✅ tracked (dotfiles) |
~/.env | Environment variables, API keys, secrets — auto-exported on shell start | ❌ gitignored, chmod 600 |
~/.zshrc.local | Machine-specific aliases / functions / work-only config | ❌ gitignored |
Both ~/.env and ~/.zshrc.local are sourced after the main config, so they can override anything. The setup script creates starter templates if missing (and never overwrites existing files).
~/.env example# Bare assignments — auto-exported (no `export` keyword needed)
OPENAI_API_KEY=sk-...
GITHUB_TOKEN=ghp_...
AWS_PROFILE=default
~/.zshrc.local example# Work-only aliases that don't belong in dotfiles
alias work-vpn='sudo openconnect vpn.company.com'
alias prod-db='psql -h prod.example.com -U admin'
All guards are presence-based — missing tools are silently skipped:
UV_PYTHON_PREFERENCE=only-managed + pip install interceptor; conda sourced only if dir exists--use-on-cd for automatic per-project version switchingGOPATH=$HOME/go set only when go is availableResolve bundled resources relative to this skill. Before running the examples, set SKILL_DIR to the absolute parent directory of the loaded SKILL.md, not the current working directory. The agent does not need to provide this variable.
bash "$SKILL_DIR/scripts/setup-zsh.sh"
The script backs up any existing ~/.zshrc before overwriting.
bash "$SKILL_DIR/scripts/setup-zsh.sh" --plugins-only
bash "$SKILL_DIR/scripts/setup-zsh.sh" --theme-only
bash "$SKILL_DIR/scripts/setup-zsh.sh" --tools-only
bash "$SKILL_DIR/scripts/setup-zsh.sh" --env-only # only create ~/.env, ~/.zshrc.local
| Plugin | Purpose |
|---|---|
| zsh-autosuggestions | Fish-like suggestions as you type |
| zsh-completions | Additional completion definitions |
| zsh-syntax-highlighting | Command syntax coloring |
| fzf-tab | Fuzzy completion with fzf |
| z | Directory frecency jumping |
| Function | Purpose |
|---|---|
mkcd <dir> | mkdir + cd in one step |
extract <archive> | Generic archive extractor (tar/zip/7z/rar/...) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub yanmxa/skills --plugin skills16 skills in this plugin
/animateMake a black-and-white comic-style animated product demo — a single HTML page of timed scenes (logo slam, terminal walkthroughs, sessions messaging each other, feature grids) that loops in the browser and renders to a crisp GIF/MP4 for a README or landing page. Use whenever the user wants an animated intro, demo video, product showcase, README GIF, "动画介绍 / 动图 / 宣传动画", or asks for a comic / manga / ink / hand-drawn look for a demo — even if they only say "make the intro video better" or "the README GIF looks dull"./auto-devAutonomous development workflow - understand an issue, plan changes, implement with change notes, and run an iterative verify-fix loop until passing. Use this skill when the user mentions auto dev, fix a bug, implement a feature, develop a fix, autonomous development, work on an issue, debug this, make it work, implement this change, help me fix this test, or wants an end-to-end code-change workflow. Do NOT trigger for code explanation or review requests where no code changes are needed./auto-research