go-doc

go-doc is a skill for Claude Code, Codex from rootwarp/claude-code-plugins-monorepo. It costs 0 tokens per session (755 once invoked), scanned A, original, MIT.

A lookup guide for Go’s standard-library documentation on pkg.go.dev, the website that documents Go packages, functions, types, and methods.

In plain words
What is it for?
It helps find documentation for packages such as fmt, net/http, and encoding/json, optionally narrowed to a Go version or specific symbol.
Why use it?
It helps verify how built-in Go packages work and reduces guesswork about their APIs or version-specific behavior.

Skill for Claude CodeCodex

Part of the go plugin — 6 skills shipped together

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.

agentmods
npx agentmods add skills/rootwarp/claude-code-plugins-monorepo/go-doc
Any agent
npx skills add rootwarp/claude-code-plugins-monorepo --skill go-doc
Clone the repo
git clone --depth 1 https://github.com/rootwarp/claude-code-plugins-monorepo

Made for: Claude Code, Codex.

Or install go, the plugin that ships this one along with the rest of its 6 skills.

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 go-doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/rootwarp/claude-code-plugins-monorepo/go-doc.svg)](https://agentmods.dev/skills/rootwarp/claude-code-plugins-monorepo/go-doc)
Your own site
<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>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 755 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00755
Opus 5 $0.00000 $0.00378
Sonnet 5 $0.00000 $0.00151
Haiku 4.5 $0.00000 $0.00076

Measured 3d ago against content hash 21f0dbe50d8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

plugins/go/skills/go-doc/SKILL.md · 88 lines

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:

  1. 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}
  2. Fetch the documentation using WebFetch with a prompt tailored to the user's needs.

  3. 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.

Read the full file on GitHub · 88 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. 3d ago First seen · 88 lines · 0 tokens per session scan A 21f0dbe50d8a

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories