convert-to-go-project

convert-to-go-project is a command for Claude Code from gopherguides/gopher-ai. It costs 17 tokens per session (290 once invoked), scanned A, original, MIT.

A command that migrates an existing project to Go with Templ templates, HTMX for server-driven page updates, and Tailwind for styling.

In plain words
What is it for?
Use it to create the new Go project structure, move routes, handlers, and templates, and get guidance on code that still needs migration.
Why use it?
It first examines the current project and supports either a full migration or a gradual move, so existing logic can be preserved where appropriate.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

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

Good fit Use it to create the new Go project structure, move routes, handlers, and templates, and get guidance on code that still needs migration.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add gopherguides/gopher-ai
Claude Code
/plugin install go-web

Made for: Claude Code.

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

Wrote 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.

agentmods badge for convert-to-go-project

README.md
[![agentmods](https://agentmods.dev/badge/commands/gopherguides/gopher-ai/convert-to-go-project.svg)](https://agentmods.dev/commands/gopherguides/gopher-ai/convert-to-go-project)
Your own site
<a href="https://agentmods.dev/commands/gopherguides/gopher-ai/convert-to-go-project"><img src="https://agentmods.dev/badge/commands/gopherguides/gopher-ai/convert-to-go-project.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 290 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00017 $0.00290
Opus 5 $0.00009 $0.00145
Sonnet 5 $0.00003 $0.00058
Haiku 4.5 $0.00002 $0.00029

Measured 4d ago against content hash aeb448adcbd0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

convert-to-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 4d 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(ls:*)", "Bash(cat:*)", "Bash(curl:*)", "Bash(diren
plugins/go-web/commands/convert-to-go-project.md · 15 lines

What it actually says

Convert to Go Project

Bind the injected $ARGUMENTS value to SKILL_ARGS without evaluating or re-tokenizing it.

Bind <PLUGIN_ROOT> in the shared workflow to ${CLAUDE_PLUGIN_ROOT}.

Read ${CLAUDE_PLUGIN_ROOT}/references/convert-to-go-project.md completely and follow it, passing SKILL_ARGS as the optional target directory.

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. 4d ago Changed · -723 lines scan C → A aeb448adcbd0
  2. 8d ago First seen · 738 lines · 17 tokens per session scan C a0c76b661921

Subscribe to this mod's changes

convert-to-go-project is a command published in the GitHub repository gopherguides/gopher-ai (21 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 290 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.