Skip to content
Data
Skill

/marmot

Interact with a Marmot data catalog instance. Use this skill when the user wants to search for data assets, view lineage, browse glossary terms, check pipeline runs, manage tags or owners, view metrics, query catalogued data, or do anything related to their data catalog. Covers

From plugin
marmot
6411 skill

Claude Code

$ npx -y skills add marmotdata/marmot --skill marmot --agent claude-code

SKILL.md

marmot.SKILL.md
name: marmot
description: Interact with a Marmot data catalog instance. Use this skill when the user wants to search for data assets, view lineage, browse glossary terms, check pipeline runs, manage tags or owners, view metrics, query catalogued data, or do anything related to their data catalog. Covers the Marmot CLI, REST API and MCP server.

This skill helps you interact with a Marmot data catalog. Marmot catalogs data assets (databases, tables, topics, APIs, dashboards) across an organisation's data stack and tracks lineage between them.

Setup

The user needs the Marmot CLI installed and authenticated. If not already set up, prefer Homebrew:

brew install marmot

Otherwise use the installer attached to a release, checked against that release's checksums. Never pipe a remote script into a shell. Set `VERSION` to the latest release from https://github.com/marmotdata/marmot/releases:

VERSION=x.y.z
BASE=https://github.com/marmotdata/marmot/releases/download/v$VERSION
curl -fsSLO "$BASE/install.sh"
curl -fsSLO "$BASE/marmot_${VERSION}_checksums.txt"
grep ' install.sh$' "marmot_${VERSION}_checksums.txt" | sha256sum -c -

If `cosign` is installed, also verify the checksum file came from Marmot's release workflow:

curl -fsSLO "$BASE/marmot_${VERSION}_checksums.txt.sigstore.json"
cosign verify-blob \
  --bundle "marmot_${VERSION}_checksums.txt.sigstore.json" \
  --certificate-identity "https://github.com/marmotdata/marmot/.github/workflows/release.yaml@refs/tags/v$VERSION" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  "marmot_${VERSION}_checksums.txt"

Stop if either check fails. Show the user `install.sh` and get their go-ahead before running it. The installer verifies the binary it downloads against the same checksums, and checks their signature too when `cosign` is available:

MARMOT_VERSION=$VERSION sh install.sh
marmot login https://marmot.example.com

`marmot login` opens a browser for OAuth 2.0 PKCE authentication and caches the token locally. The token expires after 24 hours and carries the user's roles and permissions as claims. Login also registers the token with the Docker credential store for the instance's host, so `oras push`, `crane push` and `docker push` can publish plugins to the registry the instance serves. This goes through the `docker-credential-marmot` helper, a symlink to the marmot binary that `install.sh` creates; if the helper is not on your PATH, login writes the token itself into `~/.docker/config.json` the way `docker login` does. Alternatively, use an API key:

export MARMOT_HOST=https://marmot.example.com
export MARMOT_API_KEY=<key>

Or pass `--host` and `--api-key` as flags on any command.

`marmot skills install` refreshes this skill to match the installed CLI.

MCP Server

Marmot has a built-in MCP (Model Context Protocol) server. If the user has configured MCP, you can interact with the catalog directly using these tools instead of the CLI:

Reading the catalog:

  • **search**: one search across assets, knowledge entries, glossary terms, data products and teams. Narrow with `kinds`, `types`, `providers`, `tags` or `owner` (a team name, username or `me`). Send `limit: 0` for counts and the returned `next_cursor` as `cursor` for the next page.
  • **fetch**: read anything in full by the id search returned, an MRN (such as `mrn://asset/table/postgresql/analytics.public.orders`), a Marmot URL or an exact name; up to 10 `ids` at once. Assets come with owners, freshness, documentation pages, schema, lineage, data products and the knowledge that applies.
  • **get_lineage**: what feeds an asset and what depends on it, nearest first.
  • **search_knowledge**: the company's written knowledge, or with `about`, every entry that applies to an asset.
  • **read_knowledge**: one knowledge entry in full, with its fields and write-up.

Changing the catalog (only listed for callers with `assets:manage`):

  • **update_entity**: an asset's summary, tags, owners or linked terms, or a term's definition. Owners and terms by name.
  • **create_knowledge**: save a knowledge entry as a draft.

Older tools (`discover_data`, `find_ownership`, `lookup_term`, `explore_data_products`, `explore_teams`, `trace_lineage`, `update_documentation`, `manage_tags`, `manage_owners`) still work for existing integrations; prefer the ones above.

Querying data (only listed for callers with `assets:query`):

  • **list_queryable_sources**: the sources that answer queries, searchable by name.
  • **query_data**: run one read-only SQL statement against a source. The answer carries the rows plus what the catalog knows about every table read, and the id the query was recorded under.

Every tool that changes something returns a preview first and changes nothing. Show the preview to the user and call again with the returned `preview_id` only once they agree to that specific change.

MCP configuration lives in `~/.claude.json` (user-level) or `.mcp.json` (project-level):

{
  "mcpServers": {
    "marmot": {
      "type": "http",
      "url": "https://<marmot-server>/api/v1/mcp",
      "headers": {
        "X-API-Key": "<api-key>"
      }
    }
  }
}

Prefer MCP tools when available. Fall back to the CLI or REST API for operations MCP doesn't cover (e.g. glossary writes, metrics, admin).

Driving the CLI as an agent

marmot agent schema                       # every command, flag, example, exit code and setting as JSON
export MARMOT_READ_ONLY=true              # refuse every command that is not a read (or pass --read-only)

Load `marmot agent schema` once rather than walking `--help`. Each command carries `access`: `read`, `write` (changes the server) or `local` (changes local config or credentials). Unless the user wants you to change things, work with `MARMOT_READ_ONLY=true`; a blocked command exits with code 9 and changes nothing.

Branch on the exit code, not the message:

| Code | Mean

Read more
@marmotdata
Ships withmarmot

The open source knowledgehouse for your company. Marmot knows what your data means, governs who may use it and runs every query your people and agents make, checked and recorded. Catalog, lineage, governed SQL and an MCP server in one Go binary.

Stars on GitHub

Momentum

stars in total
641
Star history of marmotdata/marmot on GitHub, a chart by star-history.com

More skills from other plugins.

paddleocr-doc-parsing

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…

paddleocr2mo93k
@paddlepaddle@paddlepaddleInstall Skill
context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem02w69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog3w41k
@posthog@posthogInstall Skill

Questions about marmot.

Which coding agents can use marmot?
marmot installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.