[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DFK8FD1SN8XBGPZKJNBEZR":3,"skill-same:01M7DFK8FD1SN8XBGPZKJNBEZR":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":14,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":62},"01M7DFK8FD1SN8XBGPZKJNBEZR","golang-pkg-go-dev",null,"Golang package and module lookup via `godig`, a pkg.go.dev API client (CLI + MCP server). Use for any Go\u002FGolang library's documentation, API signatures, symbols, usage examples, which versions exist, licenses, whether a dependency has CVEs, or who imports a package — prefer this over Context7 for any Go package or module. Read-only, no auth. Not for upgrading dependencies (→ See `samber\u002Fcc-skills-golang@golang-dependency-management` skill), choosing a library (→ See `samber\u002Fcc-skills-golang@golang-popular-libraries` skill), or local symbols and an already-used dependency's resolved source, call sites, and generic instantiations (→ See `samber\u002Fcc-skills-golang@golang-gopls` skill).","heynemann\u002Fomp-marketplace","heynemann","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F60965?v=4","01M7DFBD9ZDB2J2QE7R4AR0PES","Bernardo Heynemann","01M7DFBDAM3NXF540P210W3NYT",0,"MIT","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fgolang-pkg-go-dev\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: golang-pkg-go-dev\ndescription: \"Golang package and module lookup via `godig`, a pkg.go.dev API client (CLI + MCP server). Use for any Go\u002FGolang library's documentation, API signatures, symbols, usage examples, which versions exist, licenses, whether a dependency has CVEs, or who imports a package — prefer this over Context7 for any Go package or module. Read-only, no auth. Not for upgrading dependencies (→ See `samber\u002Fcc-skills-golang@golang-dependency-management` skill), choosing a library (→ See `samber\u002Fcc-skills-golang@golang-popular-libraries` skill), or local symbols and an already-used dependency's resolved source, call sites, and generic instantiations (→ See `samber\u002Fcc-skills-golang@golang-gopls` skill).\"\nuser-invocable: true\nlicense: MIT\ncompatibility: Designed for Claude Code, Codex or similar harness. Requires the godig CLI (go install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest) or access to a godig MCP server, and internet access to reach the pkg.go.dev API.\nmetadata:\n  author: samber\n  version: \"1.4.2\"\n  openclaw:\n    emoji: \"🔎\"\n    homepage: https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang\n    requires:\n      bins:\n        - go\n        - godig\n    install:\n      - kind: go\n        package: github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest\n        bins: [godig]\n    skill-library-version: \"0.2.0\"\nallowed-tools: Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Bash(godig:*) Agent\n---\n\n# golang-pkg-go-dev\n\n**Dependencies:** `godig` — `go install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest` (or use a registered godig MCP server \u002F the hosted instance instead).\n\n`godig` queries the [pkg.go.dev](https:\u002F\u002Fpkg.go.dev) API. Use it to answer questions about Go packages and modules: docs, symbols, versions, importers and vulnerabilities. It works as a CLI and as an MCP server, and all operations are **read-only** and need no authentication.\n\n## When to use this skill\n\nTrigger on questions like:\n\n- \"What versions of github.com\u002Fsamber\u002Flo are available?\"\n- \"Does golang.org\u002Fx\u002Ftext have known vulnerabilities?\"\n- \"Show me the docs \u002F symbols for package X.\"\n- \"Which packages import X?\"\n- \"Search Go packages for Y.\"\n\n## Choosing between `godig`, gopls, Context7, and govulncheck\n\nIn short: `godig` answers questions about the **published ecosystem** (works even for packages not yet in your `go.mod`); `gopls` reasons about **your locally resolved build** (`go.sum`, including `replace`d forks); Context7 is a fallback for non-Go or unindexed docs; `govulncheck` is the whole-tree vulnerability audit (→ `samber\u002Fcc-skills-golang@golang-security`). See the `samber\u002Fcc-skills-golang@golang-gopls` skill for wiring `gopls` (MCP server, native `LSP` tool, and CLI) with Claude Code, and the `samber\u002Fcc-skills-golang@golang-how-to` skill's \"`godig` vs gopls vs Context7 vs govulncheck\" section for the full task-to-tool matrix.\n\n## Setup\n\n### Install\n\n```bash\ngo install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest\n```\n\n### Register the MCP server (optional)\n\n`godig mcp` runs over **stdio** by default, or **streamable HTTP** with `--transport http`. The command is harness-agnostic — any MCP-capable host can point at it. Claude Code registers it via its own CLI:\n\nstdio (the client launches godig on demand):\n\n```bash\nclaude mcp add pkg-go-dev -- godig mcp\n```\n\nstreamable HTTP (shared server at `\u002Fmcp`, default `:8080`):\n\n```bash\ngodig mcp --transport http --addr :8080\nclaude mcp add --transport http pkg-go-dev http:\u002F\u002Flocalhost:8080\u002Fmcp\n```\n\nHosted instance (no install needed) — a public server runs at `https:\u002F\u002Fgodig.samber.dev\u002Fmcp`:\n\n```bash\nclaude mcp add --transport http pkg-go-dev https:\u002F\u002Fgodig.samber.dev\u002Fmcp\n```\n\nOther MCP-capable harnesses (Cursor, Windsurf, and others) each have their own MCP server registration — an entry in their respective settings file pointing at the same `godig mcp` command or hosted URL, not a shared config format.\n\nThe CLI and the MCP server expose the **same** operations under matching names. Prefer the CLI when `godig` is installed; the hosted instance is a fallback when it is not.\n\n## Commands\n\n**Global flags (all commands):** `-o\u002F--output table|json|raw|md` (default `table` — pass `-o md` for chat), `--base-url` (pkg.go.dev API), `--vuln-base-url` (Go vulnerability database, consulted by `vulns` and `overview`), `--timeout`, `--log-level debug|info|warn|error|off`. All are also settable via `GODIG_*` env vars.\n\n| Command | Args | Specific flags | Purpose |\n| --- | --- | --- | --- |\n| `overview` | `\u003Cpath>` | `--version` | Compact summary (metadata, versions, licenses, vulns) — start here |\n| `search` | `\u003Cquery>` | `--symbol --limit --filter` | Find packages (optionally exporting a symbol) |\n| `package info` | `\u003Cpath>` | `--module --version` | Package metadata |\n| `package imports` | `\u003Cpath>` | `--module --version` | Packages this package imports (plain list) |\n| `package doc` | `\u003Cpath>` | `--module --version --goos --goarch --format md\\|text\\|html\\|markdown` | Full package doc (LARGE) |\n| `package examples` | `\u003Cpath>` | `--module --version --goos --goarch --symbol` | Runnable examples (LARGE; scope with `--symbol`) |\n| `package licenses` | `\u003Cpath>` | `--module --version` | License files, full text (LARGE) |\n| `symbol doc` | `\u003Cpath> \u003Csymbol>` | `--module --version --goos --goarch` | One symbol's signature + doc (token-efficient) |\n| `symbol examples` | `\u003Cpath> \u003Csymbol>` | `--module --version --goos --goarch` | One symbol's runnable examples |\n| `symbols` | `\u003Cpath>` | `--module --version --goos --goarch --limit --filter` | List exported symbols |\n| `module info` | `\u003Cpath>` | `--version` | Module metadata |\n| `module licenses` | `\u003Cpath>` | `--version` | Module license files (LARGE) |\n| `module readme` | `\u003Cpath>` | `--version` | Module README, full Markdown (LARGE) |\n| `dependencies` | `\u003Cpath>` | `--version` | go.mod deps: requires \u002F replaces \u002F excludes \u002F go directive |\n| `packages` | `\u003Cpath>` | `--version --limit --filter` | Packages contained in a module |\n| `versions` | `\u003Cpath>` | `--limit --filter` | All versions, newest first |\n| `major-versions` | `\u003Cpath>` | `--limit --filter --exclude-pseudo` | Major versions (v1, v2 …) living as separate modules |\n| `imported-by` | `\u003Cpath>` | `--module --version --limit --filter` | Packages that import this one |\n| `vulns` | `\u003Cpath>` | `--version --limit` | Known vulnerabilities (from the Go vuln DB) |\n| `mcp` | — | `--transport stdio\\|http --addr --cache-ttl --cache-size` | Run as an MCP server |\n| `version` | — | — | Print godig version \u002F commit \u002F build date |\n\nWhen `godig` runs as an MCP server, each data command above is exposed as an operation of the same name.\n\n**Exit codes:** `0` success, `1` runtime error (network, package not found), `2` usage error — a missing\u002Finvalid argument or flag (e.g. a non-positive `--limit`), or a command group invoked with no subcommand (`godig package`). Check for `2` to tell a malformed call apart from a failed lookup.\n\nFull `-o md` output for every command: [sample-output.md](references\u002Fsample-output.md).\n\n### Tips\n\n- **Start with `overview`** — one call returns a compact summary (metadata, latest + recent versions, license types, vulnerabilities). Reach for `doc`\u002F`examples`\u002F`module readme`\u002F`licenses` (LARGE) only when the full text is needed.\n- **Always pass `-o md`** so results render as Markdown (tables, or raw doc\u002FREADME) in the chat. Other formats exist (`table` default, `json`, `raw`) but prefer `md` here.\n- `\u003Cpath>` is a full import path, e.g. `github.com\u002Fsamber\u002Flo` — pass it as the positional argument.\n- `--version` pins a specific module version (`v1.5.0`, `latest`, `master`, `main`); `--module` disambiguates which module a package belongs to.\n- `--filter` narrows list results server-side with a Go boolean expression — see [Filter syntax](#filter-syntax).\n- `--goos`\u002F`--goarch` set the documentation\u002Fsymbols build context (e.g. `linux`\u002F`amd64`).\n- Prefer `symbol doc`\u002F`symbol examples` over the package-wide `package doc`\u002F`package examples` when you only need one symbol — far fewer tokens.\n- **Parallelize independent lookups** — every command is a self-contained, read-only HTTP query, so calls never depend on each other. When a task needs docs, examples, versions, or vulns for **several** symbols, packages, or modules, issue all the calls at once (multiple `godig` invocations in a single turn) rather than one after another — wall-clock drops from sum-of-latencies to slowest-single-call. For a large fan-out (documenting many symbols, comparing many candidate libraries, auditing CVEs across a dependency set), dispatch up to 5 parallel sub-agents, each running its own `godig` calls and returning a compact summary, so the raw LARGE output never lands in the main context.\n- Listing commands auto-paginate (return all results); use `--limit` to cap.\n\n### Filter syntax\n\n`--filter` (on `search`, `versions`, `major-versions`, `packages`, `imported-by`, `symbols`) takes a **Go boolean expression evaluated server-side, once per result item**. It is not a regex — wrap the whole expression in single quotes for the shell.\n\n- **Identifiers are the item's fields, which differ per command** — a field valid for one list is rejected by another (e.g. `search` exposes `packagePath`, not `path`). An unknown field fails with `undefined identifier: \u003Cname>` (HTTP 400), which names the offending field. Fields use the item's lowercase JSON key; the exception is enum-like values such as `kind`, which are capitalized (`Function`, not `func`).\n- **Operators**: `==` `!=` `\u003C` `\u003C=` `>` `>=`, boolean `&&` `||` `!`, parentheses for grouping.\n- **String functions**: `contains(s, sub)`, `hasPrefix(s, pre)`, `hasSuffix(s, suf)`.\n- **Literals**: double-quoted strings (`\"Function\"`), `true`\u002F`false`, numbers.\n\nFilterable fields per command (string unless noted):\n\n| Command | Fields |\n| --- | --- |\n| `search` | `modulePath`, `packagePath`, `synopsis`, `version` |\n| `versions` | `version`, `modulePath`, `deprecated` (bool), `retracted` (bool), `hasGoMod` (bool), `commitTime` |\n| `packages` | `path`, `name`, `synopsis`, `isRedistributable` (bool) |\n| `imported-by` | `path` (the importing package path) |\n| `symbols` | `name`, `kind` (`Function`\u002F`Method`\u002F`Type`\u002F`Variable`\u002F`Constant`), `synopsis`, `parent` |\n| `major-versions` | `modulePath`, `major`, `version`, `isLatest` (bool) |\n\n```bash\ngodig symbols github.com\u002Fsamber\u002Flo --filter 'kind==\"Function\"' -o md\ngodig symbols github.com\u002Fsamber\u002Flo --filter 'kind==\"Function\" && hasPrefix(name,\"Map\")' -o md\ngodig versions github.com\u002Fsamber\u002Flo --filter 'hasPrefix(version,\"v1.5\")' -o md\ngodig versions github.com\u002Fsamber\u002Flo --filter 'deprecated==false && retracted==false' -o md\ngodig search \"result option\" --filter 'hasPrefix(packagePath,\"github.com\u002Fsamber\u002F\")' -o md\n```\n\n### Examples\n\nAlways request Markdown output (`-o md`):\n\n```bash\n# Overview — start here (compact, one call)\ngodig overview github.com\u002Fsamber\u002Fro -o md\n\n# Search\ngodig search \"result option monad\" --limit 5 -o md\n\n# Package facets\ngodig package info github.com\u002Fsamber\u002Fro -o md\ngodig package imports github.com\u002Fsamber\u002Fro -o md\ngodig package doc github.com\u002Fsamber\u002Fro --format md -o md\ngodig package examples github.com\u002Fsamber\u002Fro --symbol Map -o md\ngodig package licenses github.com\u002Fsamber\u002Fro -o md\n\n# Single symbol (token-efficient vs package-wide doc\u002Fexamples)\ngodig symbol doc github.com\u002Fsamber\u002Flo Map -o md\ngodig symbol examples github.com\u002Fsamber\u002Foops OopsError.Error -o md\n\n# Module facets\ngodig module info github.com\u002Fsamber\u002Fro -o md\ngodig module readme github.com\u002Fsamber\u002Fro -o raw\ngodig dependencies github.com\u002Fsamber\u002Fro -o md\n\n# Lists (auto-paginated; --limit to cap)\ngodig versions github.com\u002Fsamber\u002Fro -o md\ngodig major-versions github.com\u002Fsamber\u002Flo -o md\ngodig packages github.com\u002Fsamber\u002Fro -o md\ngodig imported-by github.com\u002Fsamber\u002Fro --limit 20 -o md\ngodig symbols github.com\u002Fsamber\u002Fro --filter 'kind==\"Function\"' -o md\n\n# Pin a version \u002F set the build context\ngodig versions github.com\u002Fsamber\u002Fro --filter 'hasPrefix(version,\"v0.3\")' -o md\ngodig package doc github.com\u002Fsamber\u002Flo --version v1.50.0 -o md\ngodig symbols github.com\u002Fsamber\u002Fro --goos linux --goarch amd64 -o md\n\n# Vulnerabilities\ngodig vulns github.com\u002Fsamber\u002Fro -o md\n```\n\n---\n\nThis skill is not exhaustive. `godig --help` and each sub-command's `--help` list current flags and output formats; the data mirrors what [pkg.go.dev](https:\u002F\u002Fpkg.go.dev) exposes.\n\nIf you encounter a bug or unexpected behavior in `godig`, open an issue at \u003Chttps:\u002F\u002Fgithub.com\u002Fsamber\u002Fgodig\u002Fissues>.\n","# golang-pkg-go-dev\n\n**Dependencies:** `godig` — `go install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest` (or use a registered godig MCP server \u002F the hosted instance instead).\n\n`godig` queries the [pkg.go.dev](https:\u002F\u002Fpkg.go.dev) API. Use it to answer questions about Go packages and modules: docs, symbols, versions, importers and vulnerabilities. It works as a CLI and as an MCP server, and all operations are **read-only** and need no authentication.\n\n## When to use this skill\n\nTrigger on questions like:\n\n- \"What versions of github.com\u002Fsamber\u002Flo are available?\"\n- \"Does golang.org\u002Fx\u002Ftext have known vulnerabilities?\"\n- \"Show me the docs \u002F symbols for package X.\"\n- \"Which packages import X?\"\n- \"Search Go packages for Y.\"\n\n## Choosing between `godig`, gopls, Context7, and govulncheck\n\nIn short: `godig` answers questions about the **published ecosystem** (works even for packages not yet in your `go.mod`); `gopls` reasons about **your locally resolved build** (`go.sum`, including `replace`d forks); Context7 is a fallback for non-Go or unindexed docs; `govulncheck` is the whole-tree vulnerability audit (→ `samber\u002Fcc-skills-golang@golang-security`). See the `samber\u002Fcc-skills-golang@golang-gopls` skill for wiring `gopls` (MCP server, native `LSP` tool, and CLI) with Claude Code, and the `samber\u002Fcc-skills-golang@golang-how-to` skill's \"`godig` vs gopls vs Context7 vs govulncheck\" section for the full task-to-tool matrix.\n\n## Setup\n\n### Install\n\n```bash\ngo install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest\n```\n\n### Register the MCP server (optional)\n\n`godig mcp` runs over **stdio** by default, or **streamable HTTP** with `--transport http`. The command is harness-agnostic — any MCP-capable host can point at it. Claude Code registers it via its own CLI:\n\nstdio (the client launches godig on demand):\n\n```bash\nclaude mcp add pkg-go-dev -- godig mcp\n```\n\nstreamable HTTP (shared server at `\u002Fmcp`, default `:8080`):\n\n```bash\ngodig mcp --transport http --addr :8080\nclaude mcp add --transport http pkg-go-dev http:\u002F\u002Flocalhost:8080\u002Fmcp\n```\n\nHosted instance (no install needed) — a public server runs at `https:\u002F\u002Fgodig.samber.dev\u002Fmcp`:\n\n```bash\nclaude mcp add --transport http pkg-go-dev https:\u002F\u002Fgodig.samber.dev\u002Fmcp\n```\n\nOther MCP-capable harnesses (Cursor, Windsurf, and others) each have their own MCP server registration — an entry in their respective settings file pointing at the same `godig mcp` command or hosted URL, not a shared config format.\n\nThe CLI and the MCP server expose the **same** operations under matching names. Prefer the CLI when `godig` is installed; the hosted instance is a fallback when it is not.\n\n## Commands\n\n**Global flags (all commands):** `-o\u002F--output table|json|raw|md` (default `table` — pass `-o md` for chat), `--base-url` (pkg.go.dev API), `--vuln-base-url` (Go vulnerability database, consulted by `vulns` and `overview`), `--timeout`, `--log-level debug|info|warn|error|off`. All are also settable via `GODIG_*` env vars.\n\n| Command | Args | Specific flags | Purpose |\n| --- | --- | --- | --- |\n| `overview` | `\u003Cpath>` | `--version` | Compact summary (metadata, versions, licenses, vulns) — start here |\n| `search` | `\u003Cquery>` | `--symbol --limit --filter` | Find packages (optionally exporting a symbol) |\n| `package info` | `\u003Cpath>` | `--module --version` | Package metadata |\n| `package imports` | `\u003Cpath>` | `--module --version` | Packages this package imports (plain list) |\n| `package doc` | `\u003Cpath>` | `--module --version --goos --goarch --format md\\|text\\|html\\|markdown` | Full package doc (LARGE) |\n| `package examples` | `\u003Cpath>` | `--module --version --goos --goarch --symbol` | Runnable examples (LARGE; scope with `--symbol`) |\n| `package licenses` | `\u003Cpath>` | `--module --version` | License files, full text (LARGE) |\n| `symbol doc` | `\u003Cpath> \u003Csymbol>` | `--module --version --goos --goarch` | One symbol's signature + doc (token-efficient) |\n| `symbol examples` | `\u003Cpath> \u003Csymbol>` | `--module --version --goos --goarch` | One symbol's runnable examples |\n| `symbols` | `\u003Cpath>` | `--module --version --goos --goarch --limit --filter` | List exported symbols |\n| `module info` | `\u003Cpath>` | `--version` | Module metadata |\n| `module licenses` | `\u003Cpath>` | `--version` | Module license files (LARGE) |\n| `module readme` | `\u003Cpath>` | `--version` | Module README, full Markdown (LARGE) |\n| `dependencies` | `\u003Cpath>` | `--version` | go.mod deps: requires \u002F replaces \u002F excludes \u002F go directive |\n| `packages` | `\u003Cpath>` | `--version --limit --filter` | Packages contained in a module |\n| `versions` | `\u003Cpath>` | `--limit --filter` | All versions, newest first |\n| `major-versions` | `\u003Cpath>` | `--limit --filter --exclude-pseudo` | Major versions (v1, v2 …) living as separate modules |\n| `imported-by` | `\u003Cpath>` | `--module --version --limit --filter` | Packages that import this one |\n| `vulns` | `\u003Cpath>` | `--version --limit` | Known vulnerabilities (from the Go vuln DB) |\n| `mcp` | — | `--transport stdio\\|http --addr --cache-ttl --cache-size` | Run as an MCP server |\n| `version` | — | — | Print godig version \u002F commit \u002F build date |\n\nWhen `godig` runs as an MCP server, each data command above is exposed as an operation of the same name.\n\n**Exit codes:** `0` success, `1` runtime error (network, package not found), `2` usage error — a missing\u002Finvalid argument or flag (e.g. a non-positive `--limit`), or a command group invoked with no subcommand (`godig package`). Check for `2` to tell a malformed call apart from a failed lookup.\n\nFull `-o md` output for every command: [sample-output.md](references\u002Fsample-output.md).\n\n### Tips\n\n- **Start with `overview`** — one call returns a compact summary (metadata, latest + recent versions, license types, vulnerabilities). Reach for `doc`\u002F`examples`\u002F`module readme`\u002F`licenses` (LARGE) only when the full text is needed.\n- **Always pass `-o md`** so results render as Markdown (tables, or raw doc\u002FREADME) in the chat. Other formats exist (`table` default, `json`, `raw`) but prefer `md` here.\n- `\u003Cpath>` is a full import path, e.g. `github.com\u002Fsamber\u002Flo` — pass it as the positional argument.\n- `--version` pins a specific module version (`v1.5.0`, `latest`, `master`, `main`); `--module` disambiguates which module a package belongs to.\n- `--filter` narrows list results server-side with a Go boolean expression — see [Filter syntax](#filter-syntax).\n- `--goos`\u002F`--goarch` set the documentation\u002Fsymbols build context (e.g. `linux`\u002F`amd64`).\n- Prefer `symbol doc`\u002F`symbol examples` over the package-wide `package doc`\u002F`package examples` when you only need one symbol — far fewer tokens.\n- **Parallelize independent lookups** — every command is a self-contained, read-only HTTP query, so calls never depend on each other. When a task needs docs, examples, versions, or vulns for **several** symbols, packages, or modules, issue all the calls at once (multiple `godig` invocations in a single turn) rather than one after another — wall-clock drops from sum-of-latencies to slowest-single-call. For a large fan-out (documenting many symbols, comparing many candidate libraries, auditing CVEs across a dependency set), dispatch up to 5 parallel sub-agents, each running its own `godig` calls and returning a compact summary, so the raw LARGE output never lands in the main context.\n- Listing commands auto-paginate (return all results); use `--limit` to cap.\n\n### Filter syntax\n\n`--filter` (on `search`, `versions`, `major-versions`, `packages`, `imported-by`, `symbols`) takes a **Go boolean expression evaluated server-side, once per result item**. It is not a regex — wrap the whole expression in single quotes for the shell.\n\n- **Identifiers are the item's fields, which differ per command** — a field valid for one list is rejected by another (e.g. `search` exposes `packagePath`, not `path`). An unknown field fails with `undefined identifier: \u003Cname>` (HTTP 400), which names the offending field. Fields use the item's lowercase JSON key; the exception is enum-like values such as `kind`, which are capitalized (`Function`, not `func`).\n- **Operators**: `==` `!=` `\u003C` `\u003C=` `>` `>=`, boolean `&&` `||` `!`, parentheses for grouping.\n- **String functions**: `contains(s, sub)`, `hasPrefix(s, pre)`, `hasSuffix(s, suf)`.\n- **Literals**: double-quoted strings (`\"Function\"`), `true`\u002F`false`, numbers.\n\nFilterable fields per command (string unless noted):\n\n| Command | Fields |\n| --- | --- |\n| `search` | `modulePath`, `packagePath`, `synopsis`, `version` |\n| `versions` | `version`, `modulePath`, `deprecated` (bool), `retracted` (bool), `hasGoMod` (bool), `commitTime` |\n| `packages` | `path`, `name`, `synopsis`, `isRedistributable` (bool) |\n| `imported-by` | `path` (the importing package path) |\n| `symbols` | `name`, `kind` (`Function`\u002F`Method`\u002F`Type`\u002F`Variable`\u002F`Constant`), `synopsis`, `parent` |\n| `major-versions` | `modulePath`, `major`, `version`, `isLatest` (bool) |\n\n```bash\ngodig symbols github.com\u002Fsamber\u002Flo --filter 'kind==\"Function\"' -o md\ngodig symbols github.com\u002Fsamber\u002Flo --filter 'kind==\"Function\" && hasPrefix(name,\"Map\")' -o md\ngodig versions github.com\u002Fsamber\u002Flo --filter 'hasPrefix(version,\"v1.5\")' -o md\ngodig versions github.com\u002Fsamber\u002Flo --filter 'deprecated==false && retracted==false' -o md\ngodig search \"result option\" --filter 'hasPrefix(packagePath,\"github.com\u002Fsamber\u002F\")' -o md\n```\n\n### Examples\n\nAlways request Markdown output (`-o md`):\n\n```bash\n# Overview — start here (compact, one call)\ngodig overview github.com\u002Fsamber\u002Fro -o md\n\n# Search\ngodig search \"result option monad\" --limit 5 -o md\n\n# Package facets\ngodig package info github.com\u002Fsamber\u002Fro -o md\ngodig package imports github.com\u002Fsamber\u002Fro -o md\ngodig package doc github.com\u002Fsamber\u002Fro --format md -o md\ngodig package examples github.com\u002Fsamber\u002Fro --symbol Map -o md\ngodig package licenses github.com\u002Fsamber\u002Fro -o md\n\n# Single symbol (token-efficient vs package-wide doc\u002Fexamples)\ngodig symbol doc github.com\u002Fsamber\u002Flo Map -o md\ngodig symbol examples github.com\u002Fsamber\u002Foops OopsError.Error -o md\n\n# Module facets\ngodig module info github.com\u002Fsamber\u002Fro -o md\ngodig module readme github.com\u002Fsamber\u002Fro -o raw\ngodig dependencies github.com\u002Fsamber\u002Fro -o md\n\n# Lists (auto-paginated; --limit to cap)\ngodig versions github.com\u002Fsamber\u002Fro -o md\ngodig major-versions github.com\u002Fsamber\u002Flo -o md\ngodig packages github.com\u002Fsamber\u002Fro -o md\ngodig imported-by github.com\u002Fsamber\u002Fro --limit 20 -o md\ngodig symbols github.com\u002Fsamber\u002Fro --filter 'kind==\"Function\"' -o md\n\n# Pin a version \u002F set the build context\ngodig versions github.com\u002Fsamber\u002Fro --filter 'hasPrefix(version,\"v0.3\")' -o md\ngodig package doc github.com\u002Fsamber\u002Flo --version v1.50.0 -o md\ngodig symbols github.com\u002Fsamber\u002Fro --goos linux --goarch amd64 -o md\n\n# Vulnerabilities\ngodig vulns github.com\u002Fsamber\u002Fro -o md\n```\n\n---\n\nThis skill is not exhaustive. `godig --help` and each sub-command's `--help` list current flags and output formats; the data mirrors what [pkg.go.dev](https:\u002F\u002Fpkg.go.dev) exposes.\n\nIf you encounter a bug or unexpected behavior in `godig`, open an issue at \u003Chttps:\u002F\u002Fgithub.com\u002Fsamber\u002Fgodig\u002Fissues>.\n",{"name":5,"license":15,"metadata":24,"description":7,"allowed-tools":39,"compatibility":40,"user-invocable":41},{"author":25,"version":26,"openclaw":27},"samber","1.4.2",{"emoji":28,"install":29,"homepage":35,"requires":36,"skill-library-version":38},"🔎",[30],{"bins":31,"kind":33,"package":34},[32],"godig","go","github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest","https:\u002F\u002Fgithub.com\u002Fsamber\u002Fcc-skills-golang",{"bins":37},[33,32],"0.2.0","Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Bash(godig:*) Agent","Designed for Claude Code, Codex or similar harness. Requires the godig CLI (go install github.com\u002Fsamber\u002Fgodig\u002Fcmd\u002Fgodig@latest) or access to a godig MCP server, and internet access to reach the pkg.go.dev API.",true,"main","2147d79c9cd764770418b462c29634bcdc710096","plugins\u002Fbase\u002Fskills\u002Fgolang-pkg-go-dev","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace","https:\u002F\u002Fgithub.com\u002Fheynemann","http:\u002F\u002Fwww.thumbor.org","CTO @ Flutter Brazil | Former Meta & Coinbase","2026-09-29 21:26:05",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":41},[52,55,58],{"tool":53,"command":54},"npx","npx skills add heynemann\u002Fomp-marketplace --skill golang-pkg-go-dev",{"tool":56,"command":57},"bunx","bunx skills add heynemann\u002Fomp-marketplace --skill golang-pkg-go-dev",{"tool":59,"command":60},"pnpm","pnpm dlx skills add heynemann\u002Fomp-marketplace --skill golang-pkg-go-dev","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fgolang-pkg-go-dev\u002FSKILL.md",[63],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fsample-output.md","REFERENCE","参考文档",7183,"https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fgolang-pkg-go-dev\u002Freferences\u002Fsample-output.md",[70,77,84,91,98,105],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7DFXDYP0N6P8KR0AF7C0TDK","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7DFX9C5B0T1T0AVDCWNR5P2","write-skill","Use when creating, designing, or fixing an agent skill (SKILL.md pack) — triggers include \"write a skill\", \"make me a skill\", \"create a skill\", skill directories, and skills that fail to trigger or fire on the wrong tasks.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwrite-skill\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7DFX64VSTQV0CSGYR76MPZF","write-agent","Use when creating, designing, or fixing an omp subagent (task agent) — triggers include \"write an agent\", \"make me an agent\", \"create a subagent\", agent `.md` definitions, and agents that misbehave when spawned via task.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwrite-agent\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7DFX22JEY7ZN9EDESM732K5","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7DFWYXR5V2CY2BPDAAS19R1","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7DFWXFFMBKV294WS66S475V","wait-what","Stop. That last message did not land: re-pitch it.","https:\u002F\u002Fgithub.com\u002Fheynemann\u002Fomp-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fbase\u002Fskills\u002Fwait-what\u002FSKILL.md",[],[]]