Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/jiushiwon/wg-skillsnpx agentmods add skills/jiushiwon/wg-skills/go-frame-init-skillWrote 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/go-frame-init-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/go-frame-init-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/go-frame-init-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/go-frame-init-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/go-frame-init-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.00093 | $0.00976 |
| Opus 5.5 | $0.00037 | $0.00390 |
| Sonnet 5.5 | $0.00019 | $0.00195 |
| Haiku 4.5 | $0.00009 | $0.00098 |
Grade A, and why
go-frame-init-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 1mo 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
Go Frame Skill
面向零基础小白,快速初始化 Go Web 框架项目。
支持的框架
| 框架 | 特点 | 场景 |
|---|---|---|
| Gin | 最流行、性能好 | 默认推荐 |
| Hertz | 阿里开源、云原生 | 高性能 HTTP |
| Fiber | Express 风格、易上手 | 快速开发 |
| Chi | 轻量、Router 链路 | API Gateway |
触发场景
用户说"帮我搭 Go Web 框架"或"初始化 Go 项目"时触发。
核心能力
| 能力 | 说明 |
|---|---|
| 项目初始化 | 多种框架可选 |
| 目录结构 | 标准 Go 项目布局 |
| 中间件 | 日志/鉴权/CORS/安全头 |
| 配置管理 | godotenv 配置 |
| 数据库集成 | GORM(MySQL/PostgreSQL) |
| 一键启动 | 开发/生产脚本 |
不做
- 不重复 go-gin-init-skill( Gin 已在 go-gin-init-skill 中)
- 本 skill 主要用于其他框架(Hertz/Fiber/Chi)的初始化
与 go-gin-init-skill 的关系
| 技能 | 关系 |
|---|---|
go-gin-init-skill |
Gin 专项(更深入) |
go-frame-init-skill |
多框架(除 Gin 外) |
快速使用
选择框架初始化
# 1. 选择框架
echo "选择框架: 1) Gin 2) Hertz 3) Fiber 4) Chi"
# 2. 输入项目名
read -p "项目名: " project_name
# 3. 生成项目
go-frame-init new $project_name --framework=hertz
目录结构
my-project/
├── cmd/
│ └── server/
│ └── main.go # 入口
├── internal/
│ ├── handler/ # HTTP 处理
│ ├── service/ # 业务逻辑
│ ├── repository/ # 数据访问
│ └── model/ # 实体
├── pkg/
│ ├── middleware/ # 中间件
│ ├── config/ # 配置
│ └── utils/ # 工具
├── configs/
│ └── config.yaml
├── scripts/
│ ├── dev.sh # 开发启动
│ └── prod.sh # 生产启动
├── go.mod
└── README.md
配置示例
# configs/config.yaml
app:
name: my-app
port: 8080
env: development
database:
driver: mysql
host: 127.0.0.1
port: 3306
dbname: mydb
username: root
password: root
log:
level: info
path: ./logs/app.log
中间件清单
| 中间件 | 作用 |
|---|---|
Logger |
请求日志 |
Recover |
panic 恢复 |
CORS |
跨域 |
Auth |
JWT 鉴权 |
RateLimit |
限流 |
推荐搭配
go-auth-module-skill- 权限底座go-ws-module-skill- WebSocket 支持database-design-skill- 数据库设计
触发词
- Go 框架
- Go Web 框架
- Hertz
- Fiber
- Chi
- 初始化 Go 项目
- Go 脚手架
What ships with it
7 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.
- 1mo ago Changed · +95 lines · +1 tokens per session f829047d3222
- 1mo ago Changed 10137cdf9a7f
- 2mo ago First seen · 38 lines · 92 tokens per session scan A 5a3f895e88d0
go-frame-init-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 93 tokens to every session and 976 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-15.
go-frame-init-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| go-frame-init-skilljiushiwon/wg-skills | Skill | 154 | 6d ago | Apache-2.0 | A | 93 | Claude Code, Codex |
| golang-proJeffallan/claude-skills | Skill | 13k | today | MIT | A | 95 | Claude Code |
| platform-constrained-handlerclidey/whodb | Skill | 5.1k | today | Apache-2.0 | A | 26 | Claude Code, Codex |
| golang-graphqlsamber/cc-skills-golang | Skill | 4.0k | 22d ago | MIT | A | 77 | Claude Code |
| golang-grpcsamber/cc-skills-golang | Skill | 4.0k | 22d ago | MIT | A | 72 | Claude Code |
| golang-swaggersamber/cc-skills-golang | Skill | 4.0k | 22d ago | MIT | A | 146 | Claude Code |
| printing-pressmvanhorn/cli-printing-press | Skill | 5.1k | today | MIT | A | 86 | Claude Code |