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 nodejs-init-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/nodejs-init-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/nodejs-init-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/nodejs-init-skill.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 126 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00219 | $0.02762 |
| Opus 5 | $0.00110 | $0.01381 |
| Sonnet 5 | $0.00044 | $0.00552 |
| Haiku 4.5 | $0.00022 | $0.00276 |
Grade A, and why
nodejs-init-skill scanned grade A with 1 finding 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 8d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -F "[email protected]" http://localhost:3000/api/upload How it starts
The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Node.js Init Skill
面向完全不懂编程的小白,一键生成标准化、开箱即用的 Node.js + Express Web 服务骨架。
与其他后端初始化技能的区别
| 维度 | springboot-init-skill | fastapi-init-skill | 本 skill |
|---|---|---|---|
| 目标用户 | 零基础小白 | 零基础小白 | 零基础小白 |
| 语言 | Java | Python | JavaScript/TypeScript |
| 框架 | Spring Boot | FastAPI | Express.js |
| 环境安装 | 自动检测+JDK | 自动检测+Python | 自动检测+Node.js |
| 启动方式 | ./restart.sh | ./restart.sh | npm start / npm run dev |
| 默认数据库 | MySQL | MySQL | MongoDB(可选 MySQL/PG) |
| ORM | JPA | SQLAlchemy | Mongoose / Sequelize |
| 鉴权 | Spring Security + JWT | FastAPI JWT | passport.js + JWT |
| 交互次数 | 3个问题 | 3个问题 | 3个问题 |
不重复造轮子:统一响应信封、错误码、JWT 规范与 backend-convention-skill 对齐,但模板已内置于本 skill(references/api-contract-template.md、references/project-guide-template.md),生成项目不依赖 backend-convention-skill 文件;数据库配置引用 database-skill;前端联动规范引用 frontend-request-skill。本 skill 在它们之上增加「小白友好」的完整封装。
依赖
- backend-convention-skill:响应信封
{ code, message, data }、错误码(-1001 校验 / -2000 系统)、JWT Bearer、api-contract、project-guide 规范对齐(模板已内置本 skill) - database-skill:MongoDB / MySQL / PostgreSQL 选型规则、连接参数
- frontend-request-skill:前端请求层规范,确保后端生成的接口契约可直接被前端消费
核心能力清单(11 项)
| # | 能力 | 说明 |
|---|---|---|
| 1 | 环境探测 | 自动检测 Node.js 版本(>=18)、npm、操作系统类型 |
| 2 | 自动安装 | 初始化 npm、安装依赖、检查兼容性 |
| 3 | 一键启动/重启 | npm start(生产)或 npm run dev(开发):自动安装依赖、启动服务 |
| 4 | 开发模式 | npm run dev 使用 nodemon 热重载,日志输出到控制台 |
| 5 | 生产模式 | npm start 使用 pm2 后台运行,日志 logs/app.log |
| 6 | JWT 鉴权 | jsonwebtoken:注册 / 登录 / 刷新令牌 / 当前用户注入 |
| 7 | 文件上传 | 内置 multer,示例端点 /api/upload 单文件与 /api/uploads 多文件 |
| 8 | 统一响应 | 中间件自动包装 { code, message, data } |
| 9 | 全局异常 | 错误中间件统一处理 BusinessError / 校验错误 / 兜底错误 |
| 10 | CORS 配置 | 内置 cors 中间件,可配置允许的域名 |
| 11 | 安全头 | 内置 helmet 中间件(X-Frame-Options / X-Content-Type-Options 等) |
生成流程
第一步:询问用户(只问 3 个问题)
1. 项目名叫什么?(默认 my-express-app)
2. 用哪个数据库?
A. MongoDB(默认,推荐)
B. MySQL
C. PostgreSQL
D. 暂时不用数据库
3. 使用 TypeScript 还是 JavaScript?(默认 JavaScript)
What ships with it
1 file 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.
- 8d ago First seen · 193 lines · 219 tokens per session scan A f671739293ad
nodejs-init-skill is a skill published in the GitHub repository jiushiwon/wg-skills (92 stars, last pushed today), licensed Apache-2.0. It adds 219 tokens to every session and 2,762 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
dynamic
Fullstack development with bkend.ai BaaS — authentication, database, API integration. Triggers: fullstack, BaaS, login, signup, database, web app.
ring:mapping-service-resources
Mapping a Go service's Service -> Module -> Resource hierarchy for dispatch-layer registration: detects modules and per-module PostgreSQL/MongoDB/RabbitMQ resources, database names, and shared databases, generates MongoDB index migration pairs (.up.json/.down.json), detects existing Postgres migrations, emits an HTML…
mongodb-development
MongoDB development guidelines with Payload CMS, Mongoose, aggregation pipelines, and TypeScript best practices.
nest-data-layer
ORM patterns for NestJS: TypeORM, Prisma, Mongoose. Covers entities, repositories, transactions, migrations, common pitfalls (N+1, cascade deletes, transaction boundaries). Use this skill to: Detect which ORM the project uses and apply matching patterns. Define entities/schemas with the right decorators. Inject…
google-firebase-ninja
Master orchestrator for 18+ Firebase agent skills from official Google repositories. Use when working with Firebase, Firestore, Firebase Auth, Firebase Hosting, Cloud Functions, Firebase Extensions, or any Firebase backend task. Routes to the optimal specialized skill based on context. Triggers: Firebase, Firestore…
mongodb-mongoose
MongoDB with Mongoose — schemas, models, aggregation pipelines, migrations, and Atlas connections. Use when designing collections, writing queries, or integrating MongoDB into Node.js/Next.js apps.