environment-setup

environment-setup is a skill for Claude Code from Norman-bury/research-writing-skill. It costs 20 tokens per session (1,203 once invoked), scanned A, original, MIT.

A workflow guide for setting up Python environments used for data visualisation, including Miniconda installation and environment creation. Conda is a tool for installing Python packages and keeping project dependencies separate.

In plain words
What is it for?
Use it to install or repair Miniconda, initialise the shell, create a research environment, install plotting dependencies, and verify the setup.
Why use it?
It provides a repeatable setup process when plotting tools are missing or a Python environment is not working correctly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the research-writing-skill plugin — 20 skills, 1 hook shipped together

Good fit Use it to install or repair Miniconda, initialise the shell, create a research environment, install plotting dependencies, and verify the setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/norman-bury/research-writing-skill/environment-setup
About the project

Norman-bury/research-writing-skill is an agent skill that turns academic paper writing into a tracked, reusable workflow with planning, drafting, reviews, figures, literature work, and LaTeX outputs. It is intended for undergraduate students, graduate students, and early-career researchers working on theses, coursework papers, or initial submissions. Its catalogue entries are the skills, instructions, plugin, and hook that implement the workflow across coding-agent platforms.

Norman-bury/research-writing-skill · 3,183 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Norman-bury/research-writing-skill --skill environment-setup
Clone the repo
git clone --depth 1 https://github.com/Norman-bury/research-writing-skill

Made for: Claude Code.

Or install research-writing-skill, the plugin that ships this one along with the rest of its 20 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for environment-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/norman-bury/research-writing-skill/environment-setup/github.svg)](https://agentmods.dev/skills/norman-bury/research-writing-skill/environment-setup)
Your own site
<a href="https://agentmods.dev/skills/norman-bury/research-writing-skill/environment-setup"><img src="https://agentmods.dev/badge/skills/norman-bury/research-writing-skill/environment-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for environment-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/norman-bury/research-writing-skill/environment-setup"><img src="https://agentmods.dev/badge/skills/norman-bury/research-writing-skill/environment-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,203 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.01203
Opus 5 $0.00010 $0.00602
Sonnet 5 $0.00004 $0.00241
Haiku 4.5 $0.00002 $0.00120

Measured 10d ago against content hash c488391fd63e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

environment-setup scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL "$URL" -o "$INSTALLER"
skills/environment-setup/SKILL.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

环境配置

本技能用于在终端完成 Python 画图环境的全流程配置。

适用场景

  • 用户要求安装 Miniconda
  • 用户要求创建虚拟环境
  • 用户要求"用 Python 画图"但环境未就绪
  • 绘图脚本运行报环境相关错误

Checklist

  • 系统识别(macOS/Linux/Windows)
  • Miniconda 安装/修复
  • conda 初始化
  • 创建 research 环境
  • 安装绘图依赖
  • 环境自检
  • 更新 plan/progress.md

一、系统识别

macOS / Linux

uname -s
uname -m
echo "$SHELL"

Windows PowerShell

$PSVersionTable.PSVersion
$env:OS

二、Miniconda 安装

macOS 全自动流程

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

Windows 全自动流程(PowerShell)

$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)"

Read the full file on GitHub · 180 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 180 lines · 20 tokens per session scan A c488391fd63e

Subscribe to this mod's changes

environment-setup is a skill published in the GitHub repository Norman-bury/research-writing-skill (3,183 stars, last pushed 3mo ago), licensed MIT. It adds 20 tokens to every session and 1,203 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

pennylane

Hardware-agnostic quantum ML framework with automatic differentiation. Use when training quantum circuits via gradients, building hybrid quantum-classical models, or needing device portability across IBM/Google/Rigetti/IonQ. Best for variational algorithms (VQE, QAOA), quantum neural networks, and integration with…

K-Dense-AI/scientific-agent-skills · 98 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

rocm-kernels

Provides guidance for writing and benchmarking optimized Triton kernels for AMD GPUs (MI355X, R9700) on ROCm, targeting HuggingFace diffusers (LTX-Video, SD3, FLUX) and transformers. Core kernels: RMSNorm, RoPE 3D, GEGLU, AdaLN. Includes XCD swizzle, autotune, diffusers integration patterns, and LTX-Video pipeline…

huggingface/kernels · 93 tokens

holoscan-install-wheel

Install Holoscan SDK Python wheel via pip into a venv. Use for Python installs; not for native C++/apt or Conda installs.

NVIDIA/skills · 37 tokens

typing-exclusion-worker

Python typing exclusion worker: remove assigned mypy exclusion modules in small scoped batches, fix typing issues, run validation, and produce a structured completion summary. Use when running parallel typing-debt workers or when asked to remove modules from pyproject mypy exclusion overrides.

getsentry/skills · 57 tokens