windows-agent-env-clone

windows-agent-env-clone is a skill for Claude Code, Codex from EthanYoQ/Skill-hub. It costs 68 tokens per session (805 once invoked), scanned A, original, MIT.

A Windows environment inventory workflow that scans an existing computer and writes a Markdown list of installed tools for reproducing the setup on another Windows machine. It checks sources such as the registry, executable paths, and package managers.

In plain words
What is it for?
It helps inspect installed runtimes, developer tools, command-line programs, AI tools, containers, and editor extensions, then record verified installation details.
Why use it?
It avoids listing software that is merely left in a PATH entry or empty folder, and avoids presenting recommendations as installed tools.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps inspect installed runtimes, developer tools, command-line programs, AI tools, containers, and editor extensions, then record verified installation details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ethanyoq/skill-hub/windows-agent-env-clone
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 EthanYoQ/Skill-hub --skill windows-agent-env-clone
Clone the repo
git clone --depth 1 https://github.com/EthanYoQ/Skill-hub

Made for: Claude Code, Codex.

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 windows-agent-env-clone

README.md
[![agentmods](https://agentmods.dev/badge/skills/ethanyoq/skill-hub/windows-agent-env-clone/github.svg)](https://agentmods.dev/skills/ethanyoq/skill-hub/windows-agent-env-clone)
Your own site
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/windows-agent-env-clone"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/windows-agent-env-clone/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 windows-agent-env-clone

Your own site · 80×15
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/windows-agent-env-clone"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/windows-agent-env-clone.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 805 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00068 $0.00805
Opus 5.5 $0.00027 $0.00322
Sonnet 5.5 $0.00014 $0.00161
Haiku 4.5 $0.00007 $0.00081

Measured 2mo ago against content hash c8d78210f2f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

windows-agent-env-clone 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 2mo 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.

archives/user-installed-skills/windows-agent-env-clone/c0921d0f8bcb54f4/windows-agent-env-clone/SKILL.md · 42 lines

What it actually says

Windows Agent 环境清单生成

硬性规则(用户反复强调)

  1. 只列本机实测已装:未安装的、建议类的、可选的一律不写;不出现"建议/如需/可选"措辞。
  2. 全局安装:禁止写入任何应用的隔离目录(.workbuddy/binaries/... 等),路径统一用全局位置。
  3. 空目录 / PATH 残留 ≠ 已装:必须 exe 或注册表命中才算。踩过坑:Ollama(仅 PATH 残留)、Notion / AutoGLM / Tokscale(空目录)。
  4. 用户点名排除的项要彻底删干净(正文、一键脚本、验证清单、PATH 四处都要查)。

扫描流程

  1. 写 Python 脚本到 tmp/ 再执行——Git Bash 里 heredoc 长脚本易截断,Write 文件最稳。
  2. 三源交叉核对:
    • 注册表卸载项(HKLM 与 HKCU 的 Uninstall,含 WOW6432Node 共三处)→ DisplayName + DisplayVersion + InstallLocation
    • 关键 exe 绝对路径探测
    • 包管理器:npm list -g、pip list(多个 Python 版本要分别扫,本机同时有 3.12 和 3.13)
  3. winget ID:用 Python subprocess 调 winget list 并过滤关键字。

已知坑

  • cmd /c "..." 被安全策略拦截,不要用。
  • PowerShell 工具 stdout 常被吞(返回空)→ 写文件再读也可能失败,优先用 Python subprocess。
  • Bash 里 node / python 可能解析到隔离版,取真实系统版本要用绝对路径:C:/Program Files/nodejs/node.exe。
  • wsl.exe 在安全黑名单,调用会被拒 → 只用注册表确认 WSL 已启用,发行版另查或标注"未检出"。
  • VS Code 扩展:读 ~/.vscode/extensions 目录名比执行 code --list-extensions 稳定。
  • Electron 应用版本:读 resources/app/package.json;目录存在但为空 = 未真正安装,不列入。
  • code --list-extensions、npm list -g 在 Python subprocess 里常因 PATH 找不到,改走目录读取。

输出文档结构(12 章)

基础运行时 → 编译工具链 → 开发工具(含 VS Code 扩展)→ AI/Agent 工具 → 沙箱与容器 → 命令行效率工具 → 常用桌面软件 → Python 全局包(按版本分块)→ PATH 参考 → 一键安装脚本(PowerShell)→ 安装后验证清单 → 明确未列入项(表格附排除原因)

收尾

写完后用 present_files 展示,并在回复里给一份精简清单摘要(用户偏好直接看结果,不爱冗长解释)。

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. 2mo ago First seen · 42 lines · 68 tokens per session scan A c8d78210f2f4

Subscribe to this mod's changes

windows-agent-env-clone is a skill published in the GitHub repository EthanYoQ/Skill-hub (12 stars, last pushed 2d ago), licensed MIT. It adds 68 tokens to every session and 805 once invoked, about $0.0003 per session on Opus 5.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-09-13.

Related

windows-agent-env-clone compared with skills from other repositories

windows-agent-env-clone next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
windows-agent-env-cloneEthanYoQ/Skill-hubSkill122d agoMITA68Claude Code, Codex
housecleanSethGammon/CitadelSkill9433d agoMITA89Claude Code
scheduleSethGammon/CitadelSkill9433d agoMITA41Claude Code
compassspacedock-dev/spacedockSkill873d agoApache-2.0A51Claude Code
artifact-accessChisiki1/objective-integrity-frameworkSkill2428d agoApache-2.0A48Codex
cool-workflowcoo1white/cool-workflowSkill25d agoBSD-2-ClauseA50Claude Code
handoffYSAA1/harness-workflowSkill31mo agoMITA80Claude Code, Codex