powerdrill-data-analysis-skill
由 javainthinking 提供
Browser & Automation简介
This skill should be used when the user wants to analyze, explore, visualize, or query data using Powerdrill.
描述
该技能的功能
Connects to the Powerdrill API to manage datasets, upload files, run natural-language queries, and retrieve charts and tables as output. Uses a Python client script that wraps the Powerdrill REST API v2. Supports full analysis sessions with conversational follow-up.
Natural-language querying removes the need to write SQL or Python data analysis code for exploratory data tasks.
何时使用
- Uploading a CSV and asking questions about sales trends
- Finding top-performing products across quarterly data
- Visualizing regional breakdowns from uploaded spreadsheets
- Resuming a previous analysis session to ask follow-up questions
- Cleaning up datasets and sessions after a one-off analysis
示例工作流
User asks: Analyze my sales.csv file and show the top 5 products by revenue
- 1
Create a new dataset with create_dataset()
- 2
Upload sales.csv using upload_and_create_data_source()
- 3
Wait for sync with wait_for_dataset_sync()
- 4
Create a session with create_session(), then run create_job() with the question
- 5
Print MESSAGE blocks and present TABLE/IMAGE URLs from the response
A ranked list of the top 5 products by revenue, with a downloadable table URL and optional chart
前置要求
- POWERDRILL_USER_ID environment variable
- POWERDRILL_PROJECT_API_KEY environment variable
- Powerdrill Teamspace account
安装
clawhub install javainthinking/powerdrill-data-analysis-skill运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。