/migrate-to-orchestra:tableau-prefect-to-orchestrafrom migrate-to-orchestra
Converts Prefect @task functions that refresh Tableau workbooks or extracts via tableau-server-client (TSC) into equivalent Orchestra pipeline tasks using the TABLEAU_CLOUD integration.
Ships in migrate-to-orchestra. 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.
None: SKILL.md is the whole skill.
Converts Prefect @task functions that use the tableau-server-client (TSC) Python library to refresh Tableau workbooks or datasource extracts into Orchestra pipeline tasks using the TABLEAU_CLOUD integration. Authentication (Personal Access Token + site ID) moves from environment variables inside the task to a named Orchestra Tableau Cloud connection.
| Prefect construct | Orchestra field | Notes |
|---|---|---|
TSC.Server("https://10ax.online.tableau.com") + site_id | connection: | Orchestra Tableau Cloud connection holds server URL, site ID, and PAT (or Connected App) credentials |
server.workbooks.filter(name="Sales Dashboard") | parameters.workbook_name | String value from filter call |
| project name (from code context or filter chain) | parameters.project_name | REQUIRED alongside workbook_name |
server.workbooks.refresh(workbook) | integration_job: TABLEAU_REFRESH_WORKBOOK | |
server.datasources.refresh(ds) | integration_job: TABLEAU_REFRESH_EXTRACT + parameters.datasource_name | Switch integration_job and use datasource_name instead |
treat_failure_as_warning | treat_failure_as_warning: true | Optional TaskModel field |
| retries / retry_delay | configuration.retries / configuration.retry_delay | Under configuration: block — retry_delay is integer MINUTES (not seconds); convert Prefect's retry_delay_seconds by dividing by 60, cap at 120 |
integration: TABLEAU_CLOUD
integration_job: TABLEAU_REFRESH_WORKBOOK # or TABLEAU_REFRESH_EXTRACT
name: refresh_sales_dashboard
connection: tableau_cloud_prod_12345
parameters:
project_name: Sales
workbook_name: Sales Dashboard
depends_on: []
condition: null
tags: []
For a datasource extract refresh:
integration: TABLEAU_CLOUD
integration_job: TABLEAU_REFRESH_EXTRACT
name: refresh_orders_extract
connection: tableau_cloud_prod_12345
parameters:
project_name: Sales
datasource_name: Orders Extract
depends_on: []
condition: null
tags: []
server.workbooks.refresh() (→ TABLEAU_REFRESH_WORKBOOK) or server.datasources.refresh() (→ TABLEAU_REFRESH_EXTRACT).filter(name=...) call or surrounding code commentsTSC.JWTAuth)tableau_cloud_prod_12345)@task function and any TSC imports no longer needed@flow, replace the call with a depends_on: reference in the Orchestra pipeline YAMLimport tableau_server_client as TSC
import os
from prefect import task, flow
@task
def refresh_tableau_workbook():
tableau_auth = TSC.PersonalAccessTokenAuth(
token_name=os.environ["TABLEAU_TOKEN_NAME"],
personal_access_token=os.environ["TABLEAU_TOKEN"],
site_id="mysite",
)
server = TSC.Server("https://10ax.online.tableau.com")
with server.auth.sign_in(tableau_auth):
workbook = server.workbooks.filter(name="Sales Dashboard").pop()
server.workbooks.refresh(workbook)
@flow
def tableau_flow():
refresh_tableau_workbook()
pipeline:
stage-refresh:
tasks:
refresh-sales-dashboard:
integration: TABLEAU_CLOUD
integration_job: TABLEAU_REFRESH_WORKBOOK
name: refresh_sales_dashboard
connection: tableau_cloud_prod_12345
parameters:
project_name: Sales
workbook_name: Sales Dashboard
depends_on: []
condition: null
tags: []
project_name is REQUIRED in Orchestra alongside workbook_name — extract it from filter logic, Tableau UI, or ask the user; the task will fail without ittableau_auth_type PAT (token name + value) or CONNECTED_APP (client ID, secret ID, secret value, username). A PAT allows only one in-flight request at a time, so prefer a Connected App when several tasks refresh concurrently through one connection. Connected Apps need Tableau Cloud (Dec 2025 release+) or Tableau Server 2025.3+.integration_job: TABLEAU_REFRESH_EXTRACT and parameters.datasource_name (not workbook_name)@task wrapping TSC; do not look for a block reference.filter() call returns a generator — .pop() picks the first match; confirm the workbook name is unique in the project before migratingserver.workbooks.refresh() is async on Tableau Server; Orchestra polls for completion automaticallyprefect-alerts-to-orchestra for all notification patterns.See prefect-alerts-to-orchestra for all notification patterns.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub orchestra-hq/orchestra-skills --plugin migrate-to-orchestra52 skills in this plugin
/airbyte-cloud-airflow-to-orchestraUse this skill when the user wants to convert an Airflow task that uses AirbyteTriggerSyncOperator or AirbyteSensor (apache-airflow-providers-airbyte) into an equivalent Orchestra pipeline task targeting Airbyte Cloud. Triggers: any mention of migrating, converting, or rewriting Airflow Airbyte tasks to Orchestra; any Airflow DAG code containing AirbyteTriggerSyncOperator or AirbyteSensor pointed at Airbyte Cloud./airbyte-cloud-dagster-to-orchestraUse this skill when the user wants to convert a Dagster integration that syncs Airbyte Cloud — AirbyteCloudResource, build_airbyte_assets, load_airbyte_cloud_asset_specs, or airbyte_assets — into an equivalent Orchestra pipeline task targeting Airbyte Cloud. Triggers: any mention of migrating or rewriting Dagster Airbyte assets/resources to Orchestra; any Dagster code importing from dagster_airbyte pointed at Airbyte Cloud./airbyte-cloud-prefect-to-orchestraUse this skill when the user wants to convert a Prefect task that syncs Airbyte Cloud — AirbyteConnection block, trigger_sync_run_and_wait_for_completion, or AirbyteSyncResult — into an equivalent Orchestra pipeline task targeting Airbyte Cloud. Triggers: any mention of migrating or rewriting Prefect Airbyte tasks to Orchestra; any Prefect flow code importing from prefect_airbyte pointed at Airbyte Cloud.Other plugins' skills for the same job