aliyun/alibabacloud-aiops-skills/alibabacloud-quickbi-smartq
Claude Code and agent skill by aliyun/alibabacloud-aiops-skills
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Quick BI-SmartQ skill with multiple data analysis capabilities: 1. **File Q&A**: Upload Excel/CSV files for intelligent analysis via Quick BI API 2. **Dataset Q&A**: Natural language queries on Quick BI platform datasets, with automatic intelligent table selection and matching 3. **Document Parsing**: Parse PDF/Word/Excel/CSV/images, extract text, and support extracting key fields to generate structured Excel 4. **Dashboard Skill Generation**: Auto-convert QuickBI dashboards into data query skills 5. **Data Insight**: Deep data insight analysis on Quick BI datasets 6. **Data Report**: Auto-generate professional data reports based on analysis results Use when users mention data analysis, smart Q&A, querying data, file analysis, document parsing, dashboard skills, data insight, or data reports.
Install
npx vskill@latest install aliyun/alibabacloud-aiops-skills/alibabacloud-quickbi-smartqSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as aliyun/alibabacloud-aiops-skills/alibabacloud-quickbi-smartq.
Quick BI-SmartQ — QuickBI Data Analysis Assistant
One entry point covering all QuickBI data analysis capabilities. Automatically routes to the corresponding module based on user intent — no manual selection required.
Scope
Does:
- Automatically identify user intent and route to the corresponding data analysis module
- Perform natural-language analysis on user-uploaded Excel/CSV files via the Quick BI API (File Q&A)
- Perform natural-language query analysis on Quick BI platform datasets, with automatic intelligent table selection and matching (Dataset Q&A)
- Parse PDF/Word/Excel/CSV/images, extract text, and support extracting key fields to generate structured Excel (Document Parsing)
- Auto-convert QuickBI dashboards into data query skills (Dashboard Skill Generation)
- Perform deep insight analysis on datasets (Data Insight)
- Auto-generate professional data reports based on analysis results (Data Report)
Does NOT:
- Use pandas/openpyxl/csv or similar libraries to read files locally for analysis in Q&A scenarios
- Require users to manually choose a module or provide internal parameters such as cubeId
- Perform tasks unrelated to QuickBI data analysis
Image Output Rules (MUST READ)
This skill produces chart images (PNG) as core deliverables for the user. Images MUST be displayed to the user — they are the primary output of the skill.
When the script output contains `` image references, the Agent MUST:
- Include every `` verbatim in the reply body — this is the ONLY way the user can see the chart
- MUST NOT read/view chart PNG files with
Read,showFile,present, or any file-reading tool - Single-response delivery — wait for the script to fully complete, then compose ONE reply containing: images → conclusions → interpretation. MUST NOT split across multiple responses
- Pre-delivery self-check — before sending, verify that every
from the script output appears in the reply body
The Markdown image syntax `` is the sole delivery mechanism for chart images.
Task Routing
Automatically determine intent based on user input and route to the corresponding module for execution.
Routing Decision Table
| User Intent | Routed Module | Reference Document | |
|---|---|---|---|
| Uploaded Excel/CSV file, wants to query specific metrics or answer specific data questions (e.g. TOP N, comparison, filtering) | File Q&A | module-chat-file.md | |
| No file uploaded, wants to query/analyze specific metrics in platform datasets | Dataset Q&A | module-chat-dataset.md | |
| Uploaded multiple files (PDF/Word/images etc.) or selected a folder, wants to query specific data questions (e.g. TOP N, comparison, filtering) | Document Parsing → File Q&A | module-document-parser.md → module-chat-file.md | |
| Uploaded PDF/Word/images or other unstructured documents, or selected a folder, wants to parse all file contents or extract fields | Document Parsing | module-document-parser.md | |
| Provided a QuickBI dashboard URL, wants to generate a query skill | Dashboard Skill Generation | module-dashboard.md | |
| Uploaded Excel file, wants deep interpretation/insight/trend analysis of data (not generating a report document) | Data Insight | module-data-insight.md | |
| Provided a QuickBI dashboard / data portal URL, wants deep interpretation/insight/trend analysis of the dashboard | Data Insight (Dashboard mode) | module-data-insight.md | |
| Uploaded multiple files (PDF/Word/images etc.) or selected a folder, wants deep interpretation/insight/trend analysis of data (not generating a report document) | Document Parsing → Data Insight | module-document-parser.md → module-data-insight.md | |
| Wants to generate a report/analysis report/review report, regardless of whether files are uploaded | Data Report | module-data-report.md |
Routing Priority Rules
When user intent may match multiple modules, determine by the following priority:
- "Report" keyword takes priority: When user intent contains keywords like "report", "review", "summary report", "analysis report", ALWAYS route to the Data Report module, regardless of whether files are uploaded. Data Report module has higher priority than File Q&A and Data Insight.
- "Interpret", "insight", "trend" keywords: When user wants to understand data meaning, discover trends, or gain insights, route to the Data Insight module.
- Specific data query: When user wants to query specific metrics (TOP N, sum, comparison, etc.), route to the Q&A module (choose Dataset Q&A or File Q&A based on whether files are present).
- Dashboard URL: When user provides a dashboard / data portal link, route based on the user's intent:
- Wants to generate a query skill → Dashboard Skill Generation
- Wants to interpret / analyze trends / find anomalies / get insights about the dashboard → Data Insight (Dashboard mode)
- When intent is unclear, default to Dashboard Skill Generation
Routing Examples
| User Input | Routing Result | Reasoning | |
|---|---|---|---|
| "Help me find the product with the highest sales in this data" + uploaded file | → File Q&A (module-chat-file) | Querying specific metric, has file | |
| "Help me analyze this Excel data, TOP 10 headcount by department" + uploaded file | → File Q&A (module-chat-file) | Querying specific metric (TOP N), has file | |
| "Top 3 regions with the highest sales" | → Dataset Q&A (module-chat-dataset) | Querying specific metric, no file | |
| "Parse these contracts and summarize the information" + folder | → Document Parsing (module-document-parser) | ||
| "Convert this dashboard into a query skill" + URL | → Dashboard Skill Generation (module-dashboard) | Provided dashboard URL | |
| "Interpret the trends in this dashboard" + dashboard URL | → Data Insight (module-data-insight, Dashboard mode) | Dashboard URL + interpret/insight intent | |
| "Help me interpret the trend in sales data" + uploaded file | → Data Insight (module-data-insight) | Requests interpretation/insight, not a report | |
| "Any patterns and insights in this data" + uploaded file | → Data Insight (module-data-insight) | Requests insight analysis | |
| "Generate a sales data report for this month" | → Data Report (module-data-report) | Contains "report" keyword | |
| "Help me generate an analysis report based on this Excel" + uploaded file | → Data Report (module-data-report) | Contains "report" keyword, file used as reference | |
| "Summarize these data, write a review report" + uploaded files | → Data Report (module-data-report) | Contains "review report" keyword | |
| "Combine these files to generate a data analysis report" + uploaded files | → Data Report (module-data-report) | Contains "report" keyword | |
| "Parse these 10 invoice PDFs, extract fields and generate Excel" + multiple files | → Document Parsing (module-document-parser) | Contains "extract fields" related keywords | |
| "Help me find the product with the highest sales in this data" + multiple files or folder | → Document Parsing → File Q&A (module-chat-file) | Querying specific metric, has multiple files | |
| "Any patterns and insights in these files" + multiple files or folder | → Document Parsing → Data Insight (module-data-insight) | Requests insight analysis | |
| "Summarize these data, write a review report" + ≤5 files | → Data Report (module-data-report) | Contains "review report" keyword | |
| "Summarize these data, write a review report" + >5 files | → Document Parsing → Data Report (module-data-report) | Contains "review report" keyword |
Fallback Rules
- When intent is unclear, default to Dataset Q&A (module-chat-dataset)
- If the user involves multiple modules at the same time (e.g. "analyze data and generate a report"), execute them in sequence
- Special scenario — multi-file preprocessing before Q&A:
- When user uploads ≥5 unstructured documents (PDF/Word/images, etc.) and requests analysis
- MUST execute Document Parsing first (generate structured Excel)
- Then route to the corresponding functional module based on question intent (perform intelligent analysis on the generated Excel)
- Example: "Analyze these invoice data" + 10 PDFs → Document Parsing (generate Excel) → File Q&A (analyze Excel)
- If routing is incorrect, allow the user to manually specify the module
Configuration
This skill uses a layered configuration architecture, separating user configuration from the skill package. Skill package updates will NOT overwrite user configuration.
`<workspace-dir>` convention: In this document,<workspace-dir>refers to the absolute path of the folder the user currently has open in the IDE / file manager. The Agent MUST confirm this path before the first operation by running a Python script withos.getenv('CODE_AGENT_CURRENT_SESSION_WORK_DIR'). If the script returns nothing or empty, use the absolute path of the folder selected by the user. MUST NOT infer using$PWD,$CWD, orPath.cwd()or similar runtime variables.`<skill-package-dir>` convention: In this document,<skill-package-dir>refers to the root directory of this skill after installation (i.e. the directory containing thisSKILL.mdfile). The Agent can infer it from the path of this file.
Configuration Loading Priority (higher overrides lower)
- Environment variable
ACCESS_TOKEN(highest priority, suitable for container deployment) - Workspace-level configuration
<workspace-dir>/.qbi/smartq-chat/config.yaml - QBI global configuration
~/.qbi/config.yaml(shared by all skills) - Default configuration
default_config.yamlinside the skill package (package defaults, updated with the package)
server_domain, api_key, api_secret, and user_token can be placed in the workspace-level configuration or the global configuration. When both exist, the workspace-level configuration takes priority.
Configuration Item Descriptions
- `server_domain`: Quick BI service domain
- `api_key` / `api_secret`: OpenAPI authentication key pair (if not configured, built-in defaults are used for trial mode)
- `user_token`: Quick BI platform user ID; the Q&A interface requires
userId(if not configured, it is registered automatically and written back)
If use_env_property: true is enabled, the configuration can be overridden through the qbi_api_key, qbi_api_secret, qbi_server_domain, and qbi_user_token fields in the ACCESS_TOKEN environment variable JSON.
Automatic Trial Credential Registration
When neither api_key nor api_secret is configured (regardless of whether user_token exists), the script will:
- If
user_tokenis also not configured, print a friendly message informing the user that trial credentials will be registered automatically and trial mode will begin - Use built-in default credentials to populate
api_keyandapi_secret - Automatically register a user based on the device's unique identifier and write the userId to the global configuration
~/.qbi/config.yaml(not affected by skill package updates)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/analyticscomputing/quickbi/alibabacloud-quickbi-smartq/SKILL.md
Popularity
- Repository stars
- 216
- Repository forks
- 27
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aliyun/alibabacloud-aiops-skills/alibabacloud-quickbi-smartq)