/qlerify:live-viewfrom Qlerify
Builds a live dashboard in Qlerify Live from a business process: models the workflow, loads it, fills connectors with real data, and returns KPIs like median lead time with a dashboard link.
Ships in Qlerify. 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.
None: SKILL.md is the whole skill.
A live view is a Qlerify Live workflow whose tables connectors keep filled from the real sources. Live works out the domain events from the rows and groups them into cases, so the dashboard and the figures come from the data, not from a model alone. The user gets three things at the end: the model in the modeler, the workflow running in Live, and an answer with a link.
This skill runs the whole path and hands the detailed work to two others: workflow-creation for the model and
connector-building for the connectors. Follow their rules inside each step.
list_workflows first. When the user's process already
runs there with data and they want a figure, go straight to step 7 with the Live tools alone.create_workflow, create_domain_events and
the rest, from the qlerify server) and the Live tools (list_workflows, create_workflow, get_lead_time,
from the qlerify-live server). Both servers have a create_workflow: the modeler's makes an empty model, Live's
loads a finished model into Live. If a server you need is missing, stop and give the user the setup: the
modeler's is claude mcp add --transport http qlerify https://mcp.qlerify.com --header "x-api-key: <key>" with
the key from the modeler's account settings; Live's is the command on Live's Organization admin → MCP tab.live-view.md in the working folder and update it after every step: the modeler
workflow's link, the Live workflow's id and url, each table with its connector and whether it is filled, the
questions still open. When a run is picked up again, read it first and carry on from where it stopped.Ask once, and only what you cannot find out yourself:
Skip anything the request already answers. Do not ask how often to refresh: unless the request says, schedule a public register daily and a business system hourly. Then work without stopping, except for the points in "When the user must act".
The model has to match the records, so read the source first.
WebFetch.Write down, per record type: its key, which field holds its parent's id, its status values in their real order, and which field dates each step. Look for traps: a date filter that looks right but filters on something else (the day a record was created, when the user asked for activity), dates in the future, placeholder records, records that link to several parents, and records that often have no parent at all.
When the user gives a model (a modeler link or a workflow's name), do not model it again: check it against
workflow-creation's references/live-readiness.md and go to step 4. If it breaks a rule, tell the user what and
why, and change it only once they agree. validate_domain_model is for models you build.
Otherwise load workflow-creation and read its references/live-readiness.md before you create anything: that is
what makes the cases come out right in Live. At the least, the model needs:
id on every entity, and on every child a field holding its parent's id;live-readiness.md, "Status and steps").When the case follows a state machine and workflow-creation asks for approval of the state map (Phase S), still
write the map, but do not wait for approval: take the states and their order from the source's real status values,
note the map in live-view.md, and carry on. The user reviews the model in the modeler at the end.
Live fetches the model with the Live organization's own modeler key, so the project must have that key's account
as a member. Prefer a project that a modelLink in Live's list_workflows already names. Do not ask about the
project up front: step 4's check tells you whether Live can fetch the model. Finish with validate_domain_model.
create_workflow on the Live server with the modeler workflow's link and dryRun: true. It fetches the model
and reports the case root, the tables that cannot reach it and any problem that would stop the load. Fix those in
the modeler and check again. When the case root is not the record the user counts, pass that entity as
rootAggregate. Tables that cannot reach the case root need a link to it in the model (a child holding its
parent's id), not a different root. It also reports doneRule, when a case will count as done: if a way cases
end is missing from it (a last step only some cases reach), fix the model, or set the rule with set_done_rule
once the workflow exists and the user agrees. eventsWithoutCommand names the steps that have no command: give
each one a command in the modeler before you go on.create_workflow without dryRun, with the same rootAggregate if you passed one. It returns the Live
workflowId and url. For a workflow that already exists, set_case_root changes the case root.If Live says a workflow already follows this modeler workflow, use that one and call reload_model after changing
the model. If Live cannot fetch the model, that is the modeler-access point in "When the user must act".
Follow connector-building for every table, parents before children. Ask for all credentials in one go: call
request_connector_credentials for each connector that needs them, give the user every form link in one message,
and wait once. Before the full ingest, set each connector's date roles, including events, which maps every step
the source dates on its own to that field: events are dated when they are first worked out, so dates set later need
rebuild_events. Ingest each table in full: ingest_connector without a limit loads everything a connector that
copies a source has, in the background. Go on with the tables that do not link to it, and check it, or fill the
tables that link to it, once get_adapter_config shows completeAt. Pass any other connector a limit above the
table's size, or ingest it in batches when it checks its own table and would not finish in one run's time
(connector-building, connector-rules section 12). Events are worked out once the workflow's loads finish: if one is
still loading when everything else is done, say the figures are partial and give the user its connectorUrl from
get_connector_load. Check the cases as that skill describes before moving on, and compare each step's event count
with the rows that should have it (for a dated step, the rows whose date field is filled): rebuild_events reports
the count per event.
Schedule every connector at the agreed refresh with set_connector_schedule, parents first, and offer wake-ups
where the model declares them. A live view without schedules goes stale.
Call get_lead_time. For a window, pass within (24h, 7d, 30d, 3mo or 12mo, counted back from now) and
windowBy when the window is about when cases started; for any other period, use the closest window and say in the
answer which one the figure covers. Use fromEvent and toEvent when the user means a specific span, such as
submitted to decided. When the user wants the figure per type, region or any other value of a field on the case's
record, pass that field as groupBy: each value gets its own figures and basis, and its own reportsUrl when the
Reports page can filter on that field.
The first get_lead_time after a large load or rebuild can take over a minute while Live indexes the cases. If it
times out, call it again: once the cases are indexed, it answers in seconds.
Check doneRule against what the user said a case being done means. If they differ, pass the user's closing event
as toEvent, and offer to set the rule with set_done_rule. It changes the figures everyone sees in Live, so set
it only once the user agrees.
When the user counts two kinds of record, give a median per kind, each with its own basis. When a kind's later
steps sit on another table, measure it in the root's view with fromEvent set to its first step. caseType set to
the kind itself holds only the steps on that kind and its children; the reply's note says which steps it leaves
out and which call measures across them. In the root's view, a record that links to no root row counts as a case
that never finishes, so do not report those as unfinished work.
Answer with:
doneRule), and what was left out
(no date, not finished yet, estimated dates);reportsUrl on a line of its own. It opens the Reports page with the same window and case type; when
reportsShowsThisFigure is false, say the page shows the default figure rather than this one.If many measured cases rely on estimated dates, say the figure is approximate and name the table that lacks a real
date. Do not work out by hand a figure get_lead_time gives. For one it does not give (a trend by month, the
slowest cases), page through export_case_timeline with the same caseType and window, treat the dates it marks
estimated as approximate, and say the figure was worked out outside Live, so it can differ from Live's own.
When the user wants a number other than time on the view (an amount, a count, a size) and a step's record holds it,
or the step's read model of that record works it out, show it as a KPI with set_step_kpis. Each KPI names a
step, a number field, a label, and sum or median across cases. Live shows it from a badge on the step, across
cases on the Workflow tab and for one case on its page, and as a List column to sort and filter by. The call returns
each value with how many cases have one. kpis replaces the whole list, so call it without kpis first to read what
is set. A field of the record counts when the model types it as a number, so fix the model's type rather than the
data. A worked-out field has no type in the model, so it counts once some of its stored values are plain numbers, and
a value that is not one counts as empty: have the connector return plain numbers (12500, not "12,500 kr"). Everyone
sees these numbers, so set them only once the user agrees.
Some steps need a person. Gather them so the user is interrupted as rarely as possible, and say exactly what to do:
request_connector_credentials returns;What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
qlerify, live-view, business-process, dashboard, kpi, workflow-automation
6 skills in this plugin
/code-generationGenerate production-ready code from a Qlerify domain model. Use when the user asks to "generate code from the model", "implement the workflow", "scaffold from Qlerify", "build the aggregate", "code up the domain model", "create the app from the model", or after a workflow has been modeled or extracted and the next step is producing runnable code on a target tech stack. Pairs with the workflow-creation skill (which produces the model) and the sync skill (which keeps model and code aligned over time)./connector-buildingBuild, test, fix and schedule the connectors that fill a Qlerify Live workflow's tables, for one table or the whole workflow in one go, through the Qlerify Live MCP server (tools such as list_workflows, create_connector, test_connector_code and ingest_connector). Use it whenever the user wants data in Qlerify Live: "build the connectors", "fill the tables", "connect Live to HubSpot / Postgres / this API", "ingest", "simulate demo data", "populate the workflow", "keep it in sync", "fix this connector", "why are the cases wrong", "load this model into Live", or when ingested data shows the model needs a change. Use it even when the user only names a table or a source system, as long as the Qlerify Live MCP tools are available.npx claudepluginhub qlerify/qlerify-plugins --plugin qlerify