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 commands/jiushiwon/wg-skills/stackgit clone --depth 1 https://github.com/jiushiwon/wg-skillsWhat 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.00000 | $0.00625 |
| Opus 5 | $0.00000 | $0.00313 |
| Sonnet 5 | $0.00000 | $0.00125 |
| Haiku 4.5 | $0.00000 | $0.00063 |
Grade A, and why
stack 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 3d 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.
What it actually says
stack — 技术栈最佳实践
输出指定技术栈的完整最佳实践:项目结构、初始化、配置、组件、Token 应用、性能、验证。
用法
stack <name> [--topic setup|components|tokenization|performance|all]
支持的栈
html-tailwind / react-nextjs / vue-nuxt / uniapp / react-native / svelte
参数
| 参数 | 说明 | 默认 |
|---|---|---|
<name> |
必填,技术栈 | — |
--topic |
主题 | all |
流程
1. 加载栈文档
读取 references/stacks/<name>.md,输出结构化方案。
2. 输出(按 topic)
setup:项目结构、初始化、配置文件 components:基础组件、布局、路由 tokenization:如何接入 foundry Token performance:优化清单 all:综合方案
输出格式
# 技术栈方案 — <name>
> 主题:all
---
## 项目结构
project/ ├── ...
## 初始化
```bash
npx ...
配置文件
// tailwind.config.ts
...
基础组件
<!-- components/ui/Button.vue -->
...
Token 接入
- 复制
templates/tokens.css.tpl到src/styles/tokens.css - 引入到
main.ts/App.vue - 替换
tailwind.config.ts的 colors 段 - ...
性能优化
- 图片: 自动优化
- 字体:next/font
- 代码分割:自动
- 预取:
验证清单
- ...
- ...
## 用途
- 选型阶段:对比不同栈
- 启动阶段:按模板快速搭建
- 升级阶段:检查是否跟上最佳实践
- 培训:作为新成员 onboarding 资料
## 示例
```bash
# Next.js 完整方案
stack react-nextjs
# 只看 Token 接入
stack react-nextjs --topic tokenization
# uniapp 性能优化
stack uniapp --topic performance
# 对比 React 与 Vue
stack react-nextjs
stack vue-nuxt
与其他子命令协同
stack <name>提供栈方案 →forge <scenario> --stack <name>实际生成optimize自动检测栈 → 用stack输出验证audit评审 → 用stack输出最佳实践
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.
- 3d ago First seen · 121 lines · 0 tokens per session scan A ea26057340b0
stack is a command published in the GitHub repository jiushiwon/wg-skills (79 stars, last pushed 3d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 625 tokens. 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-08-30.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.