environment-setup

A guided setup for beginners who are learning to code, running a program for the first time, or moving to a new computer. It covers the required software, installation checks, project folders, and first run.

In plain words
What is it for?
It is for preparing a coding environment, checking language versions, documenting setup in an HTML presentation, and diagnosing permissions, network, or proxy problems.
Why use it?
It reduces errors caused by missing or mismatched programming tools and unclear setup instructions.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/yyz666ai/learning-agent/environment-setup
Any agent
npx skills add yyz666ai/Learning-Agent --skill environment-setup
Clone the repo
git clone --depth 1 https://github.com/yyz666ai/Learning-Agent

Made for: Claude Code, Codex.

Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00034 $0.00524
Opus 5 $0.00017 $0.00262
Sonnet 5 $0.00007 $0.00105
Haiku 4.5 $0.00003 $0.00052

Measured 2d ago against content hash 6a30c64595fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

environment-setup scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

workspace/dev/.codex/skills/environment-setup/SKILL.md · 30 lines

What it actually says

环境搭建

一次只搭当前课程真正需要的环境,装完立刻验证,不跳步、不臆测用户已装了什么。零基础课程的环境说明必须进入 HTML PPT,而不只是聊天提示。

执行流程

  1. 读取主题、课程要求和学习者操作系统;不要猜测操作系统。画像未知时提供 macOS / Windows / Linux 三个短分支,不额外卡住课程。
  2. 区分需要下载的软件与可选工具:语言运行时/编译器通常必装,编辑器插件通常可选;说明每项用途。
  3. 下载只给官方入口或研究产物里已核验的官方文档。版本敏感时先核对课程要求,不能默认“最新”,也不能编造下载链接。
  4. 在第一次运行代码前生成一张 HTML PPT「环境准备」页,至少包含:软件与用途、官方入口、安装步骤、版本验证命令课程项目目录、编辑器打开方式、源文件位置和首次运行命令
  5. 每个安装步骤紧跟“怎么验证成功”。例如 Python 可用 python3 --version,Go 可用 go version;实际命令必须根据平台和课程确定。
  6. 验证通过后写入 environment_ready,再开始第一个代码概念。后续章节不再重复整套安装,只显示一句先修检查;出现真实环境错误时再回到本 Skill。

边界

  • 不替用户下载安装包或改系统环境变量;只给官方入口、命令和说明,由用户执行并反馈结果。
  • 遇到权限 / 网络 / 代理问题,给诊断方向(如换国内镜像),不猜测用户系统状态。
  • 按目标代码或课程的版本要求给建议,不默认「装最新就好」。
  • 环境没验证成功前,不推进教学概念。
  • 纯概念 meaning_only 不强行要求下载软件或建立项目目录。

状态边界

  • 环境就绪可作为 environment_ready 证据写入;但它不是语言概念掌握,不得推进 mastered。
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 30 lines · 34 tokens per session scan A 6a30c64595fe

Subscribe to this mod's changes

environment-setup is a skill published in the GitHub repository yyz666ai/Learning-Agent (1 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 524 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

skillpack-creator

Create a reusable SkillPack from a successful completed task. Use when the user wants to convert a one-off research, coding, analysis, or content workflow into a distributable local SkillPack with skillpack.json, local skills under skills/, starter prompts, start scripts, and an optional zip package.

CreminiAI/skillpack · 67 tokens

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

CreminiAI/skillpack · 64 tokens

commit

Atomic git commit with conventional message. Use when the user says "commit", "save my changes", "commit this", or wants to create a git commit. Stages specific files, writes a conventional commit message with body explaining non-obvious decisions. Never uses git add -A.

congchuanling-dot/Cohort · 59 tokens

python-run

Run and debug Python scripts in the project. Use when the user says "run python", "execute this script", "debug this py file", or wants to run/modify a .py file. Handles dependency checks, linting, execution, and error analysis.

congchuanling-dot/Cohort · 56 tokens

akirule

Aki's contextual rule router — invoke BEFORE acting whenever the task touches any of - .md/.vue/.css/.tsx/.rs/.sql files; docs, plan, README, CHANGELOG; UI, component, CSS, tailwind; SEO, schema, sitemap; release, version, commit, push, deploy; DB schema, migration; Tauri; i18n, UI copy; pricing, biz; UX review…

lacvietanh/akidevrule · 137 tokens

akigitcommit

Analyze the working tree and commit changes in clean logical groups. Triages a long half-finished tree first (finished vs mid-edit vs abandoned vs accidental) before grouping. Auto-detects CHANGELOG to switch between domain-grouped mode (3–5 commits by object/feature) and type-grouped mode (feat/fix/refactor). Stages…

lacvietanh/akidevrule · 100 tokens