/omni-analytics:omni-content-builderfrom omni-analytics
Creates and manages Omni Analytics dashboards and documents via the Omni CLI — document lifecycle, drafts, tiles, visualizations, filters, controls, and layouts.
Ships in omni-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.
Create, update, and manage Omni documents, dashboards, and apps programmatically via the Omni CLI — document lifecycle, drafts, workbook models, filters, controls, and dashboard content.
Tip: Use
omni-model-explorerto understand available fields andomni-content-explorerto find existing dashboards to modify or learn from.
Documents are created and edited through the v2 documents API (omni documents v2-*) — an explicit envelope of queryPresentations, controls, containers, and settings, edited through a draft → publish flow.
The mechanics here build a correct dashboard; for a good one, apply Omni's Dashboarding Best Practices. Its defaults apply when nobody has said otherwise. They never override direction you have been given: a requested layout, chart type, palette, or control placement wins; so does the convention of an existing dashboard you are editing or an org theme in force. When a request conflicts with a default, follow the request and, at most, mention the default once. The defaults: the answer top-left, 3–5 charts per page, functional color, the chart matched to the question, controls next to what they drive, a parent control for complexity, and charts that read without hovering. Each with its detail: references/design-defaults.md.
For an operational or exec dashboard, also apply references/dashboard-style.md (Building dashboards people can act on):
{{#result}} list row; size limit to the tile and check the PNG.{{view.field.value}} for names and key numbers in markdown; .value_static is display-only.v2-get / v2-get-draft return the inner vis config as { visType, config }, so a tile can be edited and patched back as is, including for restores, duplicates, and moves. Verify each tile you write: read it back and run its query before publishing. See references/documents-v2.md.containers (and the order arrays) are full replacements. To change one tile, send just that key. To delete a tile, set its key to null AND remove it from order. When you send containers, send the complete layout tree with your edit applied; omit it to keep the layout and let the server auto-place added tiles.containers — each dashboard-eligible tile goes on the first page. Send containers only to set the layout yourself, and then reference every tile that should be visible. See references/containers.md."1" on create is merged into a server seed tile, which keeps automaticVis: true even when you send false (tiles "2" onward keep false). If it matters, patch tile "1" again on a draft.modelId. Don't send modelId or model_extension_id in a tile query; the server anchors tiles to the document's workbook model and ignores any value you send. Every tile needs type (usually "query"), and every tile query needs sorts, filters, pivots, calculations, column_totals, row_totals, fill_fields and userEditedSQL, even when empty ([], {}, ""). Set join_paths_from_topic_name to the topic name; never send it as null (400), and leave it out only for a deliberate non-topic tile. Details: references/documents-v2.md.omni-query). If none fits, stop and ask whether to extend a topic or create one (on a branch via omni-model-builder, merged only with confirmation). Build a non-topic / userEditedSQL tile only after the user explicitly chooses that path (declined modeling, a genuine one-off, or userEditedSQL is required); Access Boost is never the default for handed-over SQL. See Build queries on a topic.userEditedSQL, or a bare base-view query with no join_paths_from_topic_name, is non-topic. Before finalizing one, ask whether the dashboard's audience includes those roles. If it does, advise Access Boost (it makes the tiles viewable on the dashboard only, for chosen users, groups, or the org; it needs the org capability and Manager on the document) as a separate, explicitly confirmed step with the narrowest scope that works. Never enable it without that go-ahead. See the Raw-SQL tiles recipe in references/queryPresentations.md and omni-admin → Document Permissions.--body can't be combined with shorthand flags; the workbook model ID changes with every draft and publish; boolean filters can drop when pivots is present. references/documents-v2.md.query.filters needs the object form — a string value such as "last 6 months" is a 400; send {type:"date", kind:"TIME_FOR_INTERVAL_DURATION", ui_type:"PAST", left_side, right_side}. See references/documents-v2.md.behaviors.useLayerCompiler: true in its config. The API adds nothing, so a cartesian config sent without the flag renders through the classic compiler, which exists for tiles saved before Layers; when you edit such a tile, upgrade it in the same patch unless the owner asks to keep it. Follow references/layers.md: encodings per layer, same-axis same-mark measures folded into one Measure values layer (separate layers never stack), no hex string in series[].color (the tile silently reverts to classic). The recipes in references/visConfig.md are the classic shape.identifier not id — get a document's identifier from the v2-create/patch responses or omni documents list records.v2-get, never the v1 documents get: v1 only reads dashboards and 404s "Dashboard with id … does not exist" on a workbook-only document that exists.omni unstable documents-import to update an existing dashboard — import creates a new document and may drop newly-added tiles. Use the draft flow on the existing document.omni query run returns a server-side parsing error for a tile query filter, validate the unfiltered base query once. Do not save that broken filter into the tile. If a dashboard-level control can satisfy the request, use that path and verify by readback; otherwise leave the dashboard unchanged and report the blocker.omni documents discard-draft <identifier>) and report what was preserved — the published document was never touched. Full recovery steps: references/updating-dashboards.md.omni documents v2-get --help >/dev/null || echo "CLI too old for v2 documents: ask the user to update it"
omni config list # several profiles? ask the user which, then: omni config use <name>
omni whoami whoami # confirms auth and lists your permissions
omni update check -o json 2>/dev/null || true # updateAvailable: true? tell the user and share both upgrade commands
If
omniisn't installed, ask the user to install it (CLI README). On an auth error: a setOMNI_API_TOKENoverrides the profile, so retry once without it (env -u OMNI_API_TOKEN omni whoami whoami); otherwise followomni agent-help(Auth) to have the user sign in.
omni documents --help # Document operations (v2-* + lifecycle)
omni dashboards --help # Dashboard downloads
omni models yaml-create --help # Writing model YAML
omni documents v2-create --schema # Body schema + example (add --depth 1 for an overview, --field PATH to drill in)
Build and edit documents with the documents v2-* commands — always. The command for each task, and the document-management commands that have no v2 form (list, discard a draft, delete, move, duplicate, downloads, layout upgrade): references/documents-v2.md.
Omni dashboards are built from documents. A document's v2 state is an envelope of four slices, queryPresentations, controls, containers, and settings (annotated in references/documents-v2.md):
queryPresentations.data, keyed by record key ("1", "2", …); order is the tab order. Tile keys must be NUMERIC strings ("1", "42") — a descriptive key like "revenue_kpi" or "probe" is rejected with 400 … Invalid key in record. Track the tile↔meaning mapping in your build script, not in the key.controls (see references/controls.md). Unlike tile keys, control ids here ARE arbitrary strings ("date_filter", "granularity")containers tree — a tile renders only where a container references it (see references/containers.md).Build every tile's query on a topic whenever possible: set the query table to the topic's base view and pass join_paths_from_topic_name: <topic>, plus topicName: <topic> on the presentation (the presentation-level topicName is tile-specific — a standalone query has no equivalent). Joined-view fields then resolve through the topic's join map from the base view. The full shape, a worked example and how to verify it: omni-query → Build queries on a topic.
A tile not built on a topic still runs, but restricted queriers and viewers can't see it, and a Restricted Querier can't author one, so every tile you build as a Restricted Querier must be topic-based. Access Boost and raw-SQL tiles: references/queryPresentations.md.
Create a document with documents v2-create, by name alone or with the full envelope (tiles, controls, settings) in one --body. Rename through a draft patch (--name, then publish). Delete, move, and duplicate with documents delete / move / duplicate; only published documents can be duplicated. Examples, the create-body key points, and the end-to-end build workflows: references/document-lifecycle.md.
Edits go through the draft flow; the published dashboard is untouched until you publish. Read the document with omni documents v2-get <identifier> (find it first with omni-content-explorer or omni documents list), send only what changes with omni documents v2-patch-draft <identifier> --body @patch.json and a summary, and keep the returned draftIdentifier. Read the draft back with v2-get-draft and run the affected queries (see Validation Loops), iterate with v2-patch-draft-by-identifier, then publish with v2-publish-draft and share the link (see URL Patterns), or abandon the draft with discard-draft. Each step, the error map and recipes: references/updating-dashboards.md.
Dashboard-specific fields go in the document's workbook model, which extends the shared model. First decide where a new field belongs, based on your access (omni whoami whoami --model-id <sharedModelId>): a table calculation, a branch on the shared model, or this workbook model. Never write to the schema model. A field that exists only on an unmerged branch needs a branch-bound draft. Write workbook-model YAML as the whole file read with --mode combined, sent with "mode": "combined"; a body holding only your new fields marks every field you left out as ignored. The decision steps, the yaml-create recipe, the order for building a tile on a new field, and how to verify it: references/workbook-model.md.
To give a document its own small table (rows you supply, or rows an app writes), use documents v2-create-csv-table on a draft. To add an editable column to a tile, for example a review status people or an app fill in, use documents v2-create-input-column (CLI ≥ 1.7.0). Both write to the connection's upload schema and land on publish. A published input column lets every viewer, embed users included, write to the warehouse, so confirm with the user before creating one (including omitting editMode on an app draft, where it defaults to published): references/documents-v2.md.
Filters and interactive controls share one envelope slice: controls: {data, order}. Each entry is {config, map} — config holds the filter/control definition, map optionally scopes it per tile. Include them at create time or patch them in later (controls merge by key like tiles); a create-body example is in references/controls.md.
fieldName with the fully qualified field name (no timeframe bracket for date filters), or it won't bind to any column.Model it or control it? Whether a filter belongs in the model as a filter-only field or on the dashboard as a control, including what a Restricted Querier can do: references/controls.md.
settings is a shallow-merged object; patch only the keys you're changing. The keys and their values: references/documents-v2.md.
The containers tree decides where tiles and controls render: a reserved "filter-bar" stack, then one page container per page, each holding a 24-column grid of tile stacks with gridPosition {x,y,w,h}. Multi-page dashboards, page switchers, grouped bands, in-tile controls, and sizing rules: references/containers.md.
After creating or finding content, always give the user a direct link on the active profile's base URL (no trailing slash): /dashboards/{identifier} for a dashboard, /w/{identifier} for a workbook, /dashboards/{draftIdentifier} for a draft. Never return a literal placeholder unless credentials are unavailable and you say the URL is a template. Where each identifier comes from: references/document-lifecycle.md.
Every build or update must be validated before publishing: broken tiles, bad field references, and misconfigured specs show "Chart unavailable" or "No data" with no API error.
omni models validate <modelId>.omni query run, including the filters the dashboard will use.prefersChart: true, the spec under visConfig.visConfig.config, and a chartType that matches its visType and configType. For a layer-compiled spec, the extra checks are in references/layers.md.v2-get-draft, run each tile's query (omni documents get-queries + omni query run), and report each tile's status and row count.What to check in each response, the full viz-spec table, the checklist, and an optional browser check with its own waiting rules: references/validation-and-testing.md.
Downloads are asynchronous: omni dashboards download, poll download-status to a terminal state, then download-file. Formats, page and per-chart selection, and "Job failed to render": references/downloads.md.
Omni docs pages for documents, queries and charts: references/docs-links.md.
evals/evals.json (opens in a new tab)references/branch-bound-drafts.md (opens in a new tab)references/containers.md (opens in a new tab)references/controls.md (opens in a new tab)references/dashboard-style.md (opens in a new tab)references/design-defaults.md (opens in a new tab)references/docs-links.md (opens in a new tab)references/document-lifecycle.md (opens in a new tab)references/documents-v2.md (opens in a new tab)references/downloads.md (opens in a new tab)references/kpi-tiles.md (opens in a new tab)references/layers.md (opens in a new tab)references/markdown-tiles.md (opens in a new tab)references/mustache.md (opens in a new tab)references/other-chart-types.md (opens in a new tab)references/queryPresentations.md (opens in a new tab)references/updating-dashboards.md (opens in a new tab)references/validation-and-testing.md (opens in a new tab)references/visConfig.md (opens in a new tab)references/workbook-model.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
omni-analytics, dashboard-builder, document-lifecycle, workbook, kpi
12 skills in this plugin
/omni-adminAdminister an Omni Analytics instance — manage connections, users, groups, user attributes, permissions, schedules, and schema refreshes via the Omni CLI. Use this skill whenever someone wants to manage users or groups, set up permissions on a dashboard or folder, configure user attributes, create or modify schedules, manage database connections, refresh a schema, set up access controls, provision users, or any variant of "add a user", "give access to", "set up permissions", "who has access", "configure connection", "refresh the schema", or "schedule a delivery"./omni-ai-evalEvaluate Omni AI accuracy using Omni's built-in eval system — define a prompt set, run a judged eval against a model (or branch), and read the accuracy-judge verdicts. Use this skill whenever someone wants to evaluate Omni AI, benchmark Blobby, run regression tests, compare AI output across branches or model-context changes, measure AI quality, run A/B tests on model changes, assess the impact of an ai_context or modeling change, or any variant of "run evals", "test Blobby", "benchmark query generation", "compare AI results", "regression test", "how accurate is the AI", or "measure the impact of my changes"./omni-ai-optimizerOptimize an Omni Analytics model for Blobby, the Omni Agent — configure ai_context, ai_fields, synonyms, sample_queries, and ai_settings. Use this skill whenever someone wants to improve AI accuracy in Omni, make Blobby smarter, add AI context or example questions, curate which fields the AI sees, personalize AI context by user attribute, diagnose context-window pruning or truncation, raise a topic's AI context budget, control which topics AI can reach, troubleshoot why Blobby gives wrong answers, or any variant of "make the AI better", "Blobby isn't answering correctly", "optimize for AI", or "teach the AI about our data".npx claudepluginhub exploreomni/omni-agent-skills --plugin omni-analyticsOther plugins' skills for the same job