[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ASQ2RNS9397SX7PS1PAXV4":3,"skill-same:01M7ASQ2RNS9397SX7PS1PAXV4":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7ASQ2RNS9397SX7PS1PAXV4","cube-admin",null,"Administer a Cube tenant — users, groups, user attributes, access policies, tenant settings, API keys, SCIM provisioning and OIDC — using the Cube CLI. Use whenever someone wants to manage who can access what: add or remove a user, grant or revoke a user's or group's access to a deployment or resource, set user attributes for row-level security, configure SSO, rotate an API key, or audit current permissions. Triggers on \"add someone to\", \"give access to\", \"who can see\", \"remove this user\", \"set up SSO\", \"create an API key\", \"what are this user's permissions\", \"audit access\". To manage deployments themselves use cube-deploy; for embedded end-user access use cube-embed.","cube-js\u002Fcube-agent-skills","cube-js","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F52467369?v=4","01M7ASPXD7T6SBZM632VQRFBJM","Cube","01M7ASPXDVXSVY911K7DAMGEWQ",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcube-js\u002Fcube-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcube-admin\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cube-admin\ndescription: >-\n  Administer a Cube tenant — users, groups, user attributes, access policies, tenant settings, API keys, SCIM provisioning and OIDC — using the Cube CLI. Use whenever someone wants to manage who can access what: add or remove a user, grant or revoke a user's or group's access to a deployment or resource, set user attributes for row-level security, configure SSO, rotate an API key, or audit current permissions. Triggers on \"add someone to\", \"give access to\", \"who can see\", \"remove this user\", \"set up SSO\", \"create an API key\", \"what are this user's permissions\", \"audit access\". To manage deployments themselves use cube-deploy; for embedded end-user access use cube-embed.\nlicense: Apache-2.0\ncompatibility: Needs the Cube CLI, installed and logged in, and network access to Cube Cloud.\n---\n\n# Administer a Cube tenant\n\nThe widest surface in this plugin, and the one where mistakes affect other\npeople. Everything here is real: removing a user removes their access.\n\nCLI-only. The Cube MCP tools do not administer users, groups or access.\nWithout a terminal and the Cube CLI, say so, and point the user to\n**Admin** in the Cube console.\n\n## Preflight\n\n```bash\ncommand -v cube >\u002Fdev\u002Fnull || echo \"Cube CLI not installed: curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fcube-js\u002Fcube\u002Fmaster\u002Finstall-cli.sh | sh\"\ncube whoami || echo \"Not authenticated. Interactive: cube login. Headless: set CUBE_API_URL + CUBE_API_KEY.\"\ncube context list   # the wrong tenant here changes the wrong company's access\n```\n\n## Read before you write\n\nAccess questions are answered by reading, and most requests are questions\neven when phrased as instructions. Establish the current state first:\n\n```bash\ncube users list\ncube users me\ncube groups list\ncube policies get --resource-type \u003Ctype> --resource-id \u003Cid>\ncube attributes list\n```\n\nReport what you find before changing it. \"Alice is already in the analysts\ngroup\" resolves a lot of requests without a write.\n\n## Users and groups\n\n```bash\ncube users create --data '\u003Cuser>'\ncube users update \u003Cuser> --data '\u003Cchanges>'\ncube users delete \u003Cuser>\n\ncube groups list\ncube groups delete \u003Cgroup>\n```\n\nThe CLI cannot create a group or change who is in one. When groups come from\nan identity provider over SCIM, membership belongs there — say so. Otherwise\ngo through SCIM, reading the group first:\n\n```bash\ncube scim groups get \u003Cgroup>\ncube scim groups patch \u003Cgroup> --data '\u003CSCIM PatchOp JSON>'\ncube scim groups create --data '\u003CSCIM group JSON>'\n```\n\n## Access policies\n\n```bash\ncube policies get --resource-type \u003Ctype> --resource-id \u003Cid>\ncube policies set-group --resource-type \u003Ctype> --resource-id \u003Cid> --group \u003Cgroup> --action \u003Caction>\ncube policies set-user --resource-type \u003Ctype> --resource-id \u003Cid> --user \u003Cuser> --action \u003Caction>\n```\n\n**Always pass `--action`.** Without it, `set-group` and `set-user` *clear* the\npolicy — the command meant to grant access removes it. Actions are named per\nresource, such as `WorkbookRead`; `policies get` shows the ones in use. Resource\ntypes are `Global`, `Deployment`, `Report`, `ReportFolder`, `Agent`,\n`AgentSpace`, `Workbook`, `Dashboard`, `Folder` and `ChatThread`.\n\nPrefer `set-group` over `set-user`. Per-user grants are invisible at review\ntime — nobody audits them, and they outlive the person's reason for having\nthem. If a request is \"give Alice access to X\", the better answer is usually\n\"which group should Alice be in\".\n\n## User attributes and row-level security\n\n```bash\ncube attributes list\ncube attributes create --name \u003Cname> --type string|number|boolean|string_array|number_array --display-name \"\u003Clabel>\"\ncube attributes values get \u003Cuser>\n```\n\nTo set a user's value, call the API directly — `cube attributes values set`\nhas no way to pass a value, so do not use it:\n\n```bash\ncube api POST \u002Fapi\u002Fv1\u002Fuser-attribute-values\u002F -d '{\"userId\":\"\u003Cuser-id>\",\"userAttributeId\":\"\u003Cattribute-id>\",\"value\":\u003Cvalue>}'\ncube attributes values get \u003Cuser>    # confirm it took\n```\n\nAttributes feed the security context, which is what row-level security in the\nmodel reads. Changing an attribute value changes what that user sees in every\nquery and every saved report — including scheduled ones that will send new\nnumbers to the same recipients. Say that when you change one.\n\n## Tenant settings, SSO, keys\n\n```bash\ncube tenant settings\ncube tenant update --data '\u003CTenantSettingsInput JSON>'   # read settings first\n\ncube oidc list \u002F get \u002F create \u002F update \u002F delete\ncube scim users|groups list \u002F get \u002F create \u002F patch \u002F replace \u002F delete   # SCIM JSON via --data\ncube scim service-provider-config\ncube api-keys list\ncube api-keys create --name \u003Cname>     # prints the secret once — never echo it\ncube api-keys delete \u003Ckey>             # revokes it immediately\ncube integrations list \u002F get \u002F create \u002F update \u002F delete\ncube integrations tokens list \u002F get \u002F revoke \u002F initiate\n```\n\nSCIM and OIDC changes affect how everyone authenticates. Read the current\nconfig and state what will change before touching either.\n\nWhen an operation has no command, `cube spec \u003Ctext>` finds the API endpoint\nand its request schema, and `cube api \u003CMETHOD> \u003Cpath> -d '\u003Cjson>'` calls it.\n\n## Auditing\n\nTo answer \"who can see X\", combine:\n\n1. `cube policies get` for the resource.\n2. `cube groups list` and the user records for who that resolves to.\n3. `cube attributes values get` for any row-level filtering on top.\n\nAn access answer that skips step 3 is incomplete — two users with identical\npolicies can see different rows.\n\n## Conventions\n\n- Report ids, not just names. Names collide; ids are what you act on.\n- Say what changed, for whom, in plain terms. \"Removed Alice from analysts;\n  she loses access to deployments 1 and 4\" is the useful form.\n- Never rotate or revoke a credential as a side effect of another task.\n\n## When something fails\n\n| Symptom | Cause |\n| --- | --- |\n| 403 | The account is not an admin on this tenant — report it, do not work around it |\n| User not found | Often the wrong tenant; check `cube context list` |\n| Policy set but access unchanged | Group membership or an attribute is overriding it — audit all three layers |\n| SCIM write rejected | Provisioning is managed by the IdP; changes belong there, not here |\n| API keys returns the web app instead of JSON | That endpoint is unavailable on this tenant, often because the server is older — report it as unavailable, not as an empty list |\n| OIDC returns `not available` | OIDC is disabled or unsupported on this tenant — do not treat the 404 as an empty configuration |\n","# Administer a Cube tenant\n\nThe widest surface in this plugin, and the one where mistakes affect other\npeople. Everything here is real: removing a user removes their access.\n\nCLI-only. The Cube MCP tools do not administer users, groups or access.\nWithout a terminal and the Cube CLI, say so, and point the user to\n**Admin** in the Cube console.\n\n## Preflight\n\n```bash\ncommand -v cube >\u002Fdev\u002Fnull || echo \"Cube CLI not installed: curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fcube-js\u002Fcube\u002Fmaster\u002Finstall-cli.sh | sh\"\ncube whoami || echo \"Not authenticated. Interactive: cube login. Headless: set CUBE_API_URL + CUBE_API_KEY.\"\ncube context list   # the wrong tenant here changes the wrong company's access\n```\n\n## Read before you write\n\nAccess questions are answered by reading, and most requests are questions\neven when phrased as instructions. Establish the current state first:\n\n```bash\ncube users list\ncube users me\ncube groups list\ncube policies get --resource-type \u003Ctype> --resource-id \u003Cid>\ncube attributes list\n```\n\nReport what you find before changing it. \"Alice is already in the analysts\ngroup\" resolves a lot of requests without a write.\n\n## Users and groups\n\n```bash\ncube users create --data '\u003Cuser>'\ncube users update \u003Cuser> --data '\u003Cchanges>'\ncube users delete \u003Cuser>\n\ncube groups list\ncube groups delete \u003Cgroup>\n```\n\nThe CLI cannot create a group or change who is in one. When groups come from\nan identity provider over SCIM, membership belongs there — say so. Otherwise\ngo through SCIM, reading the group first:\n\n```bash\ncube scim groups get \u003Cgroup>\ncube scim groups patch \u003Cgroup> --data '\u003CSCIM PatchOp JSON>'\ncube scim groups create --data '\u003CSCIM group JSON>'\n```\n\n## Access policies\n\n```bash\ncube policies get --resource-type \u003Ctype> --resource-id \u003Cid>\ncube policies set-group --resource-type \u003Ctype> --resource-id \u003Cid> --group \u003Cgroup> --action \u003Caction>\ncube policies set-user --resource-type \u003Ctype> --resource-id \u003Cid> --user \u003Cuser> --action \u003Caction>\n```\n\n**Always pass `--action`.** Without it, `set-group` and `set-user` *clear* the\npolicy — the command meant to grant access removes it. Actions are named per\nresource, such as `WorkbookRead`; `policies get` shows the ones in use. Resource\ntypes are `Global`, `Deployment`, `Report`, `ReportFolder`, `Agent`,\n`AgentSpace`, `Workbook`, `Dashboard`, `Folder` and `ChatThread`.\n\nPrefer `set-group` over `set-user`. Per-user grants are invisible at review\ntime — nobody audits them, and they outlive the person's reason for having\nthem. If a request is \"give Alice access to X\", the better answer is usually\n\"which group should Alice be in\".\n\n## User attributes and row-level security\n\n```bash\ncube attributes list\ncube attributes create --name \u003Cname> --type string|number|boolean|string_array|number_array --display-name \"\u003Clabel>\"\ncube attributes values get \u003Cuser>\n```\n\nTo set a user's value, call the API directly — `cube attributes values set`\nhas no way to pass a value, so do not use it:\n\n```bash\ncube api POST \u002Fapi\u002Fv1\u002Fuser-attribute-values\u002F -d '{\"userId\":\"\u003Cuser-id>\",\"userAttributeId\":\"\u003Cattribute-id>\",\"value\":\u003Cvalue>}'\ncube attributes values get \u003Cuser>    # confirm it took\n```\n\nAttributes feed the security context, which is what row-level security in the\nmodel reads. Changing an attribute value changes what that user sees in every\nquery and every saved report — including scheduled ones that will send new\nnumbers to the same recipients. Say that when you change one.\n\n## Tenant settings, SSO, keys\n\n```bash\ncube tenant settings\ncube tenant update --data '\u003CTenantSettingsInput JSON>'   # read settings first\n\ncube oidc list \u002F get \u002F create \u002F update \u002F delete\ncube scim users|groups list \u002F get \u002F create \u002F patch \u002F replace \u002F delete   # SCIM JSON via --data\ncube scim service-provider-config\ncube api-keys list\ncube api-keys create --name \u003Cname>     # prints the secret once — never echo it\ncube api-keys delete \u003Ckey>             # revokes it immediately\ncube integrations list \u002F get \u002F create \u002F update \u002F delete\ncube integrations tokens list \u002F get \u002F revoke \u002F initiate\n```\n\nSCIM and OIDC changes affect how everyone authenticates. Read the current\nconfig and state what will change before touching either.\n\nWhen an operation has no command, `cube spec \u003Ctext>` finds the API endpoint\nand its request schema, and `cube api \u003CMETHOD> \u003Cpath> -d '\u003Cjson>'` calls it.\n\n## Auditing\n\nTo answer \"who can see X\", combine:\n\n1. `cube policies get` for the resource.\n2. `cube groups list` and the user records for who that resolves to.\n3. `cube attributes values get` for any row-level filtering on top.\n\nAn access answer that skips step 3 is incomplete — two users with identical\npolicies can see different rows.\n\n## Conventions\n\n- Report ids, not just names. Names collide; ids are what you act on.\n- Say what changed, for whom, in plain terms. \"Removed Alice from analysts;\n  she loses access to deployments 1 and 4\" is the useful form.\n- Never rotate or revoke a credential as a side effect of another task.\n\n## When something fails\n\n| Symptom | Cause |\n| --- | --- |\n| 403 | The account is not an admin on this tenant — report it, do not work around it |\n| User not found | Often the wrong tenant; check `cube context list` |\n| Policy set but access unchanged | Group membership or an attribute is overriding it — audit all three layers |\n| SCIM write rejected | Provisioning is managed by the IdP; changes belong there, not here |\n| API keys returns the web app instead of JSON | That endpoint is unavailable on this tenant, often because the server is older — report it as unavailable, not as an empty list |\n| OIDC returns `not available` | OIDC is disabled or unsupported on this tenant — do not treat the 404 as an empty configuration |\n",{"name":5,"license":15,"description":7,"compatibility":24},"Needs the Cube CLI, installed and logged in, and network access to Cube Cloud.","main","5e5ef13c40f3bfc101d575b568b5c5a3447d6fcb","skills\u002Fcube-admin",0,"https:\u002F\u002Fgithub.com\u002Fcube-js\u002Fcube-agent-skills","https:\u002F\u002Fgithub.com\u002Fcube-js","https:\u002F\u002Fcube.dev","The Semantic Layer for building data apps","2026-10-01 05:18:35",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add cube-js\u002Fcube-agent-skills --skill cube-admin",{"tool":40,"command":41},"bunx","bunx skills add cube-js\u002Fcube-agent-skills --skill cube-admin",{"tool":43,"command":44},"pnpm","pnpm dlx skills add cube-js\u002Fcube-agent-skills --skill cube-admin","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcube-js\u002Fcube-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcube-admin\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7ASRWS98EN8SQEFQFB7RKSA","cube-run-query","Run queries against a Cube deployment's semantic layer and interpret the results — through the Cube MCP tools when they are connected, or the Cube CLI from a terminal. Use whenever someone wants numbers out of Cube — pull a metric, check a total, compare periods, verify that a measure returns what it should, sanity-check a model change. Triggers on \"how many\", \"what's the total\", \"show me revenue by month\", \"did that measure work\", \"what's our MoM growth\", \"pull the numbers for\", and any request to verify a model change against real data. To find out what is queryable first use cube-explore-model; to change the model use cube-build-model; to save a result as a report or dashboard use cube-build-content.","https:\u002F\u002Fgithub.com\u002Fcube-js\u002Fcube-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcube-run-query\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7ASRMCKWK6CMRRTE8XJ9R4W","cube-explore-model","Search and inspect a Cube semantic model — cubes, views, measures, dimensions, joins, and the files they live in — through the Cube MCP tools or the Cube CLI. Use whenever someone wants to know what data is available in Cube, where a metric is defined, which cube a field belongs to, how two cubes join, or what a change would affect. Triggers on \"what can I query\", \"what measures do we have\", \"where is revenue defined\", \"show me the data model\", \"what's in this deployment\", \"which cube has customer email\", and impact questions like \"what breaks if I rename this\". Read the model with this skill before changing it. To edit the model use cube-build-model; to run a query and get numbers back use cube-run-query; to browse workbooks, dashboards and reports use cube-explore-content.","https:\u002F\u002Fgithub.com\u002Fcube-js\u002Fcube-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcube-explore-model\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7ASRDJTX19A2PT8JZ11TNQ4","cube-explore-content","Find and inspect saved content in a Cube workspace — workbooks, dashboards, reports, folders and scheduled notifications — using the Cube CLI, or the Cube MCP tools for content you already have a link to. Use whenever someone wants to know what already exists rather than build something new: locate a dashboard, list reports, see what a report queries, find who a notification goes to, or check what saved content references a model field before renaming it. Triggers on \"what dashboards do we have\", \"find the revenue report\", \"where is that workbook\", \"what's in this folder\", \"who gets this scheduled report\", \"is anything using this field\". To create or edit content use cube-build-content; to inspect the semantic model itself use cube-explore-model.","https:\u002F\u002Fgithub.com\u002Fcube-js\u002Fcube-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcube-explore-content\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7ASR6TH7HA1PQ7Z3DXPZ2B1","cube-embed","Set up and debug Cube embedded analytics — embed sessions, embed tokens, embeddable dashboards and embed tenants — using the Cube CLI. Use whenever someone is shipping Cube analytics inside their own product: mint a session for an end user, enable a dashboard for embedding, set up multi-tenant isolation so each customer sees only their data, or debug why an embedded view is empty or unauthorized. Triggers on \"embed this dashboard\", \"embedded analytics\", \"our customers need to see\", \"multi-tenant analytics\", \"the iframe is blank\", \"embed token\", \"sign the embed URL\", \"customer-facing dashboard\". For internal access control use cube-admin; for the dashboards themselves use cube-build-content.","https:\u002F\u002Fgithub.com\u002Fcube-js\u002Fcube-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcube-embed\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7ASR0E40HQ3H7DXY9N795H2","cube-deploy","Manage Cube deployments and their lifecycle — create deployments, deploy a project, check build status, manage environments and environment variables, connect a GitHub repo, and tail logs — using the Cube CLI. Use whenever someone wants to ship, configure or debug a deployment rather than change the model inside one. Triggers on \"deploy this\", \"did the build pass\", \"why did the build fail\", \"set an environment variable\", \"create a deployment\", \"connect our repo\", \"show me the logs\", \"what regions are available\", \"the deployment is down\". To change model files use cube-build-model; for users and access use cube-admin.","https:\u002F\u002Fgithub.com\u002Fcube-js\u002Fcube-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcube-deploy\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7ASQS7SXDV63D81YJFQSDTY","cube-configure-agent","Inspect and tune Cube's in-product AI agent — its rules, certified queries and Agent Skills — by authoring markdown in the semantic model, through the Cube MCP tools or the Cube CLI. Use whenever someone wants the Cube agent to answer better: teach it a business definition, stop it making a recurring mistake, certify a trusted query, capture a repeatable workflow as a skill, or find out why it answered the way it did. Triggers on \"the agent keeps getting X wrong\", \"teach the agent that\", \"make the agent always\", \"add a certified query\", \"create an agent skill\", \"why did the agent say that\", \"what rules does the agent have\". To change the underlying model use cube-build-model; to explore what is queryable use cube-explore-model.","https:\u002F\u002Fgithub.com\u002Fcube-js\u002Fcube-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fcube-configure-agent\u002FSKILL.md",[],[]]