Agent Plugins Marketplace
All plugins

add-cobra-version

v1.0.2

Add a version subcommand with build metadata (version, commit hash, build date, Go runtime version, optional JSON output) to an existing Cobra-based Go CLI, wiring up ldflags in main.go, the cmd package, GoReleaser, and the Makefile.

Claude Code1 Skill

By Christopher BooneLicense: MIT2 GitHub starsUpdated last week

Directory evidence

Runtimes
Claude Code
Parsed components
1 skill or MCP entry
Source updated
Sep 16, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology

Install add-cobra-version for Claude Code

Installs for the current user
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install add-cobra-version-2@agent-plugin-marketplace

Paste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/cboone/agent-harness-plugins

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/add-cobra-version/.

Plugin files

plugins/add-cobra-version/
├── .claude-plugin/plugin.json
└── skills/add-cobra-version/SKILL.md

Included Skills1

add-cobra-versionskills/add-cobra-version/SKILL.md

Add a version subcommand with build metadata to an existing Cobra-based Go CLI. Use when the user says "add a version subcommand", "add the version command", "wire up version, commit, and date", "add build metadata to version", "add a /version command to this CLI", "make the version command print commit and build date", or wants `cmd/version.go` plus matching ldflags wired up in `main.go`, `cmd/root.go`, `.goreleaser.yml`, and the `Makefile`. Detects whether the project already has a basic `version` variable or no version wiring at all, then applies the changes idempotently. Pairs with scaffold-go-cli (which seeds the basic version variable) and add-goreleaser-homebrew (which sets up GoReleaser when it is missing).

Plugin manifests1

plugins/add-cobra-version/.claude-plugin/plugin.json
{
  "author": {
    "name": "Christopher Boone"
  },
  "description": "Add a version subcommand with build metadata (version, commit hash, build date, Go runtime version, optional JSON output) to an existing Cobra-based Go CLI, wiring up ldflags in main.go, the cmd package, GoReleaser, and the Makefile.",
  "homepage": "https://github.com/cboone/agent-harness-plugins",
  "keywords": [
    "cli",
    "cobra",
    "go",
    "golang",
    "version"
  ],
  "license": "MIT",
  "name": "add-cobra-version",
  "repository": "https://github.com/cboone/agent-harness-plugins",
  "skills": "./skills",
  "version": "1.0.2"
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[add-cobra-version on Agent Plugins Marketplace](https://pluginsmp.com/plugins/add-cobra-version-2)