Skip to content
Development
Skill

/preset-guest-tokens

Prepare and create Preset embedded dashboard guest tokens, external-user claims, resource claims, RLS claims, and token-handling plans through direct Superset API calls. Use only for direct API workflows; Do not use for MCP-only work.

From plugin
preset-io-agent-skills
1228 skills
Install
$ npx -y skills add preset-io/agent-skills --skill preset-guest-tokens --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/preset-guest-tokens

Context preview

The summary Claude sees to decide when to auto-load this skill.

Prepare and create Preset embedded dashboard guest tokens, external-user claims, resource claims, RLS claims, and token-handling plans through direct Superset API calls. Use only for direct API workflows; Do not use for MCP-only work.

SKILL.md

preset-guest-tokens.SKILL.md
name: preset-guest-tokens
description: Prepare and create Preset embedded dashboard guest tokens, external-user claims, resource claims, RLS claims, and token-handling plans through direct Superset API calls. Use only for direct API workflows; Do not use for MCP-only work.

preset-guest-tokens

Use for security-sensitive guest-token payload review and creation.

Always

  • Auth and conventions come from `preset-api` (JWT exchange, base URLs, Rison); resolve the workspace hostname through the Management API when it is not already known. Consult `preset-embedding` for embedded-config context when it is missing.
  • Use `preset-embedded-rls` when row-level security clauses are present.
  • Require explicit confirmation before `POST /api/v1/security/guest_token/`.
  • Confirm dashboard/resource UUID, user claims, RLS clauses, token handling, and expiration expectations.
  • Do not invent RLS clauses, trusted domains, or authorization details; ask for missing authorization details.
  • Never print signed guest tokens in logs, examples, PR comments, or handoff notes.

Decision Rules

  • Classify guest token creation as token issuance.
  • Require approval summary with dashboard, resource, user, RLS, audience, expiration, and handling.
  • Never create or print a signed token before approval.
  • Separate embedded config reads from token creation.

Workflow Order

1. Inspect dashboard and embedded config metadata. 2. Summarize token claims, resources, user payload, RLS, audience, and handling. 3. Request explicit approval. 4. Stop before creating or printing token.

Retrieve

  • Guest-token claims, resources, user payload, RLS, token handling: [references/guest-token-claims.md](references/guest-token-claims.md)
  • Approval policy: load `preset-api` and then `references/safety-policy.md`.
Read more
Ships withpreset-io-agent-skills

Agent guidance for working with Preset, Apache Superset, and Superset MCP tools. The skills work across Claude, OpenAI Codex, Cursor, GitHub Copilot, Snowflake Cortex Code CLI, and Gemini CLI from a single source.

Get the whole plugin
Stats
12
Stars
1
Forks
Active
Maintenance
Shell
Language
Apache-2.0
License
10d ago
Last commit
3mo ago
Created

Repo: preset-io/agent-skills

Other skills on preset-io-agent-skills.