cobra-viper

cobra-viper is a plugin for Claude Code from spf13/go-skills. Its manifest loads nothing; the 1 skill it bundles cost 104 tokens per session together, scanned A, original, no licence file.

A guide to building command-line applications with Cobra, a Go library for commands, and Viper, a Go library for configuration. It covers command structure, settings, environment variables, and in-memory tests.

In plain words
What is it for?
Use it to design Go command-line tools, connect settings to environment variables, and test commands in memory.
Why use it?
It helps organize CLI code and avoid scattered configuration or tests that depend on real processes and files.

Plugin for Claude Code

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.

Claude Code
/plugin marketplace add spf13/go-skills
agentmods
npx agentmods add plugins/spf13/go-skills/cobra-viper
Clone the repo
git clone --depth 1 https://github.com/spf13/go-skills

Made for: Claude Code.

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 cobra-viper

README.md
[![agentmods](https://agentmods.dev/badge/plugins/spf13/go-skills/cobra-viper.svg)](https://agentmods.dev/plugins/spf13/go-skills/cobra-viper)
Your own site
<a href="https://agentmods.dev/plugins/spf13/go-skills/cobra-viper"><img src="https://agentmods.dev/badge/plugins/spf13/go-skills/cobra-viper.svg" alt="Measured on agentmods" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 1 skill cost 104 tokens a session between them.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Security

Grade A, and why

cobra-viper 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 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.

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.

cobra-viper/.claude-plugin/plugin.json · 16 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Contents

What it installs

The manifest is a name and a version. 1 skill travel with it, and installing the plugin installs all of them — 104 tokens a session between them. Each is measured on its own page, and each can be installed alone.

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 First seen · 16 lines scan A 456d219e95e3

Subscribe to this mod's changes

cobra-viper is a plugin published in the GitHub repository spf13/go-skills (631 stars, last pushed 1mo ago), with no licence file. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-08-30.

Related

Other plugins, from other repositories

cobra-viper

Definitive guide to building CLI applications with Cobra and Viper — command-first architecture, configuration management, environment variable binding, and in-memory CLI testing. Written by spf13, the original creator of both libraries.

PascaleBeier/hitkeep · not measured

cogni-consult

Consulting engagement orchestrator where action fields are the work-breakdown-structure containers for every deliverable: each deliverable runs its own design-thinking loop (empathize→define→ideate→prototype→test), acting stakeholder personas challenge the work in their own voice, and one cogni-knowledge base per…

cogni-work/insight-wave · not measured

decipher-gas-optimizoor

Analyzes Solidity smart contracts for gas inefficiencies. Detects storage packing gaps, loop anti-patterns, custom error opportunities, visibility mismatches, unchecked arithmetic, calldata vs memory decisions, and deployment cost issues. Enforces gas regression detection on every file save via forge integration.

zaryab2000/decipher-gas-optimizoor · not measured

memory-market

ClawRiver - A decentralized marketplace for agents to share, discover, and monetize experiences and memories.

Timluogit/clawriver · not measured

defi-arbitrage-mcp

DEX price scanning and flash loan arbitrage detection/execution tools. v1.0.1 revenue-generating MCP server (20% profit share model, 5% treasury). Available on Smithery, Glama, MCP.so. Enables autonomous DeFi agents with direct integration path to grok-persistent-state and smithery-mcp-orchestrator for safe, memoryful.

igor-holt/mcp-servers · not measured

keeper-manager-mcp

Aave V4 eMode liquidation keeper on Base. v1.1.0 subscription-tier MCP server for DeFi risk management and automated liquidations. Published to major registries. 5% treasury to Genesis Conductor. Designed for bridging into the full OpenClaw skills stack (persistent state + MCP bridge + Smithery orchestration) for…

igor-holt/mcp-servers · not measured