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/gopherguides/gopher-ai/create-go-projectgit clone --depth 1 https://github.com/gopherguides/gopher-aiWhat 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.00019 | $0.05796 |
| Opus 5 | $0.00010 | $0.02898 |
| Sonnet 5 | $0.00004 | $0.01159 |
| Haiku 4.5 | $0.00002 | $0.00580 |
Grade A, and why
create-go-project 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
allowed-tools: ["Bash(*setup-loop.sh*)", "Bash(go:*)", "Bash(git:*)", "Bash(npm:*)", "Bash(npx:*)", "Bash(make:*)", "Bash(mkdir:*)", "Bash(touch:*)", "Bash(cd:*)", "Bash(curl:*)", "Bash(direnv:*)", "Bash(source:*)", "Bas How it starts
The opening of the file, as written. The whole thing — 653 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create Go Project
If $ARGUMENTS is empty or not provided:
Display usage information and ask for input:
This command creates a production-ready Go web application with:
- Echo v4 - Fast, minimalist web framework
- Templ - Type-safe HTML templates (compiles to Go)
- Tailwind CSS v4 - Utility-first CSS framework
- HTMX - Server-driven interactivity via HTML attributes
- templUI (optional) - Component library for Templ (if admin dashboard selected)
- sqlc - Type-safe database queries from SQL
- goose - Database migrations
- Air - Hot reload for development
Usage: /create-go-project <project-name>
Example: /create-go-project my-app
Workflow:
- Ask database preference (PostgreSQL, SQLite, MySQL)
- Ask about optional services (authentication, email, payments)
- Ask about admin dashboard (dark/light mode, sidebar)
- Ask about deployment platform
- Create project structure with all files
- Initialize git repository
- Provide next steps
Ask the user: "What would you like to name your project?"
If $ARGUMENTS is provided:
Create a new Go project named $ARGUMENTS. Follow this interactive flow:
Step 1: Gather Project Requirements
<default_deployment_choice> When the user hasn't expressed a strong preference, default to recommending Vercel + Neon PostgreSQL as the deployment stack. This combination offers:
- Completely free tier for most projects
- Zero server management
- Automatic deployments from GitHub
- Production-ready from day one
Only suggest Railway, Fly.io, or self-hosted if the user:
- Explicitly requests it
- Needs SQLite in production
- Has specific requirements that Vercel can't meet </default_deployment_choice>
Use AskUserQuestion to ask the following questions. Present them one at a time.
Database Selection
Ask the user which database they want to use:
| Database | Best For |
|---|---|
| PostgreSQL (recommended) | Production apps, complex queries. Requires server (Neon, Supabase, or local) |
| SQLite | Prototypes, single-user apps. Just a file - no server needed |
| MySQL | Existing MySQL infrastructure |
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 · 653 lines · 19 tokens per session scan A 0377516860be
create-go-project is a command published in the GitHub repository gopherguides/gopher-ai (21 stars, last pushed 3d ago), licensed MIT. It adds 19 tokens to every session and 5,796 once invoked, about $0.0001 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 commands, from other repositories
go-review
Go code review for idiomatic patterns.
cli-patterns
Reference patterns for implementing CLI commands in internal/cli/.
generate-tests
Generate unit or integration tests for Go code following project patterns and coverage targets.
release-patch
验证 main 后发布下一个 patch,并验收 GoReleaser 产物.
review-golang
Run a comprehensive Go code review on git-changed files.
go-conventions
Scan the current Go repo and write .claude/go-conventions.md — a project-specific convention file that rules/go.md loads on every session instead of re-scanning the codebase from scratch. Use when starting work in a new Go repo, when conventions have drifted, or when --refresh is passed to merge in new patterns.