/research-writing-assistant:environment-setupfrom 科研写作助手 (Research Writing Assistant)
Installs Miniconda, creates a Python virtual environment, and installs data visualization dependencies (matplotlib, seaborn, etc.). Useful when conda or Python plotting tools are missing.
Ships in 科研写作助手 (Research Writing Assistant). 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.
None: SKILL.md is the whole skill.
本技能用于在终端完成 Python 画图环境的全流程配置。
research 环境plan/progress.mduname -s
uname -m
echo "$SHELL"
$PSVersionTable.PSVersion
$env:OS
set -euo pipefail
# 1) 选择安装包
ARCH="$(uname -m)"
if [ "$ARCH" = "arm64" ]; then
URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh"
else
URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh"
fi
# 2) 下载并静默安装
INSTALLER="$HOME/Downloads/miniconda.sh"
curl -fsSL "$URL" -o "$INSTALLER"
bash "$INSTALLER" -b -p "$HOME/miniconda3"
# 3) 当前 shell 立即可用
export PATH="$HOME/miniconda3/bin:$PATH"
# 4) 初始化 shell
"$HOME/miniconda3/bin/conda" init "$(basename "$SHELL")"
# 5) 验证
conda --version
$ErrorActionPreference = "Stop"
# 1) 下载
$installer = Join-Path $env:TEMP "Miniconda3-latest-Windows-x86_64.exe"
Invoke-WebRequest -Uri "https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe" -OutFile $installer
# 2) 静默安装
$target = "$env:USERPROFILE\miniconda3"
Start-Process -FilePath $installer -ArgumentList "/InstallationType=JustMe","/RegisterPython=0","/S","/D=$target" -Wait
# 3) 初始化 powershell
& "$target\Scripts\conda.exe" init powershell
# 4) 验证
$env:Path = "$target;$target\Scripts;$target\condabin;" + $env:Path
conda --version
默认环境名:research
conda create -n research python=3.11 -y
conda activate research
python -m pip install --upgrade pip
pip install numpy pandas scipy matplotlib seaborn scikit-learn statsmodels jupyter ipykernel openpyxl
python -m ipykernel install --user --name research --display-name "Python (research)"
可选:
pip install plotly pingouin
python - <<'PY'
import sys
import numpy, pandas, matplotlib, seaborn, sklearn, statsmodels
print('Python:', sys.version.split()[0])
print('numpy:', numpy.__version__)
print('pandas:', pandas.__version__)
print('matplotlib:', matplotlib.__version__)
print('seaborn:', seaborn.__version__)
print('sklearn:', sklearn.__version__)
print('statsmodels:', statsmodels.__version__)
print('ENV CHECK: OK')
PY
执行画图任务前,至少确认:
research 环境matplotlib 和 seaborn 导入正常figures/)conda: command not foundmacOS / Linux:
export PATH="$HOME/miniconda3/bin:$PATH"
conda init "$(basename "$SHELL")"
Windows PowerShell:
$env:Path = "$env:USERPROFILE\miniconda3;$env:USERPROFILE\miniconda3\Scripts;" + $env:Path
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
conda create -n research_clean python=3.11 -y
conda activate research_clean
pip install -r requirements.txt
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (norman-bury/research-writing-skill) — no native marketplace selected
npx claudepluginhub p/norman-bury-research-writing-assistant19 skills in this plugin
/brainstorming-researchUse before writing any paper - clarifies paper type, discipline, topic, methodology, and chapter structure through natural dialogue/evidence-driven-writingUse when writing or revising Introduction, Related Work, background, literature synthesis, or any section where references must drive claims/experiment-results-planningUse when designing experiments, result tables, mock planning data, evaluation protocols, or results sections before real data are final2 plugins ship this exact skill · first indexed Jun 10, 2026
Other plugins' skills for the same job