Tooluck logoTooluck
SKILL.md

environment-setup

Agent skill fromNorman-bury/research-writing-skill

Use when Python environment setup is needed for data visualization or conda installation is required

How to install environment-setup

install environment-setup
# install the research-writing-skill pack with the skills CLI
npx skills add Norman-bury/research-writing-skill

# or add only this skill to Claude Code: copy the folder

skills/environment-setup/

# into

~/.claude/skills/environment-setup/ (all projects)

.claude/skills/environment-setup/ (one project)

skills/environment-setup/SKILL.md

MITFull file
1# 环境配置
2
3本技能用于在终端完成 Python 画图环境的全流程配置。
4
5## 适用场景
6
7- 用户要求安装 Miniconda
8- 用户要求创建虚拟环境
9- 用户要求"用 Python 画图"但环境未就绪
10- 绘图脚本运行报环境相关错误
11
12## Checklist
13
14- [ ] 系统识别(macOS/Linux/Windows)
15- [ ] Miniconda 安装/修复
16- [ ] conda 初始化
17- [ ] 创建 `research` 环境
18- [ ] 安装绘图依赖
19- [ ] 环境自检
20- [ ] 更新 `plan/progress.md`
21
22## 一、系统识别
23
24### macOS / Linux
25
26```bash
27uname -s
28uname -m
29echo "$SHELL"
30```
31
32### Windows PowerShell
33
34```powershell
35$PSVersionTable.PSVersion
36$env:OS
37```
38
39## 二、Miniconda 安装
40
41### macOS 全自动流程
42
43```bash
44set -euo pipefail
45
46# 1) 选择安装包
47ARCH="$(uname -m)"
48if [ "$ARCH" = "arm64" ]; then
49 URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh"
50else
51 URL="https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh"
52fi
53
54# 2) 下载并静默安装
55INSTALLER="$HOME/Downloads/miniconda.sh"
56curl -fsSL "$URL" -o "$INSTALLER"
57bash "$INSTALLER" -b -p "$HOME/miniconda3"
58
59# 3) 当前 shell 立即可用
60export PATH="$HOME/miniconda3/bin:$PATH"
61
62# 4) 初始化 shell
63"$HOME/miniconda3/bin/conda" init "$(basename "$SHELL")"
64
65# 5) 验证
66conda --version
67```
68
69### Windows 全自动流程(PowerShell)
70
71```powershell
72$ErrorActionPreference = "Stop"
73
74# 1) 下载
75$installer = Join-Path $env:TEMP "Miniconda3-latest-Windows-x86_64.exe"
76Invoke-WebRequest -Uri "https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe" -OutFile $installer
77
78# 2) 静默安装
79$target = "$env:USERPROFILE\miniconda3"
80Start-Process -FilePath $installer -ArgumentList "/InstallationType=JustMe","/RegisterPython=0","/S","/D=$target" -Wait
81
82# 3) 初始化 powershell
83…

Excerpt shown under the repository's MIT license.

More skills in research-writing-skill

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates