tableau-to-hex-skill

作者 Humphrey4data已验证

Agent skill for migrating Tableau, Looker, and Power BI dashboards to Hex apps: extract specs, rebuild with Hex AI, verify parity

90
Stars
9
Forks
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/Humphrey4data/tableau-to-hex-skill

快速入门

使用 tableau-to-hex-skill 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

Tableau/Looker/Power BI → Hex Dashboard Migration Skill

An agent skill that migrates a Tableau, Looker, or Power BI dashboard to a Hex app with matching queries, numbers, filters, colors, layout, and tooltips — then proves the match with an automated screenshot-diff loop.

This file is for humans. The agent follows SKILL.md (the procedure) and reference.md (the commands).

Source support:

SourceStatusNotes
Tableau (Cloud + self-hosted Server)Battle-testedProven on a production migration
Looker (Looker-hosted + customer-hosted)Documented equivalentEasier in one way: the API returns the exact warehouse SQL behind every tile
Power BI (Fabric / Premium / PPU best)Documented equivalent, hardest sourceExtraction is clean (PBIR + TMDL via APIs), but DAX measures must be translated to warehouse SQL and proven equivalent; import-mode models without a reachable upstream warehouse can't be migrated at all

What it does, step by step

PhaseWhat happensYour involvement
0. SetupInstalls/verifies the Hex CLI and a warehouse CLI, checks source BI access, asks the fidelity policy, suggests command allowlisting, front-loads the one-time logins, creates a resumable run manifestProvide source credentials (Tableau PAT / Looker API key / Entra login) if not configured; answer one policy question; do the logins
1. ExtractPulls the ground truth from the source — Tableau: downloads the workbook (.twbx) and parses its XML for custom SQL, calculated fields, parameters, filters, layout, colors; Looker: fetches the dashboard, per-tile generated SQL, table calcs, filters, and vis config via the API; Power BI: fetches the report definition (PBIR) and semantic model (TMDL: DAX measures, relationships, M sources) via the Fabric APIs — and grabs rendered PNGsSend screenshots of hover tooltips (they're invisible to every API); confirm the scope — which dashboards/pages to migrate, and whether tabbed siblings become one Hex app with tabs (default) or separate apps
2. ValidateRe-runs every section's logic against the warehouse and reconciles with the source's numbers before building anything (for Power BI this includes the DAX-to-SQL translation)None (agent asks only if the source is ambiguous)
3. BuildSends one comprehensive prompt to the Hex agent (hex thread create --new-project) with the validated SQL and exact styling spec, targeting a Generative app (not a classic notebook app, with tab navigation when the scope covers multiple dashboards) and verifying Hex compliedNone — takes ~10–15 min
4. Self-check loopScreenshots the Hex app headlessly, diffs it panel-by-panel against the source PNG, re-verifies numbers and that every filter actually changes results, sends fix batches to the Hex agent; repeats until parityOne-time browser login for screenshots; expect 3+ rounds
5. Sign-offPresents an evidence pack: side-by-side images, per-panel parity table, explicit approximations, open questionsYou accept or request changes

How to trigger it

The skill activates when you paste a Tableau view link, a Looker dashboard link, or a Power BI report link and ask for a migration. In a chat with your agent (Cursor, Claude Code, Codex, etc.):

Migrate this Tableau dashboard to Hex: https://<pod>.online.tableau.com/#/site/<site>/views/<Workbook>/<Dashboard>

Migrate this Looker dashboard to Hex: https://<instance>.cloud.looker.com/dashboards/<id>

Migrate this Power BI report to Hex: https://app.powerbi.com/groups/<workspace>/reports/<report>/<page>

Phrases like "migrate/replicate/copy/rebuild this dashboard in Hex", "Tableau to Hex", "Looker to Hex", or "Power BI to Hex" all work. You can also invoke it explicitly (e.g. @tableau-to-hex-migration in Cursor).

Installation

Copy this folder into your project's skills directory:

  • Cursor: .cursor/skills/tableau-to-hex-migration/ (project) or ~/.cursor/skills/... (personal)
  • Claude Code: .claude/skills/tableau-to-hex-migration/
  • Codex: .codex/skills/tableau-to-hex-migration/ (project) or ~/.codex/skills/... (personal)

Prerequisites

  • Hex workspace with the CLI enabled and the Hex agent (threads) feature available — Phase 3 consumes workspace AI credits; without this feature the build path is blocked.
  • Tableau (if migrating from Tableau): a Personal Access Token with permission to download the workbook. Tableau Cloud and self-hosted Server (2019.4+) both work.
  • Looker (if migrating from Looker): API3 credentials (client ID + secret) for a user with access to the dashboard's folder and explores. Looker-hosted and customer-hosted both work.
  • Power BI (if migrating from Power BI): a Microsoft Entra login (via Azure CLI) with Build permission on the semantic model and write access to the report; the executeQueries tenant setting enabled; Fabric capacity or Premium-Per-User strongly recommended (needed for TMDL export via API/XMLA and PNG export — without it the skill falls back to browser screenshots). DirectQuery/composite models migrate best; import-only models need their upstream warehouse tables to exist.
  • Warehouse CLI for the engine your Hex data connection uses: Snowflake snow, BigQuery bq, Databricks dbsqlcli, Postgres/Redshift psql (any JSON-emitting SQL CLI can be plugged in).
  • macOS or Linux (Windows via WSL). Python 3 with playwright, pillow, pyyaml, jinja2 for the self-check loop.

What to expect

  • It is a multi-hour, supervised task, not one-shot magic: ~10–15 min initial build, then several 4–10 min correction rounds while the agent converges on parity.
  • Human touchpoints are few but real: tooltip screenshots, a one-time Hex browser login, the fidelity-policy answer, the dashboard-scope answer (which dashboards/pages, tabs vs separate apps), and final visual sign-off.
  • Reduce "Allow" clicks up front: the run issues hundreds of terminal commands, so at the start the agent will suggest (a) adding the repeated CLIs (curl, python3, hex, your warehouse CLI) to your agent's command allowlist — in Cursor via the terminal allowlist settings, in Claude Code via /permissions allow rules — and (b) doing all one-time browser logins (Hex CLI, screenshot profile, az login) back-to-back in Phase 0. Ten minutes of setup buys hours of unattended running; only allowlist these specific read/query commands, never destructive ones.
  • Known limits (flagged up front by the skill): Tableau Stories, dashboard actions, row-level security, and user filters have no clean Hex equivalent — likewise Looker data actions and alerts, and Power BI RLS roles, drill-through actions, and bookmark navigation; refresh schedules, permissions, and publishing are out of scope. The deliverable is a draft Hex app plus a parity evidence pack.
  • Power BI takes longest: DAX-to-SQL translation is validated measure by measure — budget roughly twice the correction rounds of a Tableau/Looker run.

Safety notes

  • The Tableau PAT / Looker API secret / Entra token lives only in your MCP config or session env vars; the skill never writes it to files or prompts, and reminds you to rotate it afterward.
  • All run artifacts (spec, SQL, screenshots, manifest) live under ~/.tab2hex/<dashboard-slug>/, so an interrupted migration is resumable.

常见问题

What is tableau-to-hex-skill?

tableau-to-hex-skill is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Humphrey4data. Agent skill for migrating Tableau, Looker, and Power BI dashboards to Hex apps: extract specs, rebuild with Hex AI, verify parity. It has 90 GitHub stars.

Is tableau-to-hex-skill safe to use?

Yes. tableau-to-hex-skill passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install tableau-to-hex-skill?

Clone the repository with "git clone https://github.com/Humphrey4data/tableau-to-hex-skill" and add it to your Claude Code skills directory (see the Installation section above). tableau-to-hex-skill ships a SKILL.md manifest, so compatible agents can discover and load it automatically.

Are there alternatives to tableau-to-hex-skill?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh tableau-to-hex-skill against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情