server-setup-skill

server-setup-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 115 tokens per session (2,255 once invoked), scanned D, original, Apache-2.0.

A server setup helper that checks the operating system, installed runtime versions, and tools such as Java, Node.js, Python, Go, Docker, Nginx, databases, and caches. It compares those findings with a project's deployment profile and creates commands for missing items.

In plain words
What is it for?
Use it to inspect a server, compare it with a project's requirements, and produce operating-system-specific commands for missing runtimes and services.
Why use it?
It shows what a deployment server lacks before setup and separates environment checks from potentially risky installation or database-initialisation actions.

Skill for Claude CodeCodex

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

Good fit Use it to inspect a server, compare it with a project's requirements, and produce operating-system-specific commands for missing runtimes and services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/server-setup-skill
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 jiushiwon/wg-skills --skill server-setup-skill
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

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 server-setup-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/server-setup-skill/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/server-setup-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/server-setup-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/server-setup-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.

agentmods 80×15 button for server-setup-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/server-setup-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/server-setup-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,255 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 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.00115 $0.02255
Opus 5.5 $0.00046 $0.00902
Sonnet 5.5 $0.00023 $0.00451
Haiku 4.5 $0.00012 $0.00226

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

Security

Grade D, and why

server-setup-skill scanned grade D with 3 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.

The scan reads SKILL.md. This mod also ships 2 executable files (assets/install.ps1, assets/install.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- 当前用户与 sudo 权限

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- 不使用 `curl | sh` 之外的不可审计安装方式;如必须,明确标注风险。

Makes network callslowCapability

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

| Node.js | 22 | 18 | `curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - && sudo apt install -y nodejs` |
super-deploy-skills/server-setup-skill/SKILL.md · 188 lines

How it starts

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

Server Setup Skill

Overview

本 skill 解决「项目要部署到某台服务器,但不知道服务器上缺什么环境」的问题。它读取 deploy-detect-skill 生成的 deploy-profile.md,检测目标服务器的 OS、已安装运行时版本,对比缺失项,生成幂等的安装命令清单。

默认行为是「只生成脚本/命令,不自动执行」;如用户明确要求执行安装,必须二次确认,且数据库初始化类操作永不自动执行。

When to Use

触发词:

  • 服务器环境检测
  • server setup
  • 环境安装
  • 检测服务器依赖
  • 看看服务器缺什么

前置依赖:建议先运行 deploy-detect-skill 生成 deploy-profile.md。如无画像,本 skill 仍可检测服务器基础环境,但无法判断「缺什么」。

Workflow Summary

Phase 1: 读取 deploy-profile.md(如存在)
  → 提取需要运行时、数据库、缓存、反向代理需求

Phase 2: 检测目标服务器 OS
  → Ubuntu / Debian / CentOS / RHEL / Alpine / macOS / Windows Server
  → 确定包管理器(apt / yum / dnf / apk / brew / winget)

Phase 3: 检测已安装环境版本
  → java -version / node -v / python3 -V / go version
  → docker -v / docker compose version / nginx -v
  → psql / mysql / mongosh / redis-cli(按画像需求)

Phase 4: 对比缺失项
  → 画像需要 vs 服务器已有 = 缺失清单

Phase 5: 生成安装命令清单
  → 按 OS 输出对应包管理器命令
  → 每条命令必须幂等(已存在则跳过)
  → 区分「仅检测」与「执行安装」两种模式

Phase 6: 数据库单独处理
  → 生成安装 + 初始化命令,但默认不执行
  → 初始化(建库、建用户、导入 schema)必须用户手动确认

Phase 1: 读取 deploy-profile.md

  • 如画像存在:提取「需要运行时 / 数据库 / 缓存 / 消息队列 / 反向代理」。
  • 如画像不存在:仅做基础环境检测,并提示用户先运行 deploy-detect-skill。

Phase 2: 检测目标服务器 OS

按 references/os-detection.md 执行检测命令,输出:

  • OS 名称与版本(如 Ubuntu 22.04 LTS)
  • 内核版本(uname -r / systeminfo)
  • CPU 架构(uname -m,影响部分安装包选择)
  • 包管理器(apt / yum / dnf / apk / brew / winget)
  • 当前用户与 sudo 权限

Phase 3: 检测已安装环境版本

按画像需求逐项检测,记录「已安装 / 未安装 / 版本不符」:

组件 检测命令
Java java -version / javac -version
Node.js node -v / npm -v
Python python3 -V / pip3 -V
Go go version
Docker docker -v / docker compose version
Nginx nginx -v
PostgreSQL psql --version / pg_isready
MySQL mysql --version
MongoDB mongosh --version
Redis redis-cli --version / redis-cli ping

3.1 运行状态检测

除「是否安装」外,还要检测「运行状态」(见 references/os-detection.md 的「运行状态检测」段):

  • 监听端口清单(ss -tlnp / Get-NetTCPConnection),与画像目标端口比对冲突。
  • 运行中的服务(systemctl list-units --state=running / Get-Service)。
  • 目标应用的老实例进程(pgrep -af / Get-Process),用于部署前优雅停止。
  • 负载与资源占用(uptime / vmstat / Get-Counter),判断容量是否足够。

Read the full file on GitHub · 188 lines

Files

What ships with it

6 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. 2mo ago First seen · 188 lines · 115 tokens per session scan D 7e9f33e901dc

Subscribe to this mod's changes

server-setup-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 115 tokens to every session and 2,255 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.

Related

server-setup-skill compared with skills from other repositories

server-setup-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
server-setup-skilljiushiwon/wg-skillsSkill1547d agoApache-2.0D115Claude Code, Codex
gke-compute-classesgoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill25ktodayApache-2.0A115Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code