superset
БесплатноБез исполняемых скриптовНе проверенApache Superset is an open-source data exploration and visualization platform. Learn Docker deployment, database connections, chart creation, dashboard…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Superset
Overview
Apache Superset is a BI platform with a no-code chart builder, SQL Lab for ad-hoc queries, dashboards and a REST API. It connects to most SQL databases through SQLAlchemy drivers. The current release is 6.1.0 (May 2026). This skill covers a local or single-host install, first-run setup, connecting a database, scripting charts and dashboards through the API, and access control.
Instructions
Install with Docker Compose
The upstream compose files are for trying Superset and for development. The docs state plainly that a docker compose install is not production-ready (the metadata database lives in an unbacked-up volume, no high availability); for production use the Helm chart on Kubernetes.
git clone --depth=1 https://github.com/apache/superset.git
cd superset
export TAG=6.1.0-dev # the plain 6.1.0 image has no database drivers, so it cannot reach the compose Postgres
git fetch --depth=1 origin tag 6.1.0
git checkout 6.1.0 # keeps docker/ scripts in sync with the image
docker compose -f docker-compose-image-tag.yml up -d
# UI at http://localhost:8088, login admin / admin (dev defaults, change them)
docker-compose-non-dev.yml builds an image from the checked-out branch instead; plain docker-compose.yml is the hot-reload development setup. Settings are in docker/.env; override them in docker/.env-local. SUPERSET_LOAD_EXAMPLES=yes loads sample dashboards.
Your own compose file
The plain apache/superset:6.1.0 image is the lean build: no database drivers (not even for the metadata database) and no headless browser. The 6.1.0-dev tag adds psycopg2-binary, mysqlclient and Chromium and runs as root, which is fine locally; for production extend the lean image with your own drivers (see Docker Builds in the docs). Superset refuses to start without a strong SECRET_KEY (generate one with openssl rand -base64 42). The app does not read a DATABASE_URL variable: put the metadata database in superset_config.py.
Minimal compose file and config
# docker-compose.yml: Minimal Superset with PostgreSQL
services:
superset:
image: apache/superset:6.1.0-dev
ports:
- "8088:8088"
environment:
SUPERSET_SECRET_KEY: ${SUPERSET_SECRET_KEY}
depends_on:
- postgres
- redis
volumes:
- ./superset_config.py:/app/pythonpath/superset_config.py
postgres:
image: postgres:16
environment:
POSTGRES_USER: superset
POSTGRES_PASSWORD: superset
POSTGRES_DB: superset
volumes:
- pg-data:/var/lib/postgresql/data
redis:
image: redis:7
volumes:
pg-data:
# superset_config.py: Basic Superset configuration
import os
SECRET_KEY = os.environ['SUPERSET_SECRET_KEY'] # openssl rand -base64 42
SQLALCHEMY_DATABASE_URI = 'postgresql+psycopg2://superset:superset@postgres/superset'
# Feature flags (native filters are always on since 4.0; the old
# DASHBOARD_NATIVE_FILTERS flag was removed)
FEATURE_FLAGS = {
'ENABLE_TEMPLATE_PROCESSING': True,
'EMBEDDED_SUPERSET': True,
}
# Cache config
CACHE_CONFIG = {
'CACHE_TYPE': 'RedisCache',
'CACHE_DEFAULT_TIMEOUT': 300,
'CACHE_KEY_PREFIX': 'superset_',
'CACHE_REDIS_URL': 'redis://redis:6379/0',
}
First-run setup
# setup.sh: Initialize Superset after first deploy
# Create admin user
# (own compose file only; the upstream compose files run these in superset_init)
# Order matters: migrate first, then create the admin, then init roles
docker compose exec superset superset db upgrade
docker compose exec superset superset fab create-admin \
--username admin --firstname Ada --lastname Okafor \
--email [email protected] --password "$SUPERSET_ADMIN_PASSWORD"
docker compose exec superset superset init
# Optional sample dashboards
docker compose exec superset superset load_examples
Connect a database
# add-database.sh: Add a data source via API
TOKEN=$(curl -s -X POST http://localhost:8088/api/v1/security/login \
-H "Content-Type: application/json" \
-d "{\"username\": \"admin\", \"password\": \"$SUPERSET_ADMIN_PASSWORD\", \"provider\": \"db\"}" \
| jq -r '.access_token')
# POST/PUT/DELETE also need a CSRF token and the session cookie it belongs to
CSRF=$(curl -s -c cookies.txt -H "Authorization: Bearer $TOKEN" \
http://localhost:8088/api/v1/security/csrf_token/ | jq -r '.result')
curl -X POST http://localhost:8088/api/v1/database/ \
-b cookies.txt -H "Authorization: Bearer $TOKEN" \
-H "X-CSRFToken: $CSRF" -H "Referer: http://localhost:8088/" \
-H "Content-Type: application/json" \
-d @- <<JSON
{
"database_name": "Production Analytics",
"engine": "postgresql",
"sqlalchemy_uri": "postgresql://readonly:${ANALYTICS_RO_PASSWORD}@prod-db:5432/analytics",
"expose_in_sqllab": true,
"allow_ctas": false,
"allow_cvas": false
}
JSON
SQL Lab
SQL Lab is Superset's interactive SQL editor:
1. Navigate t
Установить superset в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл superset?
Apache Superset is an open-source data exploration and visualization platform. Learn Docker deployment, database connections, chart creation, dashboard building, SQL Lab usage, and programmatic access via the REST API.
Как установить скилл superset?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл superset запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic