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 agentmods add skills/linshidream/skill-hub/project-initnpx skills add linshidream/skill-hub --skill project-initgit clone --depth 1 https://github.com/linshidream/skill-hubWhat 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 | $0.00263 | $0.08776 |
| Opus 5 | $0.00131 | $0.04388 |
| Sonnet 5 | $0.00053 | $0.01755 |
| Haiku 4.5 | $0.00026 | $0.00878 |
Grade A, and why
project-init 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 2d 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.
- L3 自写:`curl registry/v2/` ping 网络可达(200 或 401 都算可达,不 login)。 How it starts
The opening of the file, as written. The whole thing — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.
project-init — Java 项目脚手架生成器
⚠️ 强制前置规则(最高优先级,不可跳过)
生成骨架前,必须先向用户发出「初始化表单」(见第 13 节)并等待用户填写贴回。 禁止用默认值直接调
merge.py生成——用户极易忽略关键变量(groupId / 模块名 / 凭据占位 / 分支 / template)。唯一例外:用户明确表达"用默认""不要问""直接生成""全自动""跳过表单"等放弃输入的意图时,才可用默认/占位直接生成。表述模糊或未表态时,一律先发表单。
执行顺序:检测空目录 → 发表单 → 等用户填回 → 组装
--var→ 跑merge.py。绝不允许从"检测目录"直接跳到merge.py。
1. 定位
把一个空目录变成可立即 mvn package + 可构建镜像 + 可被 dev-lifecycle 接管的 Java Spring Boot 单体项目骨架。前置于 dev-spec,非必需:已有骨架则 dev-spec 直接开工,本 skill 不介入。
本 skill 是 dev-lifecycle 的第 0 个 cascade 节点(项目级、一次性):生成骨架后写项目级状态 .dev-flow/project.json(phase=scaffold:done),停留 test 分支,移交 dev-spec 开始第一个功能的需求整理(feature 级 spec:intake)。
职责边界(绝不越界):
| 动作 | 本 skill | dev-lifecycle | dev-spec | git-flow | ci-trigger |
|---|---|---|---|---|---|
| git init + initial commit + 建 test 分支 | ✅ | ||||
| pom / SpringBoot 骨架 / Dockerfile / build.sh / run.sh / rollback.sh / Jenkinsfile | ✅ | ||||
.dev-flow.yml 种子(含 scaffold 块 + build-credentials) |
✅ | ||||
.dev-flow/project.json 项目级状态(scaffold:done) |
✅ | 读取 | |||
.gitignore(含 .dev-flow/) |
✅ | ||||
docs/specs/ + docs/specs/_sources/ 空目录 |
✅ | ||||
docs/checklist/build-readiness.md 人工质检清单 |
✅ | ||||
scripts/check-build-ready.sh 机器自检 |
✅ | ||||
| README | ✅ | ||||
| spec 文档 | ✅ | ||||
.dev-flow/states/<feature>.json feature 级状态 |
✅(首次写) | ||||
| Auto Cascade 0 移交 spec:intake | ✅(编排) | ||||
| feature 分支 | ✅ | ||||
| 编排 step 开发/集成 | ✅(编排) | ||||
| 触发 CI | ✅(编排) | ✅ |
2. 触发条件
- 当前项目文件夹为空(无文件或仅有
.DS_Store等无关文件)→ 触发整骨架 init。 - 用户明确指定创建子模块 → 触发增量模块生成(
merge.py --add-module <name>,只生成模块级文件 + 根 pom<modules>追加,不覆盖根级文件/状态/git)。 - 介于之间、判断不确定 → 先提一句问用户"是否需要初始化骨架 / 新增子模块?",不要擅自生成。
3. 核心变量体系
真正独立的输入只有三个,其余派生或固定:
| 变量 | 含义 | 来源优先级 | 固定? |
|---|---|---|---|
project.name |
最外层文件夹名 = 父 POM artifactId | spec > dir_name > prompt > default | 否 |
project.groupId |
父=子共用 groupId(默认 com.own.{short}) |
spec > prompt > default | 否 |
core.module.name |
核心模块文件夹名 = 子 artifactId = finalName | spec > prompt > default({project.name}-server) |
否 |
version |
— | — | 固定 1.0.0-SNAPSHOT |
packaging.parent |
— | — | 固定 pom |
packaging.module |
— | — | 固定 jar |
branch.production |
生产分支 | spec > prompt > default | 否(默认 master) |
branch.test |
测试分支 | spec > prompt > default | 否(默认 test) |
developers |
{key: {name}} 至少一个 |
spec > git config > prompt | 否 |
What ships with it
54 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.
- adapters/claude-code.md 1.9 KB
- lib/merge.py 31 KB runs code
- mixins/fastjson2-hutool/manifest.yml 969 B
- mixins/java-maven-base/.gitignore.tmpl 131 B
- mixins/java-maven-base/application-local.yml.tmpl 117 B
- mixins/java-maven-base/application-prod.yml.tmpl 259 B
- mixins/java-maven-base/application-test.yml.tmpl 116 B
- mixins/java-maven-base/Application.java.tmpl 302 B
- mixins/java-maven-base/application.yml 393 B
- mixins/java-maven-base/ApplicationTests.java.tmpl 204 B
- mixins/java-maven-base/docs/api/README.md.tmpl 358 B
- mixins/java-maven-base/docs/specs/_sources/.gitkeep 0 B
- mixins/java-maven-base/docs/specs/.gitkeep 0 B
- mixins/java-maven-base/docs/sql/README.md.tmpl 87 B
- mixins/java-maven-base/HealthChecker.java.tmpl 1.4 KB
- mixins/java-maven-base/logback-spring.xml 2.1 KB
- mixins/java-maven-base/manifest.yml 2.7 KB
- mixins/java-maven-base/pom-parent.xml.tmpl 813 B
- mixins/java-maven-base/pom-server.xml.tmpl 1.1 KB
- mixins/java-maven-base/project-vars.yml 2.2 KB
- mixins/java-maven-base/README.md.tmpl 1.5 KB
- mixins/java-maven-base/scripts/README.md.tmpl 4.1 KB
- mixins/jenkins-docker-ci/files/build.sh.tmpl 1.6 KB
- mixins/jenkins-docker-ci/files/Dockerfile.tmpl 762 B
- mixins/jenkins-docker-ci/files/docs/checklist/build-readiness.md.tmpl 3.3 KB
- mixins/jenkins-docker-ci/files/Jenkinsfile.tmpl 4.1 KB
- mixins/jenkins-docker-ci/files/rollback.sh.tmpl 4.2 KB
- mixins/jenkins-docker-ci/files/run.sh.tmpl 4.1 KB
- mixins/jenkins-docker-ci/files/scripts/check-build-ready.sh.tmpl 4.7 KB
- mixins/jenkins-docker-ci/files/scripts/compress-old-logs.sh.tmpl 646 B
- mixins/jenkins-docker-ci/files/scripts/docker-images-offline.sh.tmpl 10.0 KB
- mixins/jenkins-docker-ci/files/scripts/push-remote.sh.tmpl 2.3 KB
- mixins/jenkins-docker-ci/manifest.yml 2.5 KB
- mixins/mysql/files/health-check.sql 787 B
- mixins/mysql/files/MysqlHealthChecker.java.tmpl 1.7 KB
- mixins/mysql/manifest.yml 1.9 KB
- mixins/redis/files/RedisHealthChecker.java.tmpl 1.9 KB
- mixins/redis/files/RedissonConfig.java.tmpl 2.1 KB
- mixins/redis/manifest.yml 1.9 KB
- mixins/rocketmq/files/RocketmqHealthChecker.java.tmpl 2.5 KB
- mixins/rocketmq/manifest.yml 1.7 KB
- README.md 3.6 KB
- skill.json 1.5 KB
- templates/java-mcp/files/README.md.tmpl 3.6 KB
- templates/java-mcp/files/src/main/java/Application.java.tmpl 911 B
- templates/java-mcp/files/src/main/java/ExampleTools.java.tmpl 889 B
- templates/java-mcp/files/src/main/java/McpStreamableServerConfig.java.tmpl 6.1 KB
- templates/java-mcp/files/src/main/java/RequestIdFilter.java.tmpl 1.2 KB
- templates/java-mcp/manifest.yml 2.9 KB
- templates/java-web/files/src/HealthController.java.tmpl 2.5 KB
- templates/java-web/files/src/RequestIdFilter.java.tmpl 1.2 KB
- templates/java-web/manifest.yml 1.5 KB
- validators/compat-table.yml 1.2 KB
- validators/version-check.sh 1.1 KB runs code
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.
- 2d ago First seen · 325 lines · 0 tokens per session scan A 80094f1d0755
project-init is a skill published in the GitHub repository linshidream/skill-hub (19 stars, last pushed 22d ago), licensed MIT. It adds 263 tokens to every session and 8,776 once invoked, about $0.0013 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
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
agent-host-chat-contributions
Build and review cross-cutting agent-host chat behavior through lifecycle contributions. Use when adding turn lifecycle side effects, prompt or context injection, restored-history transformation, protocol-action observation, or when reviewing changes that add code to AgentSideEffects or AgentService.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.