skills/devel/init-config-devbox/SKILL.md
--- name: init-config-devbox description: Performs initial configuration of a development host with a fixed sequence: setup proxy first, then configure pixi/uv/npm/bun global tooling, and finally configure Claude Code. Use only when explicitly invoked by name for first-time host bootstrap or full re-bootstrap. compatibility: Linux host setup; requires bash, curl or wget, jq, node/npm, pixi, uv, bun, and network access. metadata: author: local-workspace --- # Initial development host configur
npx skillsauth add igamenovoer/magic-context skills/devel/init-config-devboxInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to run the full host configuration process in a repeatable way.
init-config-devbox.scripts/, existing binaries, local config/state).[proxy].candidate_list from selected TOML:
candidate_list is present and non-empty, use proxy-aware flow.candidate_list is missing or empty, run all installation/configuration commands without proxy setup/sourcing.scripts/setup-proxy.shconfig.tomlconfig-schema.jsonscripts/
bash scripts/sync-from-lanren-ai.sh --ref mainConfiguration file selection:
./config.toml./config-schema.json before applying changes.setup-proxy.sh and .bashrc)[proxy].candidate_list is present and non-empty, use accompanied local script first:
install -m 0755 ./scripts/setup-proxy.sh "$HOME/setup-proxy.sh"[proxy].candidate_list is present and non-empty, ensure .bashrc contains proxy candidates in order:
export PROXY_CANDIDATE_LIST="<candidate_list joined by comma>".bashrc.[proxy].candidate_list is present and non-empty:
source ~/setup-proxy.sh[proxy].candidate_list is missing or empty, skip proxy setup/sourcing entirely.Rules:
[proxy].candidate_list is present and non-empty, source proxy before pixi install/update commands.[proxy].candidate_list is missing or empty, run pixi commands directly without proxy sourcing.pixi global install ...[pixi].channel_priority in TOML (do not hardcode channels in this skill).[paths].pixi_cache_dir is set and non-empty, redirect pixi/rattler cache via .bashrc:
export PIXI_CACHE_DIR="<pixi_cache_dir>"export RATTLER_CACHE_DIR="<pixi_cache_dir>"[paths].pixi_cache_dir is missing or empty, do not set PIXI_CACHE_DIR/RATTLER_CACHE_DIR; use Pixi/Rattler defaults.Global tool set:
[pixi].global_tools in TOML (do not hardcode tool names in this skill).Install command:
[proxy].candidate_list is present and non-empty:
source ~/setup-proxy.sh; pixi --no-progress global install <tools from [pixi].global_tools>[proxy].candidate_list is missing or empty:
pixi --no-progress global install <tools from [pixi].global_tools>Rules:
[proxy].candidate_list is present and non-empty, source proxy before uv install/update commands.[proxy].candidate_list is missing or empty, run uv commands directly without proxy sourcing.uv tool install ...[paths].uv_cache_dir is set and non-empty, redirect uv cache via .bashrc:
export UV_CACHE_DIR="<uv_cache_dir>"[paths].uv_cache_dir is missing or empty, do not set UV_CACHE_DIR; use uv defaults.Global tool set:
[uv].global_tools in TOML (do not hardcode tool names in this skill).Install commands:
[proxy].candidate_list is present and non-empty:
source ~/setup-proxy.sh; uv tool install <each tool from [uv].global_tools>[proxy].candidate_list is missing or empty:
uv tool install <each tool from [uv].global_tools>Rules:
npm --version succeeds, skip npm bootstrap installation.[proxy].candidate_list is present and non-empty, source proxy before npm config/install operations.[proxy].candidate_list is missing or empty, run npm config/install operations directly without proxy sourcing.npm config set registry <[urls].npm_registry_mirror>[npm].global_packages and apply [npm].install_global / [npm].install_latest.Note:
Rules:
bun --version succeeds, skip bun bootstrap installation.[proxy].candidate_list is present and non-empty, proxy may be used for bootstrap only.[proxy].candidate_list is missing or empty, run bun bootstrap/install/update directly without proxy sourcing.[bun].global_packages and apply [bun].install_global / [bun].install_latest.bun update -g --latestUse local vendored scripts in scripts/claude-code-cli/.
Required outcomes:
[claude].alias; do not hardcode alias in this skill).Credential policy:
./config.toml).Missing credential handling:
anthropic_api_key, tavily_api_key, context7_api_key), if the TOML value is empty or missing, explicitly ask the user how to proceed.Credential-to-step mapping:
anthropic_api_key is required for scripts/claude-code-cli/config-custom-api-key.sh.tavily_api_key is required for scripts/claude-code-cli/config-tavily-mcp.sh.context7_api_key is required only when applying Context7 API key via claude mcp add-json; scripts/claude-code-cli/config-context7-mcp.sh can still run.Execution sequence (using vendored scripts):
sh scripts/claude-code-cli/config-skip-login.shsh scripts/claude-code-cli/config-custom-api-key.sh --alias-name <alias> --api-key <claude_api_key>sh scripts/claude-code-cli/config-tavily-mcp.sh --api-key <tavily_api_key>sh scripts/claude-code-cli/config-context7-mcp.shclaude mcp add-json if needed.source ~/setup-proxy.shpixi global listuv tool listnpm --version and npm config get registrybun pm -g ls~/.claude.json contains hasCompletedOnboarding=trueclaude mcp list shows tavily and context7./config.toml).data-ai
Create readable Mermaid diagrams inside Markdown files. Use for flowcharts and sequence diagrams that must render cleanly in common Markdown renderers (e.g., GitHub) without horizontal scrolling. Covers fenced mermaid blocks, init/theme styling, label wrapping with <br/>, and sequenceDiagram layout rules (short IDs, wrapped labels, don’t break identifiers).
development
Manual invocation only; use only when the user explicitly requests `make-program-tutorial` by exact name, OR when the user asks to use a skill to create an SDK/API/library tutorial. Create a clear, reproducible, step-by-step tutorial for a specific API/SDK/library (or a set of functions/classes), with runnable examples, expected outputs, and basic troubleshooting.
testing
Use when the user wants to create a self-hosted, offline-installable Conda channel (mirror) containing a specific subset of packages using Pixi.
tools
Guides the agent to setup a new or existing Pixi environment for compiling C++ and CUDA code. It ensures the correct compilers, toolkits, and CMake configurations are in place for a robust user-space build.