소스 정보
- 저장소
- Datus-ai/Datus-agent
- 최근 소스 활동
- 2026년 4월 28일 15:14
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1,558
- 포크
- 228
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Datus-ai/Datus-agent --skill superset-dashboard명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | superset-dashboard |
| description | Create, view, and manage Superset dashboards with charts and datasets |
| tags | ["superset","dashboard","BI","visualization"] |
| version | 2.0.0 |
| user_invocable | false |
| disable_model_invocation | false |
| allowed_agents | ["gen_dashboard"] |
Use this skill to create, update, or inspect dashboards in Apache Superset.
The data you need is already in a table inside a Superset-connected database —
gen_dashboard does not move data. Your job: register the dataset, build
charts, assemble the dashboard, validate.
Follow these steps in order. Each step depends on the output of the previous one.
list_bi_databases()
Match the orchestrator-provided bi_database_name against the returned
name, and pick the corresponding id — that's your database_id for every
create_dataset call below. If no match, bail with a structured error naming
the missing DB.
create_dataset)Register a table or SQL query as a Superset dataset.
Physical dataset (table already exists in the BI database):
create_dataset(name="target_table", database_id="<from step 1>")
Virtual dataset (aggregated/transformed view over the physical table):
create_dataset(name="view_name", database_id="<from step 1>", sql="SELECT ... FROM target_table")
dataset_id — save it for Step 3.database_id must be a Superset BI database connection ID from
list_bi_databases(). Source connector IDs and Superset BI database IDs are
separate identifiers.Before calling create_dashboard, create_chart, or
add_chart_to_dashboard, make an internal layout plan. Do not expose a long
plan to the user unless asked, but use it to decide the chart count, chart
order, and expected row grouping before any dashboard or chart write calls.
The layout plan must include:
If the user provides a row-by-row layout, normalize it against these rules before creating resources. Avoid blindly creating one row per chart when charts can share a row.
create_dashboard)create_dashboard(title="Dashboard Title", description="Optional description")
Returns dashboard_id — save it for chart creation and assembly.
create_chart)Create visualization charts referencing the dataset.
create_chart(
chart_type="bar", # bar, line, pie, table, big_number, scatter
title="Chart Title",
dataset_id="<from step 2>",
dashboard_id="<from step 4>",
metrics="revenue,COUNT(order_id)",
x_axis="date_column",
dimensions="category"
)
Metrics format:
SUM(column): "revenue" -> SUM(revenue)"AVG(price)", "MAX(amount)", "MIN(cost)", "COUNT(id)""revenue,COUNT(order_id),AVG(price)"For big_number charts:
metrics="AVG(activity_count)"x_axis or dimensions needed.Dashboard design defaults:
big_number charts for headline metrics when the request includes
totals, counts, rates, averages, or sums.line only when there is a real temporal column; otherwise use bar
for comparisons and rankings.pie only for fewer than 7 categories and exactly one metric.add_chart_to_dashboard)add_chart_to_dashboard(chart_id="<from step 5>", dashboard_id="<from step 4>")
Repeat for each chart.
After assembling the dashboard, finish the run and return the created IDs.
bi-validation is a validator skill invoked automatically by
ValidationHook.on_end; do not call load_skill("bi-validation") or try to
run validator checks manually.
Publish is complete when the creation calls succeed and the dashboard / chart /
dataset identifiers are known. The framework validates reachability and wiring
after the agent run ends. Return the dashboard_id,
dataset_id, and chart_ids. Treat follow-up layout or chart rewiring as a
separate update request.
| Action | Tool | Notes |
|---|---|---|
| List dashboards | list_dashboards(search="keyword") | Filter by keyword |
| Get dashboard details | get_dashboard(dashboard_id="...") | Full info including charts |
| List charts in dashboard | list_charts(dashboard_id="...") | All charts with config |
| Get chart details | get_chart(chart_id="...") | Full chart definition and query details |
| Get chart data | get_chart_data(chart_id="...", limit=10) | Query result rows for numeric validation |
| List datasets | list_datasets() | All registered datasets |
| List BI databases | list_bi_databases() | Database connections in Superset |
update_dashboard(dashboard_id, title="New Title", description="New desc")update_chart(chart_id, title="...", chart_type="...", metrics="...", x_axis="...", description="...")MUST confirm with user before any deletion.
delete_dashboard(dashboard_id="...")delete_chart(chart_id="...")delete_dataset(dataset_id="...")gen_job
or scheduler before retrying dashboard creation.create_dataset — obtain it from
list_bi_databases, not from a source connector.