Go Packages (pkg.go.dev)

    by Arash Khazaei

    1

    Verify public Go package APIs, docs, examples, symbols, versions, licenses, importers and known vulns via the pkg.go.dev v1 API before coding.

    Free

    Security scanned

    Works with the AI Agents you already use

    Go Packages (pkg.go.dev)

    Example session with this skill installed

    Before adding UUID generation, check github.com/google/uuid v1.6.0's API and known vulnerabilities.

    • Read your context and instructions
    • Compiled the go packages pkg

    Fetches package docs/examples at v1.6.0, lists New/NewString/Parse signatures from the docs, reports vulns findings (or none), license, and the pkg.go.dev URL, noting what remains unverified.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Use the bundled Bash client to research public Go packages before implementing against their APIs. The skill works in any agent harness that can run Bash commands; it has no harness-specific dependencies. Requirements: Bash 3.2+, curl 7.66+, jq 1.6+, ordinary shell utilities, and network access to https://pkg.go.dev.

    Resolve scripts/go-pkg.sh relative to the directory containing this SKILL.md, not the project's working directory. Set PKG to its actual absolute path. The skill may be installed anywhere (for example ~/.claude/skills/go-pkg, ~/.agents/skills/go-pkg, or a project-local skills directory); never assume a fixed location.

    1. Read the project's go.mod, go.work, replacements, existing imports, and target Go version/GOOS/GOARCH. Do not silently replace a pinned version with latest. A local replace may not match public documentation.
    2. Use search only when the import path is unknown. Otherwise query the known package directly. Use module or versions when evaluating a dependency or upgrade.
    3. Retrieve package --doc md --examples at the intended version. Use symbols to locate names, then read package docs for declarations and semantics: symbol results are not complete signatures.
    4. Check relevant module metadata, licenses, known vulnerabilities, and build context. Request large optional fields only when needed.
    5. Implement using verified imports/signatures; run the project's build/tests. Report the exact module version, relevant documentation URL, findings, and remaining uncertainty. API discovery alone does not prove code compiles.

    Every command below maps to GET /v1/<command>/{path}, except search, which uses GET /v1/search. Pass module paths to module, versions, and packages; pass package import paths to package, symbols, and imported-by. vulns accepts either.

    Public modules only; not for private/replaced modules. Symbol results are not full signatures. Vulnerability lookups are database matches, not reachability analysis (use govulncheck). Does not compile code.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 13 days ago

    • Free with an Agensi account

    Accounts
    Go
    Software
    Bash 3.2+curl 7.66+jq 1.6+HTTPS access to pkg.go.dev

    Linux, macOS, or Windows via WSL/Git Bash. No API key, Go toolchain, Python or Node needed.

    Permissions

    Terminal / Shell
    Network Access

    Allowed Hosts

    pkg.go.dev

    File Scopes

    Private
    temp
    directory
    (removed
    on
    exit)

    Read-only GET requests to the public pkg.go.dev v1 API. Optional GO_PKG_* env vars tune base URL/timeouts/retries. Does not install packages or edit project files.

    Listed13 days ago

    What's inside

    Creator

    Arash Khazaei

    Arash Khazaei

    Frequently Asked Questions

    Verify public Go package APIs, docs, examples, symbols, versions, licenses, importers and known vulns via the pkg.go.dev v1 API before coding.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Go Packages (pkg.go.dev) on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in APIs & Backend

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Free