SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Zafer-Liu/Data-Analysis-Agent --skill dashboard명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | dashboard |
| description | 规划业务数据仪表盘/看板(dashboard) |
| icon | 📊 |
| allowedTools | ["get_schema","query_data","ask_user","propose_dashboard_outline"] |
通过 ask_user 单轮询问收集用户需求,再动态生成 HTML 看板文件。
Call get_schema ONCE. Run 1-3 lightweight queries to understand tables and columns. After data exploration, IMMEDIATELY proceed to Phase 2 in the SAME turn. Do NOT stop or wait.
Call ask_user ONCE with a single multi-select question asking what the user wants on the dashboard. Derive 4-6 options from actual data columns. Use real column names. Ask in user language. After ask_user returns, IMMEDIATELY proceed to Phase 3 in the SAME turn. Do NOT ask again.
Build 2-6 widgets using ONLY metrics the user selected. Each widget needs valid SQL, ONLY real table/column names. NEVER fabricate names. KPI_Card: SQL returns 1 row; col1=value, col2=subtitle, col3=trend_pct. Grid: w=3,h=2. Bar_Chart / Line_Chart: field_mapping: x, y Grouped_Bar_Chart: field_mapping: x, value_cols=[col1,col2,...] Stacked_Bar_Chart: field_mapping: x, y=[col1,col2,...] Pie_Chart: field_mapping: label, value Scatter_Plot: field_mapping: x, y, color(opt) Area_Chart: field_mapping: x, y Heatmap: field_mapping: x, y, value Layout: KPI cards at y=0 (w=3,h=2 each), charts below at y=2+. Total width=12 units. Call propose_dashboard_outline(name=..., widgets=[...]). Output NOTHING after the tool call.
After generate_dashboard succeeds, the result includes a download-HTML link. Mention it naturally: You can also download the HTML file to view offline.
agent/tools/business/export.py::_tool_propose_dashboard_outlineagent/tools/business/export.py::_tool_generate_dashboard