Agent skill

Query Tableau Data

by Kilo-Org in Kilo-Org/kilo-marketplace

A skill to query Tableau data sources, the "last mile" of analytics in an organization.

Apache-2.0Auto-check: notesData & Analytics

Install Query Tableau Data

skills CLI
$ npx skills add Kilo-Org/kilo-marketplace --skill query-tableau-data -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Kilo-Org/kilo-marketplace query-tableau-data --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/query-tableau-data .claude/skills/query-tableau-data && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
query-tableau-data
GitHub stars
189
Token cost
~3.1k tokens
SKILL.md length
1,285 words
Files
78 (incl. scripts)
Skills in repo
87
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill to query Tableau data sources, the "last mile" of analytics in an organization.

  • Works in 7 steps: Understand the Problem Space. What… → Authenticate first — run this before… → Scope the Site. Before calling any… → …
  • Data & Analytics work in your project
  • Calls uv

What it does

Query Tableau Data is an agent skill from Kilo-Org/kilo-marketplace. A skill to query Tableau data sources, the "last mile" of analytics in an organization. When business users think about company data they often think of a visualization or data set on the BI platform, curated to their needs with useful semantics instead of raw data in a warehouse.

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 80 other files, including scripts (for example `README.md`, `docs/DDD.md` and `docs/README.md`).

It sits in Data & Analytics. It works with Tableau. The repository describes itself as: Kilo Marketplace - A curated collection of Skills, MCP Servers, and Modes for enhancing AI agent capabilities across the Kilo ecosystem—including Kilo Code (VS Code extension)… The licence is Apache-2.0.

When your agent uses it

  • Data & Analytics work in your project

Example prompts

  • “last mile”
  • “/query-tableau-data”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Understand the Problem Space. What question is the user trying to answer? What are the fundamental components of your task? You will…
  2. Authenticate first — run this before anything else.
  3. Scope the Site. Before calling any inventory function, take a fast site-scale snapshot. This makes exactly 4 HTTP requests regardless of…
  4. Trace Lineage on Candidates. For selected datasources and workbooks, fetch targeted lineage to understand relationships — one HTTP request…
  5. Introspect the Datasource: Retrieve field metadata and hold it as a Python object. Filter to the fields relevant to your question.
  6. Establish an Effective Shared Reality: If acting on behalf of a user, ensure that you have a clear understanding of their intent by asking…
  7. Query the Datasource. After establishing a data strategy and aligning with stakeholders, execute the VDS query and print only a summary…

What it can do on your machine

Read from SKILL.md and the folder at commit ff51758. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • arxiv.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Query Tableau Data loads about 3.1k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 1,285 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:51
    - `ValidationError` → `.env` is missing required fields (`TABLEAU_SERVER_URL`, `PAT_NAME`, `PAT_VALUE`)
  • NoteMentions a .env fileSKILL.md:55
    p-hitl). Creating a PAT and configuring `.env` requires human access to the Tableau UI.
  • NoteMentions a .env fileSKILL.md:57
    Do not manually check for `.env` — place it in the skill root directory (next to `.env.template` and `pyproject.toml`

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Kilo-Org/kilo-marketplace at commit ff51758, republished under its Apache-2.0 licence (© Kilo-Org). 1,285 words, ~3,077 tokens.

Download SKILL.mdSave it as .claude/skills/query-tableau-data/SKILL.md (or your agent's skills folder). This skill also uses 77 other files; get the full folder from GitHub.
name
query-tableau-data
description
A skill to query Tableau data sources, the "last mile" of analytics in an organization. When business users think about company data they often think of a visualization or data set on the BI platform, curated to their needs with useful semantics instead of raw data in a warehouse.
metadata.category
data

Why Tableau?

Tableau is a repository of data sources and visualizations that represent the "last mile" of analytics in an organization. When business users think about company data they often think of a visualization or data set on the BI platform, curated to their needs with useful semantics instead of raw data in a warehouse.

The visual context built on top of data sources shapes this otherwise raw resource into something more consumable and actionable for people. Tableau is good at enabling all kinds of users to be productive with data and it thus contains a diversity of perspectives you will not find elsewhere in the data stack.

To query Tableau, you must first explore the data catalog ideally in a Read-Evaluate-Print Loop (REPL) such that you can quickly iterate over different approaches to find the datasources and views you need. You can query data from views directly but querying datasources gives you more flexibility and access to the full dataset, at the cost of having to understand the schema and construct your own query logic. This information can be derived from the view layer and then formalized as a more robust query against the datasource with additional filters, aggregations, or calculations as needed.


Workflow (REPL-first)

Explore the data catalog and reason through your task using a REPL tool. This workflow is inspired by research on Recursive Language Models, which shows that holding large inputs as REPL variables — rather than loading them into the context window — scales beyond context limits. Recursion (e.g., sub-agent delegation) is implemented by individual harnesses, not by this skill itself.

RULE: Do not write files for exploration. Run uv run python -c "..." directly. Writing exploration code to disk is a exploration workflow anti-pattern. Use scripts/ only to formalize a reusable workflow after REPL exploration is complete.

Hold catalog, schema, and query results as Python variables inside a Session, and surface only printed summaries to your context window. This keeps information-dense payloads out of the context window, where they degrade reasoning quality on linear-complexity tasks. Only print counts, filtered lists, and small row samples — never full payloads. This loop lets you iterate until you have a clear strategy for next steps in your task.

  1. Understand the Problem Space. What question is the user trying to answer? What are the fundamental components of your task? You will advise on which datasources or views serve their needs after mapping the catalog.

  2. Authenticate first — run this before anything else.

    python
    from query_tableau_data_py.config import SdkConfig
    from query_tableau_data_py.session import Session
    with Session(SdkConfig()) as session:
        si = session.server_info
        print(f"Server {si.product_version} (API {si.rest_api_version} — auto-negotiated), VDS tier: {si.vds_feature_tier}")
        print("AUTH OK")

    If this raises:

    • ValidationError → .env is missing required fields (TABLEAU_SERVER_URL, PAT_NAME, PAT_VALUE)
    • AuthenticationError → credentials are wrong or PAT is expired
    • OSError / ConnectionError → server URL is wrong or network is down

    If credentials are missing or invalid, stop and ask the user to complete the setup steps in README.md § HITL. Creating a PAT and configuring .env requires human access to the Tableau UI.

    Do not manually check for .env — place it in the skill root directory (next to .env.template and pyproject.toml). SdkConfig looks for .env in cwd first, then the skill root, and raises immediately if anything is missing. Let it fail loudly. See AUTH.md to troubleshoot.

  3. Scope the Site. Before calling any inventory function, take a fast site-scale snapshot. This makes exactly 4 HTTP requests regardless of site size — no timeout risk.

    python
    scope = session.scope_site()
    print(f"{scope.datasource_count} datasources, {scope.workbook_count} workbooks, {scope.view_count} views")
    print(f"{len(scope.projects)} projects")
    for p in scope.projects[:20]:
        print(f"  {p.name}")

    Use the counts to choose your inventory strategy:

    python
    if scope.datasource_count < 500 and scope.workbook_count < 1000:
        # Small/medium site: full inventory is fast in the REPL (default page_size=1000)
        datasources = session.inventory_datasources()
        workbooks   = session.inventory_workbooks()
        views       = session.inventory_views()
    else:
        # Large site: use project filtering + limits in the REPL
        datasources = session.inventory_datasources(limit=1000)
        workbooks   = session.inventory_workbooks(limit=1000)
        views       = session.inventory_views(limit=5000)
        # Certified datasources are the highest-quality signal on large sites
        certified   = [ds for ds in datasources if ds.is_certified]
        # Narrow to specific projects using names from scope.projects
        target_ds   = session.inventory_datasources(filter_project="<project>")

    Script escape hatch: If you need an exhaustive pull that exceeds the REPL tool's timeout budget (e.g., fetching all 456k views to find the global top N), write a purpose-built script to scripts/, run it, and read results back from temp/ via data.py. This is the exception — most discovery and analysis stays in the REPL.

    Note: Session is sync-only (with, not async with). For async apps (Streamlit, FastAPI), see INTEGRATION.md.

    Filter programmatically — do not print full lists. Prioritize certified datasources (ds.is_certified) as quality signals. Rank views by total_view_count to identify the most-used assets. To resolve workbook names for views, join inventory_views() with inventory_workbooks() on workbook_luid.

  4. Trace Lineage on Candidates. For selected datasources and workbooks, fetch targeted lineage to understand relationships — one HTTP request per asset, no pagination, no timeout risk.

    • session.datasource_lineage(luid) — downstream workbooks/sheets/dashboards, upstream tables/databases, 30-field preview
    • session.workbook_lineage(luid) — sheets, dashboards, upstream published datasources

    Use workbook lineage to bridge from a popular view to the published datasource that powers it. Use datasource lineage to understand downstream impact before choosing a target to query.

    Note: Do not query dashboards — they surface data from the "first view" only, which may be unrelated to your needs. Use workbook_lineage() to find the individual sheet and its upstream datasource instead. Sheets must be published to be queryable; unpublished sheets inform schema understanding only.

  5. Introspect the Datasource: Retrieve field metadata and hold it as a Python object. Filter to the fields relevant to your question.

    Fields are grouped by logical table in schema.field_groups. Each FieldGroup has a logical_table_caption attribute (the table's display name) and a fields list. Iterate as:

    python
    dims = [f for fg in schema.field_groups for f in fg.fields if f.role == "DIMENSION"]
    measures = [f for fg in schema.field_groups for f in fg.fields if f.role == "MEASURE"]

    Note: Some published datasources have "API Access" disabled — a Tableau permission not exposed in the catalog. The only way to detect it is to attempt introspection and catch the 401. When looping over multiple datasources, use defensive introspection:

    python
    from query_tableau_data_py.errors import IntrospectionError
    for ds in candidates:
        try:
            schema = session.introspect(ds.luid)
        except IntrospectionError as e:
            if "401" in str(e):
                print(f"SKIP {ds.name!r} — API Access not enabled")
            else:
                raise

    Enabling API Access requires a site admin or content owner with "Download Full Data" permission.

  6. Establish an Effective Shared Reality: If acting on behalf of a user, ensure that you have a clear understanding of their intent by asking clarifying questions and recommending solutions based on your new knowledge of the data catalog. This will narrow down the relevant data sources and fields to query, allowing for both of you to align on a shared data strategy.

  7. Query the Datasource. After establishing a data strategy and aligning with stakeholders, execute the VDS query and print only a summary — row count and a few sample rows:

    Next steps may include analyzing data, generating insights, or creating visualizations based on the retrieved information.

    Note: VDS only works with published datasources, not those embedded inside workbooks.

Show full SKILL.md (157 more words)Show less

Using the Code

This skill contains a Python package (query_tableau_data_py) with a modular script suite (auth.py, catalog.py, inventory.py, lineage.py, introspect_datasource.py, introspect_workbook.py, query.py, query_view.py) and a demo orchestrator, main.py. The demo is an example, not a reusable entry point — for your own workflows, use Session directly in a REPL or write a new script that imports it. See credentials setup.

Start here — REPL exploration: REPL.md — a complete REPL session demonstrating the full workflow: auth check → inventory → lineage → introspection → VDS query.

Building a reusable script? Only write to scripts/ after validating your approach in the REPL. See the SDK Reference for module documentation, import patterns, and complete examples.

Need to persist results to disk? See TEMP_DATA.md for file-based persistence conventions.

Output conventions:

  • Reusable scripts you write → save to scripts/ (committed to git)
  • Temp exploration data (JSON, CSV, Markdown) → save to temp/ (gitignored; clean up when done)

Skill Structure

bash
skills/query-tableau-data/
├── SKILL.md                              # entry point, navigation, usage
├── README.md                             # landing page and instructions for humans
├── pyproject.toml                        # runtime uv project config (no dev deps)
├── .env.template                         # template for environment variables
│
├── docs/                                 # detailed deep-dives & instructions
│   ├── README.md                         # documentation index with links to deep-dives
│   ├── REPL.md                           # complete REPL exploration session
│   ├── DDD.md                            # domain-driven design & ubiquitous language
│   ├── sdk/                              # SDK usage patterns, module reference, examples
│   ├── vds/                              # VDS operation deep-dives
│   └── api/                              # API reference for the main query workflows
│
├── scripts/                              # store reusable scripts & workflows
│
├── temp/                                 # local exploration output (gitignored)
│
└── src/                                  # source code
    ├── schemas/
    │   └── vds.20261.0.openapi.json      # OpenAPI schema for the VDS API
    │
    └── query_tableau_data_py/         # Python package (importable as query_tableau_data_py)
        └── main.py                       # demo orchestrator / entry-point script

Note: This skill was last updated as of Tableau version 2026.1.0.

© Kilo-Org, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 77 other files (scripts) in skills/query-tableau-data of Kilo-Org/kilo-marketplace.

  • SKILL.md
  • .env.template
  • .gitignore
  • LICENSE
  • README.md
  • docs/DDD.md
  • docs/README.md
  • docs/REPL.md
  • docs/api/API.md
  • docs/api/AUTH.md
  • docs/api/CATALOG.md
  • docs/api/INTROSPECT_DATASOURCE.md
  • docs/api/INTROSPECT_WORKBOOK.md
  • docs/api/QUERY_DATASOURCE.md
  • docs/api/QUERY_VIEW.md
  • docs/sdk/ADVANCED.md
  • docs/sdk/INTEGRATION.md
  • docs/sdk/SDK.md
  • … and 60 more

Open the folder on GitHubat commit ff51758

Compare with similar skills

Query Tableau Data next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Query Tableau Data compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Query Tableau Data this skillKilo-Org/kilo-marketplace189—~3.1kAutomated safety check: NotesApache-2.0
Bi Measure BuilderOneWave-AI/claude-skills322—~2.2kAutomated safety check: PassMIT
Normalisation Juridique Fr Christophe Quezel Ambrunazlawve-ai/awesome-legal-skills826—~2.6kAutomated safety check: PassCustom licence
Chart Selectorrevfactory/harness-1001.3k—~1.1kAutomated safety check: PassApache-2.0
Bi Dashboardrevfactory/harness-1001.3k—~1.8kAutomated safety check: PassApache-2.0
Chart Selectorrevfactory/harness-1001.3k—~657Automated safety check: PassApache-2.0

Similar skills

  • Bi Measure Builder

    OneWave-AI/claude-skills

    Writes, explains, debugs, and optimizes BI calculations - Power BI / Fabric DAX measures and calculated columns, Tableau calculated fields (FIXED/INCLUDE/EXCLUDE LOD expressions, table…

    322 GitHub stars~2.2k tokensUpdated 5 days ago
    Data & AnalyticsAuto-check passed
  • Chart Selector

    revfactory/harness-100

    Methodology for selecting optimal chart types based on data type and analysis purpose.

    1.3k GitHub stars~1.1k tokensUpdated 6 mo ago
    Data & AnalyticsAuto-check passed
  • Bi Dashboard

    revfactory/harness-100

    Full pipeline where an agent team collaborates to generate data warehouse design, KPI definitions, visualizations, and automated reports for a BI dashboard.

    1.3k GitHub stars~1.8k tokensUpdated 6 mo ago
    Data & AnalyticsAuto-check passed
  • Chart Selector

    revfactory/harness-100

    데이터 유형과 분석 목적에 따라 최적의 차트 유형을 선택하는 방법론. An agent skill from revfactory/harness-100.

    1.3k GitHub stars~657 tokensUpdated 6 mo ago
    Data & AnalyticsAuto-check passed
  • Tableau Expert

    theneoai/awesome-skills

    Tableau expert: LOD expressions, calculated fields, dashboards, Tableau Server, performance optimization.

    183 GitHub stars~4.7k tokensUpdated 4 mo ago
    Data & AnalyticsAuto-check passed

More from Kilo-Org/kilo-marketplace

All 87 skills in this repo
  • AzureML Project Scaffolding

    Kilo-Org/kilo-marketplace

    Sets up and maintains AzureML-ready Python projects as uv workspaces with devcontainers, a Makefile and job YAML, so local runs match cloud jobs and experiments stay reproducible.

    189 GitHub stars~3.1k tokensUpdated 8 days ago
    Auto-check: notes
  • Jupyter Notebook Builder

    Kilo-Org/kilo-marketplace

    Creates, inspects, edits and runs Jupyter notebooks, scaffolding experiment or tutorial notebooks from templates and preferring a Jupyter MCP server over raw JSON edits.

    189 GitHub stars~1.3k tokensUpdated 8 days ago
    Auto-check passed
  • Tableau Dashboard Creator

    Kilo-Org/kilo-marketplace

    Takes a plain-language dashboard request through brand setup, data exploration, planning, an interactive HTML mock and a Tableau implementation spec.

    189 GitHub stars~3.8k tokensUpdated 8 days ago
    Auto-check: notes
  • Elasticsearch File Ingest

    Kilo-Org/kilo-marketplace

    Ingest and transform data files (CSV/JSON/Parquet/Arrow IPC) into Elasticsearch with stream processing and custom transforms.

    189 GitHub stars~2.8k tokensUpdated 8 days ago
    Auto-check passed
  • Nifi Flow Layout

    Kilo-Org/kilo-marketplace

    A skill your agent uses when arranging Apache NiFi processors, process groups, ports, comments, numbering, crossing connections, dense fan-in/fan-out, or reusable readable canvas layouts.

    189 GitHub stars~1.5k tokensUpdated 8 days ago
    Auto-check passed
  • Splunk Ingest Processor Setup

    Kilo-Org/kilo-marketplace

    Render Cisco Data Fabric ingest-time routing workflows and Splunk Cloud Platform Ingest Processor setup plans with SPL2 pipelines, source types, destinations, lifecycle handoffs, queue and…

    189 GitHub stars~1.2k tokensUpdated 8 days ago
    Auto-check passed

Works with

Questions about Query Tableau Data

What does Query Tableau Data do?

A skill to query Tableau data sources, the "last mile" of analytics in an organization. Query Tableau Data is an agent skill from Kilo-Org/kilo-marketplace. A skill to query Tableau data sources, the "last mile" of analytics in an organization.

When should I use Query Tableau Data?

Query Tableau Data fits situations like: data & Analytics work in your project.

How do I install Query Tableau Data in Claude Code?

Run `npx skills add Kilo-Org/kilo-marketplace --skill query-tableau-data -a claude-code`. Or copy the skill folder (skills/query-tableau-data in Kilo-Org/kilo-marketplace) into .claude/skills/query-tableau-data in your project. Claude Code loads it when a task matches its description.

How do I install Query Tableau Data in Codex?

Run `npx skills add Kilo-Org/kilo-marketplace --skill query-tableau-data -a codex`. Or copy the skill folder (skills/query-tableau-data in Kilo-Org/kilo-marketplace) into .agents/skills/query-tableau-data in your project. Codex loads it when a task matches its description.

Can I use Query Tableau Data in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Kilo-Org/kilo-marketplace --skill query-tableau-data -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/query-tableau-data, .gemini/skills/query-tableau-data, .github/skills/query-tableau-data and .opencode/skills/query-tableau-data in your project.

What does Query Tableau Data need to run?

Going by SKILL.md and its folder, Query Tableau Data needs the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Query Tableau Data access the network?

SKILL.md names 1 domain. As links in the text: arxiv.org. This is read from the text; nothing was executed.

Is Query Tableau Data safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Query Tableau Data use?

Query Tableau Data is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Query Tableau Data use?

About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Query Tableau Data?

Skills that share tags, products or a category with Query Tableau Data: Bi Measure Builder (OneWave-AI/claude-skills, 322 stars), Normalisation Juridique Fr Christophe Quezel Ambrunaz (lawve-ai/awesome-legal-skills, 826 stars), Chart Selector (revfactory/harness-100, 1.3k stars) and Bi Dashboard (revfactory/harness-100, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Query Tableau Data?

Kilo-Org (a GitHub organization) maintains it in Kilo-Org/kilo-marketplace, which has 189 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on September 28, 2026.

Source: Kilo-Org/kilo-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.