본문으로 건너뛰기
cccskills
무료GitHub에 공개

windows-agent-env-clone

扫描本机 Windows 环境,生成/更新一份可在新机复刻的 Agent 开发运行环境配置清单(md)。当用户要求"给另一台 Windows 克隆环境""生成环境配置清单""更新配置清单""新机要装什么"时使用。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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 展示,并在回复里给一份精简清单摘要(用户偏好直接看结果,不爱冗长解释)。

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

使用 AACT (Aggregate Analysis of ClinicalTrials.gov) PostgreSQL 数据仓库进行批量、历史、聚合性临床试验数据挖掘。Use this skill when the user requests bulk SQL analysis over the full clinical trials data warehouse — historical trial trends, disease landscapes, similar-design matching, or multi-year aggregations across hundreds of thousands of NCT records. 触发场景包括:AACT 查询、临床试验批量分析、PostgreSQL 试验数据、全量 NCT 检索、试验数据挖掘、历史试验分析、clinical trials data warehouse、SQL trials、bulk trial analysis、disease landscape、试验设计相似性匹配、跨年度聚合、sponsor/phase/country 多维统计。**与 clinical-trials-v2 差异**:本 skill 走批量 SQL · 离线大数据(PostgreSQL);v2 走实时 API · 单查询。两者互补:单条 NCT 实时状态用 v2,百万级历史挖掘用本 skill。支持云端公共 PostgreSQL(aact-db.ctti-clinicaltrials.org · 零部署)和每日 dump 本地还原(高性能 · 离线)两种连接方式,自动检测优先用本地。跨平台(macOS/Linux/Windows)参数化 SQL 防注入,read-only 强制保护。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

EthanYoQ/Skill-hub112026년 10월 19일 업데이트

使用 AACT (Aggregate Analysis of ClinicalTrials.gov) PostgreSQL 数据库进行大批量临床试验历史分析与数据挖掘。触发场景包括:AACT 查询、临床试验批量分析、PostgreSQL 试验数据、全量 NCT 检索、试验数据挖掘、clinical trials data warehouse、疾病领域全景分析、设计相似试验匹配、跨年度试验趋势聚合。本 skill 通过 SQL 接口处理百万级试验记录,支持云端公共 PostgreSQL 服务(aact-db.ctti-clinicaltrials.org)和每日 dump 本地还原两种连接方式,自动检测并优先使用本地高性能模式。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

EthanYoQ/Skill-hub112026년 10월 19일 업데이트

Use when work produces a deliverable, factual claim, dataset, code change, decision, publication, deployment, automation, or irreversible action whose failure would matter; when the user asks for a quality gate, acceptance criteria, QA, completeness, validation, audit, evidence, preflight, release readiness, or a definition of done; or before claiming completion on medium- or high-risk work. Automatically decide whether a formal gate is warranted, derive task-specific pass/fail criteria, gather evidence, and block unsupported completion. Make sure to use this skill even when the user does not say "quality gate" if consequential work needs acceptance criteria or completion evidence. Skip formal gating for trivial, reversible, low-impact requests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

EthanYoQ/Skill-hub112026년 10월 19일 업데이트

Create a changeset file in .changeset/ that describes a user-facing change for the release notes

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

EthanYoQ/Skill-hub112026년 10월 19일 업데이트

Add a new competitor to the AI Visibility Tool Directory — researches the tool, generates data, takes a screenshot, and inserts into the codebase

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

EthanYoQ/Skill-hub112026년 10월 19일 업데이트

add-lang

무료

Add tree-sitter language support to codegraph end-to-end — wire the grammar + extractor, write tests, then benchmark extraction quality and retrieval value on 3 popular real-world repos. Use when the user runs /add-lang <language> or asks to add/support a new language (e.g. Lua, Elixir, Zig, OCaml) in codegraph.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

EthanYoQ/Skill-hub112026년 10월 19일 업데이트

EthanYoQ의 스킬 모두 보기

이 스킬의 문제 신고