/omni-analytics:omni-adminfrom omni-analytics
Administers an Omni Analytics instance via the Omni CLI — manages connections, users, groups, permissions, schedules, and schema refreshes.
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.
Manage your Omni instance — connections, users, groups, user attributes, permissions, schedules, and schema refreshes.
Tip: Most admin endpoints require an Organization API Key (not a Personal Access Token).
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.
If no CLI profile exists but the environment provides credentials, pass them explicitly:
omni <command> --base-url "$OMNI_BASE_URL" --token "$OMNI_API_TOKEN"
omni scim --help # User and group management
omni schedules --help # Schedule operations
omni connections --help # Connection management
omni documents --help # Document permissions
omni folders --help # Folder permissions
omni ip-allowlist --help # Organization IP allowlist (CLI ≥ 1.5.0)
omni scim users-create --schema # Print a command's args, flags, body schema + example, and response shape (no token)
Tip: Use
-o jsonto force structured output for programmatic parsing, or-o humanfor readable tables. The default isauto(human in a TTY, JSON when piped).
--schema.# List connections
omni connections list
# Schema refresh schedules
omni connections schedules-list <connectionId>
# Connection environments (create, update <id>, delete <id>)
omni connections connection-environments-create --schema
Rotating invalidates the previous key — confirm with the user before running, and re-register the new public key wherever the old one was trusted.
# Rotate a connection's dbt commit signing key
omni connections dbt-rotate-signing-key <connectionId>
# Rotate a model's git commit signing key
omni models git-rotate-signing-key <modelId>
The
--bodyblocks below are worked examples. For the field list, run the command with--schema. Everyusers-update/groups-updatebody needs"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"]; the core User or Group URI is a 400.
# List users
omni scim users-list
# Find by email
omni scim users-list --filter 'userName eq "[email protected]"'
# Create user
omni scim users-create --body '{
"userName": "[email protected]",
"displayName": "New User"
}'
# Deactivate user
omni scim users-update <userId> --body '{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
"Operations": [{ "op": "replace", "path": "active", "value": false }]
}'
# Delete user
omni scim users-delete <userId>
A deactivated user drops out of SCIM: users-get and users-update return 404 and users-list leaves it out, so it cannot be reactivated by id. A later users-create with the same userName returns a new id. Confirm with the requester before deactivating.
# List groups
omni scim groups-list
# Create group
omni scim groups-create --body '{
"displayName": "Analytics Team",
"members": [{ "value": "user-uuid-1" }]
}'
# Add members
omni scim groups-update <groupId> --body '{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"],
"Operations": [{ "op": "add", "path": "members", "value": [{ "value": "new-user-uuid" }] }]
}'
omni custom-organization-roles (list, create, update <role-id>, delete <role-id>) manages org-level roles that grant capabilities on top of a user's base role; today the one grant is allowViewUsageAnalytics (the Analytics page, AI Hub usage dashboards and the usage analytics MCP tool). appliesTo (standard or external) fixes which users can hold a role: only standard roles can grant usage analytics, and appliesTo can't change while anyone holds the role.
Grant with user-set <userId> or user-group-set <groupId> (the SCIM group id). Both replace the principal's whole set with customOrganizationRoleIds ([] clears it) and return the new set. No command reads a principal's current grants, so before granting a role to someone who may already hold others, ask the user for the full set they should end up with. Don't send only the new id.
A 403 Feature not enabled, even for an org admin, means custom organization roles aren't turned on for the org. It's not a permission problem: tell the user, and don't try to work around it.
# List attributes (system + custom)
omni user-attributes list
# Create a custom attribute definition (CLI ≥ 1.4.0)
omni user-attributes create --body '{
"name": "region",
"label": "Region",
"type": "String",
"description": "User region for row-level security filtering",
"default_value": "us-east"
}'
omni user-attributes update <id> --body '{ "default_value": "us-west" }'
omni user-attributes delete <id>
# Set attribute values on a user (by SCIM user id or email — an email is resolved
# via SCIM automatically, no separate lookup needed); only the named attributes change
omni users set-attributes [email protected] --attr region="West Coast"
omni users set-attributes [email protected] --attr-json '{"level": 3, "regions": ["us", "eu"]}'
User attributes work with access_filters in topics for row-level security.
SCIM can set values only for attribute definitions that already exist. Use
omni user-attributes list to confirm the requested attribute definition exists
before setting a value, but do not use it as proof that a specific user's value
changed. If the definition is missing, create it with omni user-attributes create (CLI ≥ 1.4.0) and confirm the create before assigning values; do not
keep retrying SCIM paths or claim the value was set from an empty
User attributes set: {} response. A name with no definition is dropped and the
call still returns 200, so read the user back.
Managing definitions needs the Manage User Attributes permission; the naming
and type rules are in --help and fail loudly. Two behaviors do not:
delete <id> reaches past the definition, and the response does not say so.
Every user value goes with it, embed SSO logins still passing the name fail
outright (an embed lockout), model SQL referencing it breaks, and a connection
selecting its environment by that name silently falls back to the default
connection. Search the model for the name and confirm with the user first.Number values are stored as strings, and a JSON number past 2^53 - 1 is
silently rounded on the way in — a default_value of 9007199254740993 is
stored, and returned, as "9007199254740992". Send large numbers as strings.When the user explicitly asks to set or update a user attribute, converge the
user record with omni users set-attributes even if the user already shows the
requested value. This keeps the operation idempotent while still honoring the
requested admin action.
An attribute can be provisioned so a user or group may switch between a curated list of values at runtime (dynamic shared extensions, access filters, connection environment routing). The caller's chosen value then drives those features exactly as an assigned value would — so provisioning cannot grant access the user does not already have access to.
# Admin: list / set the values a user or group may switch to.
# GET uses --user-id or --group-id flags; the PUT body carries user_id or group_id (not both).
omni user-attributes user-attribute-selectable-values-get <attributeId> --user-id <membershipId>
omni user-attributes user-attribute-selectable-values-update <attributeId> --body '{
"user_id": "<membershipId>",
"values": ["us-east", "us-west"],
"allow_any_value": false
}'
# Caller self-service: list switchable attributes, switch one, or clear the switch
omni user-attributes user-attribute-selections-list
omni user-attributes user-attribute-selection-update --body '{ "user_attribute_id": "<attributeId>", "values": ["us-west"] }'
omni user-attributes user-attribute-selection-delete --user-attribute-id <attributeId>
user-attribute-selection-update/-deletechange the caller's own switch. An org API key acts as its creator, so an admin cannot switch another user's value with them; the call succeeds and changes the admin's own value.Sending an empty
valuesarray withallow_any_value: falseremoves the provisioning entirely, which also stops honouring any switch the user has already made. Confirm with the requester before clearing provisioning on a user who relies on the switched value for row-level security.
Before deciding where a model or content change goes, run omni whoami whoami --model-id <modelId> and decide from the permissions in rolesByModel[<id>].permissions, since a role can appear under a custom name or an internal code: QUERY_FULL_MODEL is the signal that the caller can create a branch, UPDATE that they can merge to the shared model (without it, open a PR or request a merge), and USE_WORKBOOKS that they can create content. A caller with USE_WORKBOOKS and no QUERY_FULL_MODEL (a Restricted Querier) can change only existing views in the document's workbook model and must build every tile on a topic, so do not plan topic, join, or access-grant changes for them. The full permission table, the decision rules, and the role-assignment commands (keyed by membership id, with the body key roleName) are in references/model-roles.md.
# Document abilities; add --user-id for that user's permits
omni documents get-permissions <documentId> --user-id <userId>
# List document access principals
omni documents access-list <documentId>
# Add direct access for a group
omni documents add-permits <documentId> --body '{
"userGroupIds": ["group-id"],
"role": "VIEWER"
}'
# Add direct access for a user
omni documents add-permits <documentId> --body '{
"userIds": ["user-uuid"],
"role": "EDITOR"
}'
omni documents add-permits --schema lists the role values.
Access Boost lets Viewer and Restricted Querier roles see a dashboard's non-topic tiles (raw SQL or a bare base-view query) on the dashboard; the workbook stays restricted. It loosens access controls: confirm intent with the requester, naming the users or groups and what the tiles expose, and prefer specific users or groups over organizationAccessBoost. The org prerequisite, the commands, and how boost interacts with access grants: references/access-boost.md.
# Get
omni folders get-permissions <folderId>
# Set
omni folders add-permissions <folderId> --body '{
"userGroupIds": ["group-uuid"],
"role": "VIEWER"
}'
# List schedules
omni schedules list
# Create schedule (default entity is "dashboard", so omitting it delivers the dashboard)
omni schedules create --body '{
"identifier": "dashboard-identifier",
"name": "Weekly Dashboard - Monday 9am PT",
"schedule": "0 9 ? * MON *",
"timezone": "America/Los_Angeles",
"destinationType": "email",
"format": "pdf",
"subject": "Weekly dashboard",
"recipients": ["[email protected]"]
}'
# Deliver a workbook tab instead of the dashboard (CLI ≥ 1.5.0).
# Set entity: "workbook" and pass the tab via queryIdentifierMapKey; default stays entity: "dashboard".
# `schedules update` does not take entity, so changing what a schedule delivers means creating a new one.
# filterConfig, containerPages and singleColumnLayout apply to dashboard deliveries only.
# Find these later with: omni schedules list --content-type "workbook tab"
omni schedules create --body '{
"identifier": "document-identifier",
"name": "Weekly Pipeline Tab",
"schedule": "0 9 ? * MON *",
"timezone": "America/Los_Angeles",
"destinationType": "email",
"entity": "workbook",
"queryIdentifierMapKey": "<tabKey>",
"format": "xlsx",
"subject": "Pipeline tab",
"recipients": ["[email protected]"]
}'
# Manage recipients for an existing schedule
omni schedules recipients-get <scheduleId>
omni schedules add-recipients <scheduleId> --body '{ "emails": ["[email protected]"] }'
An address with no Omni user is added as an email-only user.
schedules updateis a full replacement, not a patch, and it returns"success": trueeither way. Any optional property you leave out is reset to its default — filter values cleared, the alert condition removed,maxRowLimitand the presentation flags back to defaults.--helplists every property that resets.You cannot round-trip
schedules getinto it. The read shape is not the write shape: the GET nests presentation options undermetadataand recipients underdestinations[], while the update body wantssubject,maxRowLimit,recipientsanddestinationTypeflat — feeding the GET straight back 400s ondestinationType. Build the body fromomni schedules update --schemaand carry across every value you mean to keep.
omni schedules restore <scheduleId> (CLI ≥ 1.6.0) takes a deleted schedule out of
the trash, unless its document is also in the trash. It runs again unless it was paused
or disabled by the system.
Email-only users are the recipients that exist only to receive deliveries:
omni users list-email-only / create-email-only / create-email-only-bulk,
and delete-email-only-bulk (CLI ≥ 1.4.0). The bulk delete is partially
successful by design — a 200 carries deleted[] alongside
notFound: {emails: [], userIds: []}, so check those two arrays, not the
status, before reporting it done.
The omni ai credit-controls-* commands read and update AI credit controls for the organization, users, entity groups, and (CLI ≥ 1.7.0) user groups; the omni ai credit-usage-* commands read usage for the current or an earlier billing period, and credit-usage-users-read takes membership ids. Required permissions, CLI versions, feature flags, and examples: references/ai-credits.md.
omni color-palettes manages the organization's custom chart palettes (CLI ≥ 1.3.1); writes need the Manage Config permission. An update recolors every chart that uses the palette, a delete sends those charts back to the org default palette, and neither reports which charts changed. Examples and naming rules: references/color-palettes.md.
omni uploads lists, creates, replaces, and deletes the CSV and spreadsheet files users upload to query alongside warehouse data; create and replace-data take the file path with --file. replace-data keeps the upload id, so views and document tabs serve the new data without model or document changes; compare headers first, because renamed or removed columns can break content that uses them. Flags, the --body form, and examples: references/uploads.md.
Admin operations can silently fail or partially apply. Always read back the state after any write to confirm the change took effect.
# After creating or updating a user, verify they exist with correct state
omni scim users-list --filter 'userName eq "[email protected]"'
Check that: displayName is correct and the user ID was returned (not an error). After a deactivation, check that the user is no longer listed.
# After creating a group or modifying members, verify membership
omni scim groups-list
Check that: the group exists with the expected displayName, and members array contains the expected user UUIDs.
# After setting document permissions, verify the principal and role
omni documents access-list <documentId>
# For a specific user, also check effective permissions
omni documents get-permissions <documentId> --user-id <userId>
# After setting folder permissions, verify
omni folders get-permissions <folderId>
Check that: the principal is listed and the role matches what you set (VIEWER, EDITOR, etc.).
# Verify the user's assigned attribute value was set
omni scim users-list --filter 'userName eq "[email protected]"'
Check that: the response contains the target user, the user's
urn:omni:params:1.0:UserAttribute object includes the requested attribute name,
and the value exactly matches what you set.
After a definition change (user-attributes create / update / delete),
read it back with omni user-attributes list — Number defaults come back as
strings, so compare them as strings.
If the attribute is used for row-level security (access_filters), test it by running a query as the target user:
omni query run --body '{ "query": { ... }, "userId": "<target-user-uuid>" }'
Verify the results are correctly filtered — the user should only see rows matching their attribute value.
# Verify schedule was created with correct settings
omni schedules list -o json
# Verify recipients were added
omni schedules recipients-get <scheduleId>
Check that: the created schedule id appears in the list and the record's schedule, timezone, destinationType, format, identifier and content (what is delivered; entity is on schedules get only) match the request. If the list/get response shape is not parseable, report that schedule setting verification was inconclusive instead of silently treating an empty parser result as success. Always verify recipients with recipients-get.
omni ip-allowlist get / update read and write the organization's IP allowlist — whether it's enforced, the support and SCIM bypasses, and the allowed addresses with their notes. Requires organization admin access. The update is refused if it would leave the allowlist enabled with no entries, or enabled with a list that blocks the caller's own address — a locked-out org cannot be fixed by API.
omni ip-allowlist get
# Every field is optional; `entries` replaces the whole list.
omni ip-allowlist update --body '{
"enabled": true,
"entries": [
{ "address": "203.0.113.0/24", "note": "office" },
{ "address": "198.51.100.42", "note": "VPN exit" }
]
}'
Confirm the current state with get before an update, and name the addresses being added or removed when you report back — a bad entry can lock out every non-support user, and the server will accept the write that strands them.
omni models cache-reset resets a model's cache policy, omni models content-validator-get finds broken field references across dashboards and tiles (with --branch-id, it shows what a branch change would break), and omni models git-get returns a model's git configuration. Examples and the full-validation flag: references/cache-and-validation.md.
Omni docs pages for each admin area: references/docs-links.md.
evals/evals.json (opens in a new tab)references/access-boost.md (opens in a new tab)references/ai-credits.md (opens in a new tab)references/cache-and-validation.md (opens in a new tab)references/color-palettes.md (opens in a new tab)references/docs-links.md (opens in a new tab)references/model-roles.md (opens in a new tab)references/uploads.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub exploreomni/omni-agent-skills --plugin omni-analytics12 skills in this plugin
/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"./omni-content-builderCreate, update, and manage Omni Analytics documents and dashboards programmatically — document lifecycle, drafts, tiles, visualizations, filters, controls, and layouts — using the Omni CLI. Use this skill whenever someone wants to build a dashboard, create a workbook or document, add tiles or charts, configure dashboard filters or controls, set up a KPI view, lay out or rearrange tiles and pages, edit a dashboard as a draft and publish it, change dashboard settings, rename/move/duplicate/delete a dashboard, modify dashboard-level model customizations like workbook-specific joins or fields, or build and edit an Omni app (custom HTML content in place of a dashboard) — including casual phrasings like "make a dashboard for…", "add a chart to…", or "clean up this dashboard's layout" that don't name the skill. Load it before any document API call, even when a local build script exists. For running a query or pulling metrics use omni-query; for adding a field to the shared model use omni-model-builder./omni-content-explorerFind, browse, and organize content in Omni Analytics — dashboards, workbooks, folders, and labels — using the Omni CLI. Use this skill whenever someone wants to find an existing dashboard, search for content, list workbooks, browse folders, see what dashboards exist, find popular reports, download a dashboard as PDF or PNG, set an alert on a dashboard tile, favorite content, manage labels on documents, or any variant of "find the dashboard about", "what reports do we have", "show me our dashboards", "where is the sales report", "download this dashboard", or "alert me when this changes". This skill locates and organizes content; to inspect what a dashboard tile actually queries — its fields, filters, and sorts — use omni-query./omni-embedEmbed Omni Analytics dashboards in external applications — URL signing, custom themes, iframe events, entity workspaces, and permission-aware content — using the @omni-co/embed SDK and Omni CLI. Use this skill whenever someone wants to embed a dashboard, sign an embed URL, customize the embedded theme, handle embed events, listen for clicks or drills in the iframe, send filters to an embedded dashboard, set up entity workspaces, look up embed users, build a permission-aware content list, white-label an embedded dashboard, or any variant of "embed this dashboard", "customize the iframe theme", "handle click events from the embed", "filter the embedded dashboard", "set up embedding", or "what dashboards can this user see"./omni-model-builderCreate and edit Omni Analytics semantic model definitions — views, topics, dimensions, measures, relationships, query views, composite topics, and aggregate tables (materialized_query) — using YAML through the Omni CLI. Use this skill whenever someone wants to add a field, create a new dimension or measure, define a topic, set up joins between tables, modify the data model, build a new view, add a calculated field, create a relationship, edit YAML, work on a branch, promote model changes, or any variant of "model this data", "add this metric", "create a view for", or "set up a join between". Also use for migrating modeling patterns since Omni's YAML is conceptually similar to other semantic layer definitions. For the data itself, such as a label or computed column on each row of a result, use omni-query; this skill is for requests that name a field, measure or other part of the model.Other plugins' skills for the same job