scaffold-go-cli

scaffold-go-cli is a skill for Claude Code from cboone/agent-harness-plugins. It costs 55 tokens per session (3,000 once invoked), scanned A, original, MIT.

A project starter for building a Go command-line tool with Cobra, release automation, optional configuration support, and GitHub Actions workflows.

In plain words
What is it for?
Use it to create a Go CLI repository, optionally add configuration files or a terminal interface, and prepare it for testing and releases.
Why use it?
It removes the repetitive setup needed to turn a new Go command-line idea into a structured project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the scaffold-go-cli plugin — 1 skill shipped together

Good fit Use it to create a Go CLI repository, optionally add configuration files or a terminal interface, and prepare it for testing and releases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cboone/agent-harness-plugins/scaffold-go-cli
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.

Any agent
npx skills add cboone/agent-harness-plugins --skill scaffold-go-cli
Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins

Made for: Claude Code.

Or install scaffold-go-cli, the plugin that ships this one along with the rest of its 1 skill.

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 scaffold-go-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/scaffold-go-cli/github.svg)](https://agentmods.dev/skills/cboone/agent-harness-plugins/scaffold-go-cli)
Your own site
<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/scaffold-go-cli"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/scaffold-go-cli/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.

agentmods 80×15 button for scaffold-go-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/scaffold-go-cli"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/scaffold-go-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,000 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00055 $0.03000
Opus 5.5 $0.00022 $0.01200
Sonnet 5.5 $0.00011 $0.00600
Haiku 4.5 $0.00006 $0.00300

Measured 1mo ago against content hash f705bfdd8db8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scaffold-go-cli 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.

plugins/scaffold-go-cli/skills/scaffold-go-cli/SKILL.md · 307 lines

How it starts

The opening of the file, as written. The whole thing — 307 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scaffold Go CLI

Generate the full boilerplate for a new Go CLI project.

Workflow

To add or repair a version command or build metadata in an existing Cobra CLI, run only ./references/existing-cli-version/workflow.md. Preserve the existing project; skip the new-project scaffolding below.

1. Gather Project Information

If the user provided a project name in their request, use it as the project name and skip asking for it. Still ask for the remaining parameters (description, Viper, Charmbracelet TUI) unless already provided in the user's initial request.

Ask the user for these parameters:

  • Project name -- kebab-case, used as the binary name, module path, and directory name (e.g., my-tool)
  • Short description -- one sentence, used in README, GoReleaser Homebrew cask, and the Cobra root command Short field
  • Include Viper? -- whether to add Viper for config file management (adds --config flag and ~/.config/<name>/config.yaml support)
  • Include Charmbracelet TUI? -- whether to add bubbletea, lipgloss, and bubbles dependencies

If the user already provided some or all of these in their initial request, do not re-ask. Derive what you can from context.

2. Detect User Identity

Detect the user's GitHub username and full name for use in templates:

# GitHub username (for module paths, URLs, Homebrew tap)
gh api user -q .login
# Full name (for LICENSE copyright)
git config user.name

If either command fails or produces no output, ask the user to provide the value. Use the GitHub username wherever templates reference GITHUB-USERNAME and the full name wherever they reference COPYRIGHT-HOLDER.

3. Verify the Target Directory

The project should be scaffolded in a directory named after the project. If the current directory is already named after the project and is empty (or nearly empty), use it. Otherwise, create a subdirectory.

If the directory already contains Go files, warn the user before proceeding.

Read the full file on GitHub · 307 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. 1mo ago Changed · +3 lines · +12 tokens per session f705bfdd8db8
  2. 2mo ago Changed 3d49da104e78
  3. 2mo ago Changed · -6 lines · -93 tokens per session 6b32dfc391a7
  4. 2mo ago Changed · +18 lines c471076f48d2
  5. 2mo ago First seen · 292 lines · 136 tokens per session scan A c0f5c19f412a

Subscribe to this mod's changes

scaffold-go-cli is a skill published in the GitHub repository cboone/agent-harness-plugins (3 stars, last pushed 5d ago), licensed MIT. It adds 55 tokens to every session and 3,000 once invoked, about $0.0002 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-03.

Related

scaffold-go-cli compared with skills from other repositories

scaffold-go-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffold-go-clicboone/agent-harness-pluginsSkill35d agoMITA55Claude Code
golang-continuous-integrationsamber/cc-skills-golangSkill4.0k22d agoMITA181Claude Code
tree-sitter-language-pack-managing-parsersxberg-io/tree-sitter-language-packSkill489yesterdayMITA65Claude Code
go-cieduardo-sl/go-agent-skillsSkill901mo agoMITA142Claude Code
go-deploynixopus/nixopusSkill1.5kyesterdaynoneA41Claude Code, Codex
setup-go-projectphobologic/claude_code_helpersSkill64d agoMITA70Claude Code
scaffold-gourmzd/dotfilesSkill64d agoApache-2.0A116Claude Code