AgentSkillsCN

qlik-cloud

全面整合 Qlik 分析平台,同时支持 Qlik Cloud 和 Qlik Sense Enterprise on Windows(本地部署)。涵盖 37 多项工具,包括健康检查、搜索功能、应用管理、重新加载、自然语言查询(Insight Advisor)、自动化任务、AutoML、Qlik Answers AI、数据预警、空间/流、用户管理、许可证分配以及数据血缘追踪。当用户咨询 Qlik、Qlik Cloud、Qlik Sense 应用、分析仪表板、数据重新加载,或希望查询业务数据时,可随时调用此功能。

SKILL.md
--- frontmatter
name: qlik-cloud
description: Complete Qlik analytics platform integration supporting both Qlik Cloud and Qlik Sense Enterprise on Windows (on-premise). 37+ tools covering health checks, search, app management, reloads, natural language queries (Insight Advisor), automations, AutoML, Qlik Answers AI, data alerts, spaces/streams, users, licenses, and lineage. Use when user asks about Qlik, Qlik Cloud, Qlik Sense apps, analytics dashboards, data reloads, or wants to query business data.

Qlik Skill

Complete OpenClaw integration for Qlik Cloud and Qlik Sense Enterprise on Windows (On-Premise).

🚀 Quick Setup

Qlik Cloud

Add to TOOLS.md:

markdown
### Qlik Cloud
- Tenant URL: https://your-tenant.region.qlikcloud.com
- API Key: your-api-key-here

Get an API key: Qlik Cloud → Profile icon → Profile settings → API keys → Generate new key

Qlik Sense Enterprise (On-Premise)

Add to TOOLS.md:

markdown
### Qlik Sense On-Premise
- Server URL: https://qlik-server.company.local
- Certificate Path: /path/to/client.pem
- Key Path: /path/to/client_key.pem
- Virtual Proxy: (optional)

Or use header authentication:

markdown
### Qlik Sense On-Premise
- Server URL: https://qlik-server.company.local
- User Directory: DOMAIN
- User ID: username
- Virtual Proxy: (optional)

Environment Variables

VariablePlatformDescription
QLIK_TENANTCloudTenant URL (e.g., https://company.eu.qlikcloud.com)
QLIK_API_KEYCloudAPI key from profile settings
QLIK_SERVEROn-PremServer URL (e.g., https://qlik.company.local)
QLIK_CERTOn-PremPath to client certificate (PEM)
QLIK_KEYOn-PremPath to client key (PEM)
QLIK_USER_DIRECTORYOn-PremUser directory for header auth
QLIK_USER_IDOn-PremUser ID for header auth
QLIK_VIRTUAL_PROXYOn-PremVirtual proxy prefix (optional)

⚡ Platform Comparison

FeatureCloudOn-Premise
Apps & Reloads
Spaces / Streams✅ Spaces✅ Streams
Users & Governance
Health Check
Insight Advisor (NL Query)✅ REST API✅ REST API*
Automations
AutoML
Qlik Answers
Data Alerts
Lineage (QRI)
Managed Datasets

*On-premise Insight Advisor requires Insight Advisor Chat enabled in QMC (uses /api/v1/nl/query).

🔧 When to Use What

You Want...Use ThisExample
Actual data values (KPIs, numbers, trends)qlik-insight.sh"what is total sales"
App structure (field names, tables)qlik-app-fields.shUnderstanding data model
Refresh dataqlik-reload.shTrigger reload before querying
Find appsqlik-search.sh or qlik-apps.shLocate app by name
Test connectivityqlik-health.shVerify setup

Quick Reference

Core Operations (Both Platforms ✅)

ScriptDescriptionArgs
qlik-health.shHealth check / connectivity test
qlik-apps.shList apps[--space ID] [--limit n]
qlik-app-get.shGet app details<app-id>
qlik-reload.shTrigger app reload<app-id> [--partial]
qlik-reload-status.shCheck reload status<reload-id>
qlik-reload-history.shApp reload history<app-id> [limit]
qlik-reload-failures.shRecent failed reloads[days] [limit]
qlik-spaces.shList spaces (Cloud) / streams (On-Prem)[limit]
qlik-users-search.shSearch users"query" [limit]
qlik-insight.shNatural language queries ⭐"question" [app-id]

Cloud-Specific

ScriptDescriptionArgs
qlik-tenant.shGet tenant & user info
qlik-search.shSearch all resources"query"
qlik-license.shLicense info & usage
qlik-insight.shNatural language queries ⭐"question" [app-id]
qlik-spaces.shList spaces[limit]
qlik-automations.shList automations[limit]
qlik-answers-ask.shAsk AI assistant<id> "question"
qlik-alerts.shList data alerts[limit]

Apps

ScriptDescriptionArgs
qlik-app-get.shGet app details<app-id>
qlik-app-create.shCreate new app"name" [space-id]
qlik-app-delete.shDelete app<app-id>
qlik-app-fields.shGet fields & tables<app-id>
qlik-app-lineage.shGet app data sources<app-id>

Reloads

ScriptDescriptionArgs
qlik-reload.shTrigger app reload<app-id> [--partial]
qlik-reload-status.shCheck reload status<reload-id>
qlik-reload-cancel.shCancel running reload<reload-id>
qlik-reload-history.shApp reload history<app-id> [limit]
qlik-reload-failures.shRecent failed reloads[days] [limit]

Users & Governance

ScriptDescriptionArgs
qlik-users-search.shSearch users"query" [limit]
qlik-user-get.shGet user details<user-id>

📍 Personal Space (Cloud Only)

Personal space is VIRTUAL in Qlik Cloud — it does NOT appear in the /spaces API!

bash
# ❌ WRONG: qlik-spaces.sh will NOT show personal space
bash scripts/qlik-spaces.sh

# ✅ CORRECT: Use qlik-apps.sh with --space personal
bash scripts/qlik-apps.sh --space personal

🔥 Insight Advisor (Natural Language Queries)

This is the primary tool for getting actual data! Ask naturally:

  • "what is total sales"
  • "which stores have lowest availability"
  • "show stock count by region"
bash
# Query specific app
bash scripts/qlik-insight.sh "revenue by region" "app-uuid-here"

Important: Use resourceId (UUID format) from search results — NOT the item id.

Example Workflows

Cloud: Check Environment

bash
export QLIK_TENANT="https://company.eu.qlikcloud.com"
export QLIK_API_KEY="your-api-key"

bash scripts/qlik-health.sh
bash scripts/qlik-tenant.sh

On-Premise: Check Environment

bash
export QLIK_SERVER="https://qlik.company.local"
export QLIK_CERT="/path/to/client.pem"
export QLIK_KEY="/path/to/client_key.pem"

bash scripts/qlik-health.sh
bash scripts/qlik-apps.sh

On-Premise with Header Auth

bash
export QLIK_SERVER="https://qlik.company.local"
export QLIK_USER_DIRECTORY="DOMAIN"
export QLIK_USER_ID="admin"
export QLIK_VIRTUAL_PROXY="prefix"  # optional

bash scripts/qlik-health.sh

Find and Query an App

bash
# Search returns resourceId (UUID)
bash scripts/qlik-search.sh "Sales"

# Use resourceId for operations
bash scripts/qlik-app-get.sh "950a5da4-0e61-466b-a1c5-805b072da128"
bash scripts/qlik-insight.sh "What were total sales?" "950a5da4-0e61-466b-a1c5-805b072da128"

Reload Management

bash
bash scripts/qlik-reload.sh "app-id"
bash scripts/qlik-reload-status.sh "reload-id"
bash scripts/qlik-reload-failures.sh 7  # Last 7 days

Response Format

All scripts output JSON:

json
{
  "success": true,
  "platform": "cloud",
  "data": { ... },
  "timestamp": "2026-02-05T12:00:00Z"
}

The platform field indicates whether the response is from cloud or onprem.

On-Premise API Mapping

Cloud ConceptOn-Premise EquivalentAPI Path
SpacesStreams/qrs/stream
/api/v1/apps/qrs/appQRS API
/api/v1/reloads/qrs/reloadtaskQRS API
/api/v1/users/qrs/userQRS API
Bearer tokenCertificate / Header authX-Qlik-User

Cloud-Only Features

The following features are Qlik Cloud exclusive:

  • ⚙️ Automations — Low-code workflow automation
  • 🤖 AutoML — Machine learning experiments & deployments
  • 💬 Qlik Answers — AI-powered Q&A assistants
  • 🔔 Data Alerts — Threshold-based notifications
  • 🔗 Lineage (QRI) — Data flow visualization
  • 📊 Managed Datasets — Centralized data management
  • 🗣️ Insight Advisor REST API — Natural language queries (Engine API available on-prem)