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.
npx skills add jnPiyush/AgentX --skill gogit clone --depth 1 https://github.com/jnPiyush/AgentXWrote 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.
[](https://agentmods.dev/skills/jnpiyush/agentx/go)<a href="https://agentmods.dev/skills/jnpiyush/agentx/go"><img src="https://agentmods.dev/badge/skills/jnpiyush/agentx/go/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.
<a href="https://agentmods.dev/skills/jnpiyush/agentx/go"><img src="https://agentmods.dev/badge/skills/jnpiyush/agentx/go.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.01406 |
| Opus 5.5 | $0.00019 | $0.00562 |
| Sonnet 5.5 | $0.00009 | $0.00281 |
| Haiku 4.5 | $0.00005 | $0.00141 |
Grade A, and why
go 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go Development
Purpose: Best practices for Go development including project structure, concurrency, error handling, and testing.
When to Use This Skill
- Building Go applications and microservices
- Implementing error handling with wrapping and sentinel errors
- Writing concurrent code with goroutines and channels
- Designing Go interfaces for testability
- Structuring Go project layouts
Decision Tree
Go Project Decision
+-- Building a CLI tool?
| +-- Simple? -> Single cmd/main.go
| +-- Multi-command? -> cobra or urfave/cli
+-- Building a web service?
| +-- Standard library sufficient? -> net/http + http.ServeMux
| +-- Need middleware/routing? -> chi, gorilla/mux, or gin
+-- Need concurrency?
| +-- Fan-out/fan-in? -> Goroutines + channels
| +-- Shared state? -> sync.Mutex or sync.RWMutex
| +-- Cancellation? -> context.Context
+-- Data access?
| +-- SQL database? -> database/sql + sqlx
| +-- ORM preferred? -> GORM (with caution)
+-- Reusable library? -> pkg/ directory, keep interfaces small
Prerequisites
- Go 1.26+ installed
- Go modules enabled
Table of Contents
- Project Structure
- Code Style
- Error Handling
- Concurrency
- Testing
- Interfaces
- Performance
- Security
- Best Practices
Project Structure
Standard Layout
project/
+-- cmd/
| -- myapp/
| -- main.go # Application entry point
+-- internal/
| +-- config/ # Configuration handling
| +-- handlers/ # HTTP handlers
| +-- models/ # Domain models
| +-- repository/ # Data access
| -- service/ # Business logic
+-- pkg/
| -- utils/ # Reusable packages
+-- api/
| -- openapi.yaml # API specification
+-- configs/
| -- config.yaml # Configuration files
+-- scripts/
| -- setup.sh # Build/deploy scripts
+-- go.mod
+-- go.sum
-- README.md
Package Naming
// Package names should be lowercase, short, and descriptive
package user // Good
package userService // Bad - no camelCase
package user_svc // Bad - no underscores
// Import path should match directory structure
import "myapp/internal/service"
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago Changed a9d1c80b0918
- 2mo ago First seen · 225 lines · 47 tokens per session scan A 9627290873cc
go is a skill published in the GitHub repository jnPiyush/AgentX (19 stars, last pushed today), licensed Apache-2.0. It adds 47 tokens to every session and 1,406 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.
go compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gojnPiyush/AgentX | Skill | 19 | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| golang-proJeffallan/claude-skills | Skill | 13k | today | MIT | A | 95 | Claude Code |
| platform-constrained-handlerclidey/whodb | Skill | 5.1k | today | Apache-2.0 | A | 26 | Claude Code, Codex |
| golang-graphqlsamber/cc-skills-golang | Skill | 4.0k | 22d ago | MIT | A | 77 | Claude Code |
| golang-grpcsamber/cc-skills-golang | Skill | 4.0k | 22d ago | MIT | A | 72 | Claude Code |
| golang-swaggersamber/cc-skills-golang | Skill | 4.0k | 22d ago | MIT | A | 146 | Claude Code |
| printing-pressmvanhorn/cli-printing-press | Skill | 5.1k | today | MIT | A | 86 | Claude Code |