Source profileQuality 78/100Review permissions

xuzhougeng/wisp-science/skills/local-env-setup/SKILL.md

local-env-setup

Use it for research tasks; the detail page covers purpose, installation, and practical steps.

Source repository stars
560
Declared platforms
0
Static risk flags
2
Last source update
2026-07-28
Source checked
2026-07-28

Decision brief

What it does—and where it fits

wisp-science needs three independent local toolchains:

Best for

  • Use when Capabilities shows missing Python/uv/Node/sci/pixi, bootstrap errors, or the user asks to 配置环境 / install Python / uv / Node / pixi / set up the local environment.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/xuzhougeng/wisp-science --skill "skills/local-env-setup"
Safe inspection promptEditorial

Inspect the Agent Skill "local-env-setup" from https://github.com/xuzhougeng/wisp-science/blob/95d2c13d1665d46a388b5bdc998dcce0d5ec2eee/skills/local-env-setup/SKILL.md at commit 95d2c13d1665d46a388b5bdc998dcce0d5ec2eee. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Step 0 — Detect platform, region, and current state

    Read the Environment section in the system prompt (Operating system, Working directory).

    Read the Environment section in the system prompt (Operating system, Working directory).Before any install or pip/npm/pixi add, decide whether the user is on mainland China and needs mirrors.Signals (use several; do not rely on one):
  2. 02

    Manual bootstrap (auto-setup failed)

    Set REQ to /python/requirements-mcp.txt or bundled copy. With mirrors:

    Set REQ to /python/requirements-mcp.txt or bundled copy. With mirrors:Windows: same with $env:UVINDEXURL and Scripts\python.exe.
  3. 03

    Typical project workflow

    In the user's analysis directory:

    In the user's analysis directory:Multiple envs: use [environments] / features in pixi.toml, or separate project dirs — see pixi docs.With mainland mirrors, set [pypi-config] and channels in pixi.toml (0a) before large pixi add.
  4. 04

    Agent workflow

    1. useskill this file when Capabilities or bootstrap reports missing tools. 2. Step 0a first — detect mainland vs international; configure mirrors before any download. 3. Detect OS — PowerShell on Windows, sh elsewhere. 4. Install missing layers in order: core (uv) → literature…

    useskill this file when Capabilities or bootstrap reports missing tools.Step 0a first — detect mainland vs international; configure mirrors before any download.Detect OS — PowerShell on Windows, sh elsewhere.
  5. 05

    0a — Region / network (mirror or not)

    Before any install or pip/npm/pixi add, decide whether the user is on mainland China and needs mirrors.

    Before any install or pip/npm/pixi add, decide whether the user is on mainland China and needs mirrors.Signals (use several; do not rely on one):If ambiguous, ask once: "Are you on mainland China? I'll use domestic mirrors for pip/npm/conda if yes."

Permission review

Static risk signals and limitations

Network access

medium · line 39

The documentation includes network, browsing, or remote request actions.

export UV_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple

Network access

medium · line 40

The documentation includes network, browsing, or remote request actions.

export PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple

Runs scripts

medium · line 42

The documentation asks the agent to run terminal commands or scripts.

# npm (scimaster-cli)

Runs scripts

medium · line 43

The documentation asks the agent to run terminal commands or scripts.

npm config set registry https://registry.npmmirror.com

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score78/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars560SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
xuzhougeng/wisp-science
Skill path
skills/local-env-setup/SKILL.md
Commit
95d2c13d1665d46a388b5bdc998dcce0d5ec2eee
License
AGPL-3.0
Collected
2026-07-28
Default branch
main
View the original SKILL.md

Local runtime setup

wisp-science needs three independent local toolchains:

LayerToolsPurpose
Coreuv + managed Python venvApp bootstrap, python tool, bundled MCP servers
LiteratureNode >= 20, npm, sci (scimaster-cli)Bundled bear-* skills (real paper search)
BioinformaticspixiPer-project conda/pip multi-env analysis (scanpy, nextflow-adjacent stacks, etc.)

Core is required for the app. Literature and bioinformatics layers are optional until the user runs those skills — but Capabilities shows all of them; install what's missing for the user's goal.

Restart wisp-science after changing PATH or global config so bootstrap re-runs.

Step 0 — Detect platform, region, and current state

Read the Environment section in the system prompt (Operating system, Working directory).

0a — Region / network (mirror or not)

Before any install or pip/npm/pixi add, decide whether the user is on mainland China and needs mirrors.

Signals (use several; do not rely on one):

SignalMainland likely
User writes in Chinese and mentions 国内 / 镜像 / 翻墙 / 清华 / 阿里yes
TZ / system timezone Asia/Shanghai, Asia/Chongqing, Asia/Urumqihint
Locale zh_CN, zh-Hans-CNhint
curl -s --connect-timeout 3 https://pypi.org/simple/ fails or >5s; tuna mirror responds in <2syes
User explicitly says they are not in China / have full international accessno

If ambiguous, ask once: "Are you on mainland China? I'll use domestic mirrors for pip/npm/conda if yes."

When mainland mirrors apply, set these before installs (user shell profile or session env):

# PyPI / uv (core bootstrap + pixi pip deps)
export UV_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
export PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple

# npm (scimaster-cli)
npm config set registry https://registry.npmmirror.com

Windows (PowerShell, persist for user):

[Environment]::SetEnvironmentVariable("UV_INDEX_URL", "https://pypi.tuna.tsinghua.edu.cn/simple", "User")
[Environment]::SetEnvironmentVariable("PIP_INDEX_URL", "https://pypi.tuna.tsinghua.edu.cn/simple", "User")
npm config set registry https://registry.npmmirror.com

Pixi conda channels (global or per-project pixi.toml):

[project]
channels = ["https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/"]

[pypi-config]
index-url = "https://pypi.tuna.tsinghua.edu.cn/simple"

Or global:

pixi config set --global pypi-config.index-url https://pypi.tuna.tsinghua.edu.cn/simple

Alternatives if tuna is slow: Aliyun PyPI https://mirrors.aliyun.com/pypi/simple/, USTC conda mirrors.

If international access works, do not set mirrors — use defaults.

0b — Tool presence

Run with shell (PowerShell on Windows, sh -c elsewhere):

Windows:

Get-Command uv,node,npm,sci,pixi -ErrorAction SilentlyContinue | Select-Object Name,Source
uv --version 2>$null; node --version 2>$null; npm --version 2>$null; sci --version 2>$null; pixi --version 2>$null

macOS / Linux:

for c in uv node npm sci pixi; do command -v $c && $c --version 2>/dev/null; done

Capabilities (能力) shows: Python · uv · Node · sci · pixi · skills · MCP.

Layer 1 — Core: uv + Python

wisp-science does not ship Python. It needs uv on PATH (or UV_PATH) to create the managed venv.

What gets created automatically

  1. uv venv → virtualenv under app data
  2. uv pip install -r …/python/requirements-mcp.txt
  3. Marker .wisp_deps_ok when deps succeed
OSDesktop venv path
Windows%APPDATA%\science.wisp-science\wisp-science\python\.venv
macOS~/Library/Application Support/science.wisp-science/wisp-science/python/.venv
Linux~/.local/share/science.wisp-science/wisp-science/python/.venv

Dev checkout: <workspace>/.wisp/python/.venv

Install uv

International:

# Windows
powershell -ExecutionPolicy Bypass -c "irm https://astral.sh/uv/install.ps1 | iex"
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

Mainland China: prefer winget / Homebrew / distro package if the astral installer is slow or blocked; set UV_INDEX_URL (above) before uv pip install.

winget install --id astral-sh.uv -e          # Windows
brew install uv                               # macOS

Default binary: ~/.local/bin/uv (Unix) or %USERPROFILE%\.local\bin\uv.exe (Windows). Ensure that dir is on PATH.

Python via uv

uv python install 3.11
uv python list

Target: Python 3.11+. With mainland mirrors, export UV_INDEX_URL first.

Manual bootstrap (auto-setup failed)

Set REQ to <repo>/python/requirements-mcp.txt or bundled copy. With mirrors:

export UV_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple   # if mainland
uv venv "$APP_DATA/python/.venv"
uv pip install -r "$REQ" --python "$APP_DATA/python/.venv/bin/python"

Windows: same with $env:UV_INDEX_URL and Scripts\python.exe.

Verify core

uv --version
# managed venv:
python -c "import mcp, pandas; print('ok')"

Layer 2 — Literature: Node + scimaster-cli

Required for bundled bear-support, bear-counter, bear-map, bear-scoop, bear-trace, bear-review, bear-onboard, bear-propose.

Install Node >= 20

International: https://nodejs.org/ LTS, or winget install OpenJS.NodeJS.LTS, or brew install node.

Mainland China:

# Windows — winget often works; or npmmirror-hosted installer
winget install OpenJS.NodeJS.LTS
# macOS — brew or fnm with npmmirror
brew install node
# fnm alternative:
# export FNM_NODE_DIST_MIRROR=https://npmmirror.com/mirrors/node
# fnm install 20 && fnm use 20

After install, open a new terminal; verify node --version (v20+).

scimaster-cli

Set npm registry first if mainland (see 0a), then:

npm install -g scimaster-cli
sci init        # paste SciMaster API Key
sci --version
sci usage

API Key: SciMaster settings → API Key. Do not proceed with bear-* skills if sci --version fails.

In the wisp-science desktop app, you can also save the SciMaster key in Settings -> Credentials -> SCIMaster. Wisp will sync that key into ~/.scimaster/config.json for scimaster-cli.

Layer 3 — Bioinformatics: pixi

pixi manages isolated per-project environments (conda + pip) — use for scanpy/single-cell, variant calling stacks, etc. The wisp python tool uses the core uv venv; run bioinfo code via shell: pixi run python … or pixi run … in the project directory.

Install pixi

International:

curl -fsSL https://pixi.sh/install.sh | bash
powershell -ExecutionPolicy ByPass -c "irm -useb https://pixi.sh/install.ps1 | iex"

Mainland China: if install script is slow, try brew install pixi (macOS) or download release from GitHub mirror; then configure mirrors (0a).

Typical project workflow

In the user's analysis directory:

pixi init
pixi add scanpy anndata          # example; adjust to task
pixi run python analysis.py

Multiple envs: use [environments] / features in pixi.toml, or separate project dirs — see pixi docs.

With mainland mirrors, set [pypi-config] and channels in pixi.toml (0a) before large pixi add.

Verify pixi

pixi --version
pixi info    # shows config paths and channels

Workarounds

IssueFix
uv/node installed but app still says missingRestart wisp-science; confirm tools on PATH for the GUI user (macOS: relaunch from Dock after shell profile update).
Cannot modify PATHSet UV_PATH / PIXI_PATH to full binary paths before launching wisp-science.
Mainland: timeouts on pypi.org / registry.npmjs.orgApply Step 0a mirrors; retry.
Corporate proxy / TLSHTTPS_PROXY, trust store; still use mirrors if direct egress to US is blocked.
Corrupt core venvDelete python/.venv under app data; restart (bootstrap recreates).
bear-* skill stops at CLI checkInstall Node + scimaster-cli + sci init; do not fake citations.

Agent workflow

  1. use_skill this file when Capabilities or bootstrap reports missing tools.
  2. Step 0a first — detect mainland vs international; configure mirrors before any download.
  3. Detect OS — PowerShell on Windows, sh elsewhere.
  4. Install missing layers in order: core (uv)literature (Node+sci)bioinfo (pixi) as needed.
  5. Verify each layer; tell user to restart wisp-science after PATH/config changes.
  6. Finish with attempt_completion: region/mirror choice, what was installed, paths checked, Capabilities expectations.

Not in scope

  • Remote GPU or direct SSH → compute-env-setup; managed cloud backends are unavailable until Wisp implements a matching execution-context backend
  • Replacing pixi with conda/micromamba when pixi suffices locally
  • SciMaster API billing / key provisioning beyond pointing to sci init

Alternatives

Compare before choosing

Computed 9831,966

K-Dense-AI/scientific-agent-skills

dask

Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.

Computed 9831,966

K-Dense-AI/scientific-agent-skills

neurokit2

Use NeuroKit2 to build or audit reproducible research workflows for physiological time-series preprocessing, event/interval analysis, multimodal alignment, variability, and complexity. Trigger when code imports neurokit2 or needs its current APIs, schemas, and method-aware validation—not for diagnosis or device validation.

Computed 9737,126

github/awesome-copilot

geofeed-tuner

Use this skill whenever the user mentions IP geolocation feeds, RFC 8805, geofeeds, or wants help creating, tuning, validating, or publishing a self-published IP geolocation feed in CSV format. Intended user audience is a network operator, ISP, mobile carrier, cloud provider, hosting company, IXP, or satellite provider asking about IP geolocation accuracy, or geofeed authoring best practices. Helps create, refine, and improve CSV-format IP geolocation feeds with opinionated recommendations beyon

Computed 9731,966

K-Dense-AI/scientific-agent-skills

biopython

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.