Back to Discover

agent-skills

connector

preset-io

Agent skills for Preset, Apache Superset, Superset MCP & Snowflake Cortex — works across Claude, Codex, Cursor, Copilot, Cortex Code & Gemini CLI.

View on GitHub
11 starsApache-2.0Synced Aug 2, 2026

Install to Claude Code

/plugin marketplace add preset-io/agent-skills

README

Preset Agent Skills

Agent guidance for working with Preset, Apache Superset, and Superset MCP tools. The skills work across Claude, OpenAI Codex, Cursor, GitHub Copilot, Snowflake Cortex Code CLI, and Gemini CLI from a single source.

What's included

The installable packages are:

  • preset-api-skills — focused skills for direct Preset Management API, Superset workspace API, and Snowflake Cortex API workflows.
  • preset-mcp-skills — focused skills for Superset MCP tool workflows.
  • preset-cli-skills — focused skills for Preset CLI (sup) shell, scripting, CI/CD, read/export, SQL, and gated mutation workflows.

API package highlights:

  • preset-api — authenticate with the Preset Management API (JWT exchange, base URLs, pagination, safety policy). Required by the other skills.
  • preset-workspaces — list teams and workspaces, resolve workspace hostnames, inspect membership and status.
  • preset-admin — manage team memberships, workspace lifecycle, invites, roles, and audit logs with confirmation-gated mutations.
  • preset-dashboards — inspect dashboards, charts, datasets, and chart data with safety boundaries.
  • preset-sql-execution — run or route SQL Lab execution, result retrieval, exports, and saved-query mutations with explicit approval.

See the API package README for the full catalog (17 skills covering datasets, SQL Lab, embedding, guest tokens, RLS, database connections, role/permission changes, destructive imports, and Snowflake Cortex Agents).

MCP package highlights:

  • preset-mcp — route MCP intent and enforce the no-direct-API boundary.
  • preset-mcp-discovery — use MCP health, list, detail, schema, and chart-type discovery tools.
  • preset-mcp-visualization — create Explore links, chart previews, saved charts, and chart updates through MCP.
  • preset-mcp-sqllab — run SQL, open SQL Lab links, and save SQL queries through MCP.
  • preset-mcp-troubleshooting — handle MCP health, validation, permission, response-size, and bug-report workflows.

See the MCP package README for the full 8-skill catalog.

CLI package highlights:

  • preset-cli — install and authenticate sup, select workspaces, choose output formats, run read-only asset workflows, and handle SQL/data-returning reads with safety boundaries.
  • preset-cli-mutations — handle sup push, --force, --overwrite, user push/invite, and cross-workspace sync with mandatory preview and confirmation.

See the CLI package README for the full 2-skill catalog.

Install or load each package from its plugin directory, not from the repository root. Use preset-api-skills for direct API workflows. Use preset-mcp-skills for MCP workflows. Use preset-cli-skills for explicit sup CLI workflows. Do not use API or CLI skills as a fallback for MCP-only work, and do not use MCP or CLI skills for direct API work.

Supported clients

ClientHow skills loadInstall
Claude Code (CLI)Plugin marketplace/plugin marketplace add/plugin install
OpenAI CodexPlugin marketplacecodex plugin marketplace addcodex plugin add
Claude DesktopIndividual Skill ZIPsUpload in Skills settings
Claude.ai webIndividual Skill ZIPsUpload in Skills settings
CursorProject ruleRemote Rule (GitHub) import
GitHub CopilotRepo-local instructionsCopy copilot-instructions.md
Snowflake Cortex Code CLICustom skillscortex skill add / /skill add
Gemini CLINative Agent Skillsgemini skills install

Installation

Find your client in the table above, then follow its section below. The GitHub repository is preset-io/agent-skills; preset-agent-skills is the marketplace name used by plugin install commands.

Claude Desktop

Claude Desktop installs these as individual Skill ZIP uploads.

  1. Open Claude Desktop → Settings → Connectors, then click the Customize link.
  2. In Customize, select Skills in the sidebar, click the + next to "Skills", then choose Create skill → Upload a skill.
  3. Download the per-skill ZIPs from the latest GitHub Release.
  4. Upload each skill ZIP one by one. Start with only the skills relevant to your work, such as preset-api.zip for direct API workflows, preset-mcp.zip / preset-mcp-discovery.zip for MCP workflows, or preset-cli.zip / preset-cli-mutations.zip for sup CLI workflows.
  5. Restart Claude Desktop after uploading or replacing skill ZIPs.

Claude Code (CLI)

From any Claude Code session:

/plugin marketplace add preset-io/agent-skills
/plugin install preset-api-skills@preset-agent-skills
/plugin install preset-mcp-skills@preset-agent-skills
/plugin install preset-cli-skills@preset-agent-skills

Updates ship when we publish a new version — the version is bumped in the plugin manifests and tagged. Run /plugin update (or re-run /plugin install) to pull it.

Claude.ai web

Claude.ai web does not run plugins, so each skill must be uploaded individually as a Skill ZIP.

Easiest path: install Claude Desktop (free, same account) and follow the individual Skill ZIP upload steps above.

Web-only path: download the per-skill ZIPs from the latest GitHub Release, then in claude.ai open Settings → Capabilities → Skills, click Upload Skill, and upload each ZIP. You only need the skills relevant to your work.

To build the same ZIPs locally instead of downloading a release, run:

node scripts/build-claude-web-skills.mjs
node scripts/build-claude-web-skills.mjs \
  --source plugins/preset-mcp-skills/skills \
  --out dist/claude-web-flat-mcp-skills
node scripts/build-claude-web-skills.mjs \
  --source plugins/preset-cli-skills/skills \
  --out dist/claude-web-flat-cli-skills

OpenAI Codex

Install the plugin from GitHub:

codex plugin marketplace add preset-io/agent-skills --ref master
codex plugin add preset-api-skills@preset-agent-skills
codex plugin add preset-mcp-skills@preset-agent-skills
codex plugin add preset-cli-skills@preset-agent-skills

Use a release tag (e.g. --ref v0.4.0) instead of master for a pinned install. Restart Codex after installing so the new skills are loaded into the next session.

Cursor

Cursor imports this repository as a GitHub-backed project rule. Use the .git clone URL; Cursor rejects the plain repository URL in the import dialog.

  1. Open Cursor Settings → Rules.
  2. In Project Rules, click Add Rule.
  3. Select Remote Rule (Github).
  4. Enter the HTTPS clone URL:
    https://github.com/preset-io/agent-skills.git
    

GitHub Copilot

Copilot only auto-loads instructions from a repository-root .github/copilot-instructions.md. Copy the package instructions you need into the .github/ directory of the consuming repository, or reference their content from your own .github/copilot-instructions.md: plugins/preset-api-skills/.github/copilot-instructions.md for direct API workflows, plugins/preset-mcp-skills/.github/copilot-instructions.md for Superset MCP workflows, and plugins/preset-cli-skills/.github/copilot-instructions.md for sup CLI workflows. Copilot loads the file whenever it edits code in that repo.

Snowflake Cortex Code CLI

Cortex Code CLI supports custom skills from local folders and Git repositories. Install the public repo, then confirm the skills are visible:

/skill add https://github.com/preset-io/agent-skills.git
/skill list

If remote discovery does not pick up the nested package folders, clone the repo and add the package skill directories directly:

git clone https://github.com/preset-io/agent-skills.git
cortex skill add agent-skills/plugins/preset-api-skills/skills
cortex skill add agent-skills/plugins/preset-mcp-skills/skills
cortex skill add agent-skills/plugins/preset-cli-skills/skills

Use the API package for direct Preset/Superset API and Snowflake Cortex Agent workflows, the MCP package for Superset MCP workflows, and the CLI package for sup workflows.

Gemini CLI

Gemini CLI v0.27.0 and later natively discovers Agent Skills. Install each package's skills/ directory from the public repository:

gemini skills install https://github.com/preset-io/agent-skills.git \
  --path plugins/preset-api-skills/skills
gemini skills install https://github.com/preset-io/agent-skills.git \
  --path plugins/preset-mcp-skills/skills
gemini skills install https://github.com/preset-io/agent-skills.git \
  --path plugins/preset-cli-skills/skills

These commands install user-scoped skills under ~/.gemini/skills/, making them available in every project. Add --scope workspace to install them under the current project's .gemini/skills/ instead. Workspace skills load only when the project is trusted.

Run gemini skills list to verify the install. If Gemini CLI is already running, use /skills reload to discover the new or updated skills.

Legacy Gemini CLI fallback

Gemini CLI versions before v0.27.0 do not have stable native Agent Skills support. For those versions, clone the repository and import the package routing guides from your global or project GEMINI.md:

git clone https://github.com/preset-io/agent-skills.git
@/path/to/agent-skills/plugins/preset-api-skills/AGENTS.md
@/path/to/agent-skills/plugins/preset-mcp-skills/AGENTS.md
@/path/to/agent-skills/plugins/preset-cli-skills/AGENTS.md

Run /memory refresh in Gemini CLI after updating GEMINI.md.

Updating

  • Claude Desktop and Claude.ai web: download the latest release ZIPs and upload or replace the skills again.
  • Claude Code and OpenAI Codex: re-run the install commands, or pin to a newer release tag when you want deterministic installs.
  • Snowflake Cortex Code CLI: re-run /skill add for the Git URL, or pull the local clone and re-run cortex skill add.
  • Gemini CLI v0.27.0 and later: re-run the gemini skills install commands, then use /skills reload in a running session. Legacy installs: pull the latest repo contents, then run /memory refresh.

Verifying the install

Ask your AI tool something the installed skills are designed for, for example:

"Using the Preset API, list the workspaces I have access to." "Using Superset MCP tools, list dashboards." "Using the Preset CLI, show me the sup command to export dashboards as JSON."

The tool should reference one of the Preset skills or package instruction files (such as preset-workspaces, preset-api, preset-mcp-discovery, or preset-cli). Gemini CLI users can also confirm discovery with gemini skills list. If the expected skills do not appear, re-check the install steps for your client.

Repository Layout

This repository keeps client metadata next to each package for contributors and debugging:

Validating source skills

Run the repository smoke test before publishing changes:

./scripts/smoke-test.sh

It includes node scripts/validate-agent-skills.mjs, which checks the source skill folders against the Agent Skills structural rules: required frontmatter, name and description limits, parent-directory name matching, compact SKILL.md files, and local Markdown links that stay inside each skill folder.

Releasing

The package version is single-sourced in the top-level VERSION file and stamped into every provider manifest (the .claude-plugin, .codex-plugin, and .cursor-plugin plugin.json for each package). Claude Code and OpenAI Codex cache plugins by this version and only surface an update when it changes, so the manifests must stay in lockstep with the published git tag — other clients track the repo or release tag directly.

To cut a release:

  1. Bump VERSION (semver MAJOR.MINOR.PATCH).
  2. Run node scripts/sync-version.mjs to stamp it into every manifest.
  3. Commit and merge the PR to master.

After the merge, the Auto version tag workflow creates vX.Y.Z when that tag is missing, then dispatches the private release build and the public mirror/release workflow. The tag must equal VERSION.

node scripts/sync-version.mjs --check runs in the smoke test and CI and fails if any manifest drifts from VERSION; the release workflow additionally fails if the tag does not match VERSION.

Rendered live from preset-io/agent-skills's GitHub README — not stored, always reflects the source repo.

3 Plugins

NameDescriptionCategorySource
preset-api-skillsPreset API skills for explicit direct API workflows. Do not use for MCP-only work.development./plugins/preset-api-skills
preset-mcp-skillsPreset MCP skills for Superset MCP tool workflows. Do not use for direct API work.development./plugins/preset-mcp-skills
preset-cli-skillsPreset CLI skills for shell, scripting, and CI/CD workflows driven by the `sup` CLI (PyPI package `superset-sup`). Use only for CLI workflows; do not use for MCP-only work, and do not use as a substitute for direct HTTP/SDK code.development./plugins/preset-cli-skills

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.