/qlik-analytics:qlik-load-scriptfrom qlik-analytics
Writes, completes, or extends Qlik Sense load scripts (.qvs) for data preparation, including feature engineering for ML experiments with Qlik Predict and QVD output.
Ships in qlik-analytics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are writing Qlik Sense load script (.qvs files) for data preparation. You have no access to live data or a Qlik Cloud environment — you cannot execute, preview, or validate a script against the Qlik engine. Produce correct, clean, well-commented script that runs with minimal edits.
Built for coding agents. This skill is designed primarily for agentic coding tools with file-system access — Claude Code, Cursor, Codex, and similar — working inside a project that contains .qvs files:
.qvs file(s) directly in the project rather than only printing script into the chat.If you are running in a chat-only environment with no file access (e.g. a plain web chat), fall back to outputting complete script blocks for the user to copy and paste — see Workflow.
Primary use case: Data preparation scripts for ML experiments using Qlik Predict. The user provides a starting script with base data. You transform, engineer features, and output training/testing QVD files. All guidance for this — target requirements, split patterns, leakage checks, script template — is in references/ml-data-prep.md.
General use case: Complete or extend any Qlik load script based on starting code, inline comments, and the user's prompt.
// TODO: verify comment so the user can check..qvs file; when outputting to chat, assume the user is copy-pasting into the Qlik Cloud script editor.Before writing any Qlik script, read references/writing-scripts.md (how to build it) and references/syntax-and-patterns.md (the syntax itself and the code patterns). Both are essential — Qlik syntax has many subtle differences from SQL that cause silent bugs if you rely on SQL intuition, and construction failures are invisible until reload.
These five are the majority of observed syntax failures: SQL intuition either will not parse or is silently wrong. The correct forms and examples live in the syntax reference — do not skip it. The lines below are the check, not the teaching. Confirm each one against the script before returning it.
Count(*). Use Count(1) for all rows, Count(Field) for non-nulls. (syntax §6)RESIDENT step. (syntax §2)NoConcatenate on every such LOAD — label, then prefix, then LOAD. (syntax §4)HAVING. Aggregate, then filter with WHERE in a second pass. (syntax §5)Round(x, 2) is not 2 decimal places. The second argument is a step: Round(x, 0.01). Same for Ceil() and Floor(). (syntax §6)Then run the self-check in references/verification-checklist.md.
The five rules stop the script from breaking. A separate class of failure leaves it running cleanly while producing the wrong answer — a field destroyed by an intermediate LOAD, a table left alive by an include, TRACE printing an expression, FirstSortedValue() returning NULL on ties. Construction is writing-scripts.md (read it before the first LOAD); the FirstSortedValue() trap is syntax §6.
Write comments as an experienced Qlik developer would for colleagues who will maintain this script — not as a narration of your own work. The reader is a competent Qlik developer: they can read LOAD, RESIDENT, and Sum(). What they cannot recover from the code is why.
Where comments belong
///$tab — one or two lines on what this section produces and why it exists.// Load the customers table is not.Register and length
// Exclude staff accounts — they distort the churn base rate.Comments must not accumulate This is the failure mode to guard against hardest. When you revise a script:
// changed 2026-08-11, no // was Count(*), now Count(1), no commented-out previous versions, no bug narration. The comment describes the code as it stands, in the present tense, as though written once.Change log
For complex or long-lived scripts, keep revision history in a dedicated ///$tab Change Log placed early in the script (immediately after Main), not scattered through the code:
///$tab Change Log
/**
* 2026-08-11 NK Added policy tenure and claims-frequency features.
* 2026-07-02 NK Switched split to time-based on RenewalDate (was random).
* 2026-06-18 NK Initial version.
*/
Add an entry here when making a substantive change to an existing script that already has this tab; create the tab when a script grows past a handful of tabs or when the user asks for one. Short scripts do not need it — do not add ceremony to a 30-line script.
// TODO: verify notes are the exception to all of the above: they are temporary, must state the reason, and the user removes them once checked.
When the user provides a starting script or prompt:
Load references by phase: construction and syntax before writing, verification after, ML prep only for Qlik Predict tasks.
LOAD, write down the final table's grain and field list, then work backwards to the source fields each one needs — see writing-scripts §1. Every step you then write should move the data measurably closer to that target.$(Include=…), read the included file too: its tables live in the same namespace.NoConcatenate, and its drop point. Consult it before every RESIDENT, JOIN, STORE, or DROP rather than assuming the name you wrote earlier exists. Two live tables with the same field set means one of them has been auto-concatenated away. A table with no drop point recorded is either the final output or an oversight..qvs file(s) directly. Otherwise output complete, runnable sections in the chat. Comment per the commenting style above, and add TRACE checkpoints at the points where a silent error would otherwise be invisible — after each STORE, each split, and each join that could fan out (writing-scripts §3).// TODO: verify — [reason].Window() calls, tricky joins, domain-specific choices.Organised by when they are read, so each phase loads only what it needs:
| Reference | Phase | Contents |
|---|---|---|
| references/writing-scripts.md | Before the first LOAD | Designing the target data model and building towards it, table lifecycle and drop discipline (including $(Include=…) namespace hazards), TRACE checkpoints, and when to prototype in Python first. |
| references/syntax-and-patterns.md | While writing | Full Qlik load script syntax, the function reference, and feature-engineering code patterns. |
| references/verification-checklist.md | After writing, and after every revision | Common pitfalls table, SQL-habits table, and the numbered self-check. |
| references/ml-data-prep.md | Qlik Predict tasks only | Target requirements, feature/field retention guidance, date conventions, explicit feature matrix, Feature Definitions QVD, train/test split patterns, leakage and class-imbalance checks, script template, final cleanup checklist, worked example. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub qlik-oss/agentic-skills --plugin qlik-analytics6 skills in this plugin
/qlik-ai-readiness-optimizerAnalyzes a Qlik app via MCP and optimizes it for AI use (Qlik Answers and Qlik MCP) using a 5-Layer Model. Use this skill whenever the user wants to: assess or improve how well a Qlik app works with Qlik Answers or MCP, check AI readiness, fix field naming or grouping issues for AI, improve Master Item descriptions, reduce field noise, audit date fields for time-based questions, create synonym mappings, or prepare an app for AI consumption. Also trigger when: user says "AI-ready", "optimize for Answers/MCP", "Qlik AI Health Check", "AI Readiness", "prepare app for AI", "Answers isn't working", "Answers gives wrong results", "Master Items not showing", "fields not visible to AI", or mentions ungrouped items, noisy fields, or missing descriptions. Always use this skill even if the user only mentions one layer, one issue, or one field — the full assessment provides context for targeted fixes./qlik-dashboard-authoringBuild and structure Qlik dashboards end-to-end via MCP tools: sheet layout, charts, coloring, filters, and library objects. Use when creating a dashboard or sheet; adding or updating any chart (bar, line, pie, KPI, table, pivot, treemap, scatterplot, heatmap, combochart); removing or deleting charts/objects/sheets; setting up filters; coloring charts (colorSpec, color by dimension/measure); adding label/dynamic-label expressions; or arranging layout (DAR archetypes, containers, where to put filters, grouping charts into topic sections). Skip for pure analysis (use analytics tools), complex expressions, or comparing selections.
/qlik-data-analystAssist with Qlik Sense and QlikView data analysis tasks — authoring set analysis expressions, designing charts, and interpreting results. Use when the user works with Qlik data models, dashboards, or the Qlik expression language, asks for business related data questions, performs typical data analysis tasks./qlik-sense-app-analysisIF the user asks to explore, analyze, query, chart, dashboard, or govern (master items, business glossary, data products) a Qlik Sense app or Qlik Cloud analytics content via the Qlik MCP server — THEN invoke this skill. This covers requests like "what's in this Qlik app", "chart X by Y in [app]", "build a sheet for...", "create a reusable measure for...", "what does [glossary term] mean", "is this dataset trustworthy/fresh", or any question that requires calling qlik_* MCP tools. DO NOT invoke for SQL warehouse questions, DW/BI-tool-agnostic data modelling, or requests with no Qlik MCP tool involved./qlik-talk-to-dataAnswers analytical questions against a Qlik Cloud app via the Qlik MCP server — read-only exploration and ephemeral analysis. It creates nothing persistent except a bookmark on explicit request. Use for "how many", "show me", "what is", "top 10", "trend of", "compare X vs Y", "customers who never...", or any question that needs qlik_* MCP tools to answer accurately from governed Qlik data. DO NOT invoke this skill to create or edit a master item, sheet, chart, data product or glossary term — those are out of scope. DO NOT invoke for SQL/warehouse questions, tenant administration, or questions with no Qlik MCP tool involved.Other plugins' skills for the same job