/rest-api-pipeline:view-data [pipeline-name] [query]from rest-api-pipeline
Queries and explores data loaded by a dlt pipeline using the dlt dataset API, ibis expressions, and ReadableRelation. Useful for ad hoc reports, row counts, and data inspection.
Ships in rest-api-pipeline. 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.
Query data loaded by a dlt pipeline using Python. Use in standalone scripts, inline code, or as the data access layer for reports.
Parse $ARGUMENTS:
pipeline-name (optional): the dlt pipeline name. If omitted, infer from session context. If ambiguous, ask the user and stop.hints (optional, after --): additional requirements or focus areas (e.g., -- show top users by spend)Tell the user to run Workspace Dashboard if no precise query or instructions were give, this assumes user wants to just look at the data. Otherwise
uv run dlthub local pipeline show <pipeline_name>
This opens a browser with table schemas, row counts, and sample data.
Essential Reading:
https://dlthub.com/docs/general-usage/dataset-access/dataset.mdhttps://dlthub.com/docs/general-usage/dataset-access/dataset#modifying-queries-with-ibis-expressionsUse pipeline.dataset() to access loaded data. This is destination agnostic — works the same on duckdb, postgres, bigquery, etc. NEVER import destination libraries (like duckdb) directly.
import dlt
pipeline = dlt.attach("<pipeline_name>")
dataset = pipeline.dataset()
Think about it as a subset of ibis with slightly different syntax.
table = dataset["my_table"]
table.head().df() # first rows as pandas
table.select("id", "name").limit(50).arrow() # select columns, arrow format
table.where("id", "in", [1, 2, 3]).df() # parametric filter
table.select("amount").max().fetchscalar() # scalar aggregate
dataset.row_counts().df() # row counts for all tables
t = dataset["my_table"].to_ibis()
expr = t.filter(t.amount > 100).group_by("category").aggregate(total=t.amount.sum())
dataset(expr).df() # execute ibis expression via dataset
Ibis is lazy, composable, and destination agnostic. Key operations:
table.group_by("col").aggregate(total=table.col.sum()) — aggregationtable.filter(table.col > 0) — filteringtable.join(other, table.id == other.parent_id) — joinstable.order_by(ibis.desc("col")) — sortingtable.mutate(new_col=table.col * 100) — computed columnstable.select("col1", "col2") — column selectionRead ibis docs: https://ibis-project.org/reference/expression-tables
dlt creates child tables for nested data (e.g., my_table__results). Join on _dlt_id / _dlt_parent_id:
parent = dataset["my_table"].to_ibis()
child = dataset["my_table__results"].to_ibis()
joined = parent.join(child, parent._dlt_id == child._dlt_parent_id)
dataset("SELECT * FROM my_table WHERE amount > 100").df()
If the user wants to create custom charts or generate insights from their data, install the data-exploration toolkit (dlthub ai toolkit install data-exploration) and follow the workflow there.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/adjust-endpointAdjust a working dlt pipeline for production — remove dev limits, verify pagination (including stuck or looping paginators), configure incremental loading, expand date ranges, and handle rate-limit/429 errors with retries, backoff, and request timeouts. Use when the user wants to remove .add_limit(), load more data, fix stuck or looping pagination, set up incremental loading, or make the pipeline retry/back off on 429s. For throughput/concurrency tuning (parallel resources, page size) when a working pipeline is slow, use optimize-rest-api-performance instead. For inspecting loaded data, fixing column types, or flattening nested structures after a load, use validate-data instead./create-rest-api-pipelineCreate a dlt REST API pipeline. Use for the rest_api core source, or any generic REST/HTTP API source. Not for sql_database or filesystem sources./debug-pipelineDebug and inspect a dlt pipeline after running it. Use after a pipeline run (success or failure) to inspect traces, load packages, schema, data, and diagnose errors like missing credentials or failed load jobs. Also covers pipelines built on a verified source./find-sourceFind a dlt source for a given API or data provider. Use when the user asks about a source, wants to find a connector, or asks to implement a pipeline for a specific data source./new-endpointAdd a new REST API endpoint/resource to an existing dlt pipeline. Use when the user wants to pull additional data from an API that already has a working pipeline./optimize-rest-api-performanceSpeed up a dlt REST API pipeline. Use when a REST/HTTP API pipeline is slow because of many sequential requests, nested child resources, or large responses, and the user wants higher throughput — parallelize resources, use async, tune page size and concurrency. For removing .add_limit(), fixing pagination, first-time incremental/merge setup, or retry/backoff on 429 / rate-limit errors use adjust-endpoint instead.npx claudepluginhub dlt-hub/dlthub-ai-harness --plugin rest-api-pipelineOther plugins' skills for the same job