/dlthub-platform:debug-deploymentfrom dlthub-platform
Debugs failed or misbehaving dltHub Platform deployments by inspecting job status, logs, and run history. Useful when runtime jobs fail or produce unexpected results.
Ships in dlthub-platform. 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.
Read when SKILL.md points to them.
Reference: https://dlthub.com/docs/hub/pipeline-operations/monitoring.md (pipeline health, logs, failure diagnosis)
Commands accept job names or selectors (fnmatch patterns). The command catalogue for
everything outside these steps is in cli-reference.md next to this file.
dlthub job list # all jobs
dlthub job list "tag:ingest" # jobs tagged "ingest"
dlthub job info <name> # details for one job
dlthub job runs list [name_or_selector] # runs for matching jobs
dlthub job runs info <name> [run#] # exit status and timing for one run
dlthub job logs <name_or_selector> # latest run
dlthub job runs logs <name> [run#] # specific run
dlthub job logs <name> -f # stream in real-time
The answer is usually in the log. Read it whole once, then work through it:
sources/github.py:42 points at a file in the workspace repo you have checked out, so open it with Read or Grep. The resource definition sits there and declares the cursor path, merge key, selector and write disposition. Read it before naming the fix, so the fix gives the setting and its new value. The field names the records actually carry are not in the file; they are in the dlt trace of the failed run.dlthub job runs list <name_or_selector> shows the runs before and after this one. If they are clean, the failure is a one-off. If you did not look, you do not know.job-resources rule.An agent job's structured output comes back from dlthub job runs result <run id>, and is also written to the end of its run log under a Result banner; cli-reference.md says how to read both.
The job-inspector agent (dlthub/agents/job-inspector/AGENT.md) runs this same method unattended after a job fails, and adds the rules for the classification and evidence it reports and for when to stop investigating and write its output.
dlthub deploy --dry-run # preview manifest reconciliation
dlthub deploy --show-manifest # dump full manifest as YAML
Common causes when the log points at configuration:
pyproject.toml: all packages must be declared, not just installed locally.prod profile: the runtime uses prod, so ask the user to check .dlt/prod.secrets.toml. Never open it yourself.if __name__ == "__main__":: the job does nothing without it.dev_mode=True left in: drops and recreates the dataset on every run.prod profile may point at a different destination than dev.execute={"timeout": "6h"} in the decorator.dlthub job cancel <name> # cancel active runs for one job
dlthub job cancel "tag:backfill" # cancel by selector
dlthub job runs cancel <name> [run#] # cancel a specific run
dlthub run <name_or_file> # deploy the change and run the job
dlthub run <name_or_file> --refresh # deploy and run as a refresh run: reload the data
Use a refresh run only when wrong data was already loaded and must be reloaded, and only after the user confirms: it drops or truncates production data. It reloads the pipelines only if the job sets auto_refresh_pipeline_mode (see the deploy-workspace skill, "Refresh runs"). Otherwise it changes nothing for them.
To run a single command under a given profile:
dlthub local run my_pipeline.py --profile prod # run under prod profile
WORKSPACE__PROFILE=prod uv run dlthub local pipeline info my_pipeline # env var for dlthub commands
The MCP server sees the change only after the production profile is pinned.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/deploy-workspaceDeploy dlt pipelines to dltHub Platform. Use when the user says "deploy to dltHub", "launch on dltHub", "run on dltHub", "schedule pipeline", or wants to deploy a pipeline or notebook to dltHub./prepare-deploymentPrepare production credentials and destinations for dltHub Platform. Use when setting up prod profile secrets, splitting dev/prod credentials, or configuring a production destination like Motherduck./setup-runtimeVerify dlthub workspace is ready for dltHub Platform. Use when user wants to deploy for the first time, or when another skill reports missing prerequisites like .workspace file or dlt[hub] dependency.npx claudepluginhub dlt-hub/dlthub-ai-harness --plugin dlthub-platformOther plugins' skills for the same job