# preset-cli

> Claude/Codex skill by [@preset-io](https://omgskills.com/library/preset-io/index.md) · 13 stars · Updated 2026-10-09

Drive Preset's \`sup\` CLI (PyPI package \`superset-sup\`) for shell, scripting, CI/CD, and agent-driven Preset workflows. Use only for CLI workflows; Do not use for MCP-only work or for direct HTTP/SDK code paths.

Tags: agent-skills, ai-agents, anthropic, apache-superset, business-intelligence, claude, claude-code, claude-plugin, claude-skills, cursor, data-analytics, gemini-cli, github-copilot, mcp, mcp-server, model-context-protocol, openai-codex, preset, snowflake-cortex, superset

## Install

```sh
git clone https://github.com/preset-io/agent-skills /tmp/agent-skills && ln -s /tmp/agent-skills/plugins/preset-cli-skills/skills/preset-cli ~/.claude/skills/preset-cli
```

## From README

preset-cli Use as the foundation for shell, scripting, CI/CD, and agent-driven Preset workflows through the sup CLI. Always CLI surface only; stay on MCP or direct API if that's what the user requested. Default to --json for automation and agent consumption. Keep SUPPRESETAPITOKEN / SUPPRESETAPISECRET out of command lines and shared output; use env vars or sup config auth, never paste secrets on the command line. Route push, sync, overwrite, and --force to preset-cli-mutations. Redact tokens and credential-bearing output in transcripts. Decision Rules Classify CLI vs MCP vs direct API intent before acting; if MCP or direct API was requested, defer to that plugin. Run metadata reads and explicitly requested data-returning reads (e.g. sup sql, sup chart data) on familiar workspaces directly with bounded output; for sup sql, this direct path requires a pure single-statement SELECT.

## Links

- HTML page: https://omgskills.com/library/preset-io/agent-skills/plugins/preset-cli-skills/skills/preset-cli/
- GitHub: https://github.com/preset-io/agent-skills
- Author: [@preset-io](https://omgskills.com/library/preset-io/index.md)
