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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.