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 agentmods add skills/rootwarp/claude-code-plugins-monorepo/go-docnpx skills add rootwarp/claude-code-plugins-monorepo --skill go-docgit clone --depth 1 https://github.com/rootwarp/claude-code-plugins-monorepoWrote 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/rootwarp/claude-code-plugins-monorepo/go-doc)<a href="https://agentmods.dev/skills/rootwarp/claude-code-plugins-monorepo/go-doc"><img src="https://agentmods.dev/badge/skills/rootwarp/claude-code-plugins-monorepo/go-doc.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00000 | $0.00755 |
| Opus 5 | $0.00000 | $0.00378 |
| Sonnet 5 | $0.00000 | $0.00151 |
| Haiku 4.5 | $0.00000 | $0.00076 |
Grade A, and why
go-doc 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 3d 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 — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/go-doc
Look up Go standard library documentation from pkg.go.dev.
Arguments
package: The Go package path to look up (e.g.,fmt,net/http,encoding/json)version(optional): Specific Go version (e.g.,go1.23). Defaults to latest.symbol(optional): Specific function, type, or method to focus on
Instructions
When the user wants to verify or look up Go standard library documentation:
-
Construct the URL based on the package path:
- Base URL:
https://pkg.go.dev - Standard library:
https://pkg.go.dev/{package} - With version:
https://pkg.go.dev/{package}@{version}
- Base URL:
-
Fetch the documentation using WebFetch with a prompt tailored to the user's needs.
-
Present the information including:
- Package overview and purpose
- Relevant functions, types, or interfaces
- Usage examples when available
- Format verbs or special syntax (if applicable)
URL Structure Reference
| Package Type | URL Format | Example |
|---|---|---|
| Top-level | https://pkg.go.dev/{pkg} |
https://pkg.go.dev/fmt |
| Nested | https://pkg.go.dev/{pkg}/{subpkg} |
https://pkg.go.dev/net/http |
| With version | https://pkg.go.dev/{pkg}@go1.23 |
https://pkg.go.dev/[email protected] |
| Third-party | https://pkg.go.dev/{full-module-path} |
https://pkg.go.dev/github.com/gin-gonic/gin |
Documentation Sections
pkg.go.dev documentation pages typically contain:
- Overview: Package purpose and general usage patterns
- Index: Quick navigation to functions, types, and examples
- Examples: Runnable code samples with expected output
- Functions: Function signatures with descriptions
- Types: Struct and interface definitions with methods
Example Usage
Look up fmt package
/go-doc fmt
Fetches: https://pkg.go.dev/fmt
Look up net/http with specific version
/go-doc net/http go1.22
Fetches: https://pkg.go.dev/net/[email protected]
Look up specific function
/go-doc encoding/json Marshal
Fetches documentation and focuses on the Marshal function.
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.
- 3d ago First seen · 88 lines · 0 tokens per session scan A 21f0dbe50d8a
go-doc is a skill published in the GitHub repository rootwarp/claude-code-plugins-monorepo (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 755 tokens. 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-31.
Other skills, from other repositories
go-effective
Validate Go code against Effective Go and idiomatic conventions.
go-proverbs
Validate Go code changes against Go Proverbs.
go-idioms
写 Go 时使用。地道 Go:错误处理、并发、接口的正确姿势。.
文档协作
引导用户通过结构化的文档共同编写工作流程。当用户想撰写文档、提案、技术规范、决策文档或类似结构化内容时使用。该工作流程帮助用户高效传递上下文,通过迭代优化内容,并验证文档对读者有效。当用户提到写文档、创建提案、起草规范或类似文档任务时触发。.
deno-frontend
Use when building a web frontend with Deno — running React, Vite, Astro, SvelteKit, Next.js, Nuxt or other npm frameworks under Deno, or working with Fresh, Deno's own island-architecture framework. Covers which path to pick, Fresh 2.x routes, handlers, islands, Preact signals, Tailwind, and Fresh 1.x to 2.x migration.
modularize-go-package
Modularize a monolithic Go package into domain-specific sub-packages. Extracts shared utilities, moves domain files, updates imports, renames types, creates registration functions, and validates compilation+tests at every step. Designed for large-scale refactoring of 50-100+ file packages.