create-go-project

A command that creates a new Go web project from an interactive setup. It can configure a database, optional services, authentication, email, payments, an admin dashboard, deployment choices, and tools such as Echo, Templ, Tailwind, HTMX, sqlc, goose, and Air.

In plain words
What is it for?
Starting a Go web application, selecting PostgreSQL, SQLite, or MySQL, adding optional services, creating an admin dashboard, initializing Git, and receiving next steps.
Why use it?
It gathers key project choices at the start and creates the corresponding files and structure. This reduces the setup work required before development can begin.

Command

Part of the go-web plugin — 2 skills, 2 commands shipped together

Install

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.

agentmods
npx agentmods add commands/gopherguides/gopher-ai/create-go-project
Clone the repo
git clone --depth 1 https://github.com/gopherguides/gopher-ai

Or install go-web, the plugin that ships this one along with the rest of its 2 skills, 2 commands.

Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,796 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3d ago against content hash 0377516860be, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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
plugins/go-web/commands/create-go-project.md · 653 lines

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:

  1. Ask database preference (PostgreSQL, SQLite, MySQL)
  2. Ask about optional services (authentication, email, payments)
  3. Ask about admin dashboard (dark/light mode, sidebar)
  4. Ask about deployment platform
  5. Create project structure with all files
  6. Initialize git repository
  7. 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

Read the full file on GitHub · 653 lines

Changes

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.

  1. 3d ago First seen · 653 lines · 19 tokens per session scan A 0377516860be

Subscribe to this mod's changes

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.