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.
npx skills add jiushiwon/wg-skills --skill deploy-detect-skillgit clone --depth 1 https://github.com/jiushiwon/wg-skillsWrote 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.
[](https://agentmods.dev/skills/jiushiwon/wg-skills/deploy-detect-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/deploy-detect-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/deploy-detect-skill/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.
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/deploy-detect-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/deploy-detect-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00103 | $0.02002 |
| Opus 5.5 | $0.00041 | $0.00801 |
| Sonnet 5.5 | $0.00021 | $0.00400 |
| Haiku 4.5 | $0.00010 | $0.00200 |
Grade A, and why
deploy-detect-skill 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.
How it starts
The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Deploy Detect Skill
Overview
本 skill 把「这个项目要部署需要哪些环境」这件事规范化:扫描项目根目录的标志性文件,推断语言、Web 框架、前端构建产物、数据库、缓存/消息组件,输出一份可被下游 4 个部署 skill 消费的 deploy-profile.md。
它不执行安装、不修改项目代码,只做「识别 + 文档落地」。
When to Use
触发词:
部署检测detect deploy项目技术栈检测识别部署技术栈帮我看看这个项目部署需要什么
当用户准备部署一个项目,但还没确定部署方式时,应先调用本 skill。
Workflow Summary
Phase 1: 扫描根目录标志性文件
→ package.json / pom.xml / build.gradle / go.mod / requirements.txt / pyproject.toml
→ Dockerfile / docker-compose.yml
→ .env / .env.example / config/ 目录
→ dist/ / build/ / public/ 等前端产物目录
Phase 2: 推断技术栈
→ 语言(Node.js / Python / Java / Go / Ruby / PHP)
→ Web 框架(Express / NestJS / FastAPI / Django / Spring Boot / Gin)
→ 前端框架(Vue / React / Angular / Svelte / 纯静态)
→ 数据库(PostgreSQL / MySQL / MongoDB / SQLite)
→ 缓存/消息(Redis / RabbitMQ / Kafka / Elasticsearch)
→ 标注每项的置信度(高 / 中 / 低)
Phase 3: 询问用户确认/修正
→ 对「中 / 低」置信度项必须确认
→ 区分「开发依赖」与「生产依赖」(如 .env 里的 DB_URL 是本地还是生产)
→ 询问是否包含前端静态资源
Phase 4: 写入 deploy-profile.md
→ 固定结构:项目信息 / 技术栈表格 / 推断的部署需求
→ 输出到项目根目录(或用户指定路径)
Phase 1: 扫描根目录标志性文件
按优先级扫描以下文件/目录,命中即记录:
| 优先级 | 文件/目录 | 用途 |
|---|---|---|
| 高 | package.json |
Node.js / 前端框架识别 |
| 高 | pom.xml / build.gradle |
Java / Kotlin 识别 |
| 高 | go.mod |
Go 识别 |
| 高 | requirements.txt / pyproject.toml / Pipfile |
Python 识别 |
| 高 | Gemfile / composer.json |
Ruby / PHP 识别 |
| 中 | Dockerfile / docker-compose.yml |
已有容器化线索、base image 推断版本 |
| 中 | .env / .env.example / config/ |
数据库、缓存、第三方组件线索 |
| 中 | dist/ / build/ / public/ / .next/ / .nuxt/ |
前端构建产物 |
| 低 | 源码中出现的关键字(如 import redis) |
辅助佐证 |
只读不改:本 skill 不得修改任何项目文件。
Phase 2: 推断技术栈
按 references/detection-rules.md 的规则逐项识别。每项必须标注置信度:
- 高:存在明确标志性文件或依赖声明(如
package.json里有express)。 - 中:通过配置文件推断(如
.env里有DB_URL=postgres://...)。 - 低:代码里出现关键字但未在依赖中声明(如
import redis但package.json没有 redis)。
2.1 语言识别顺序
如果一个项目同时存在多种语言(如 monorepo),分别记录每个子目录的技术栈,并在 deploy-profile.md 中分区列出。
What ships with it
4 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.
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.
- 2mo ago First seen · 164 lines · 103 tokens per session scan A ebfca4e4cc95
deploy-detect-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 103 tokens to every session and 2,002 once invoked, about $0.0004 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-30.
deploy-detect-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| deploy-detect-skilljiushiwon/wg-skills | Skill | 154 | 7d ago | Apache-2.0 | A | 103 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 331k | 3d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |