用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dlt-hub/dlthub-start --skill init-dlthub-workspace命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
The entry point for building anything with dlthub. Use this skill to route the user to the right workflow toolkit and install it on demand. MUST use when the user asks 'what can you do', 'what can I build', 'what are toolkits', 'how do I build a pipeline', 'I want to pull data from a REST API', 'ingest from a SQL database', 'load CSVs from S3', 'make reports / dashboards', 'transform / model my data', 'add data quality checks', 'how do I deploy / schedule a pipeline', 'I'm new to dlthub', 'where do I start', or seems unsure what to do next after setup. Also use whenever the user expresses a data-engineering goal but no matching workflow toolkit is installed yet — this skill installs it on demand. Do NOT use when the toolkit matching the user's intent is already installed — go straight to its entry skill instead; only route/install when the matching toolkit is missing. Do NOT use when a specific task is already in progress (debugging a pipeline, validating data, adding endpoints) and its toolkit is installed.…
ALWAYS read and follow this skill before acting. One-shot workflow
Project-wide rules for the dlthub-start repo. ALWAYS read before modifying any file in this codebase.
基于 SOC 职业分类
正在显示 SKILL.md
| name | init-dlthub-workspace |
| description | ALWAYS read and follow this skill before acting. setup |
On new session verify: is uv available? is Python running in a uv venv? To confirm, run uv run dlthub --version? If any uv commands have already run in the agent session, skip this. However, if anything is missing, set it up in place:
uvx dlthub-init@latest. It is non-interactive and AI-aware, so an agent can run it directly. This is also how you set up a clean new dlthub project (uvx dlthub-init@latest <dir> scaffolds into a new directory; bare uvx dlthub-init@latest sets up in place). It scaffolds a dlthub workspace with AI support, collision-safe, in one step. Re-check uv run dlthub ai status when done.dlthub-init is unavailable or errors) — run uvx --from "dlt[hub]" dlthub init (equivalent to uv init + uv add "dlt[hub]" + uv run dlthub init), then uv run dlthub ai init. Re-check uv run dlthub ai status when done.Onboarding exception — only when the user asks to be onboarded or to be taught how to use dltHub (e.g. "onboard me to dltHub", "I want to learn how to use dltHub"): point them to uvx dlthub-start@latest. It scaffolds a fresh playground workspace (installs uv if needed, syncs dlt[hub]) — an onboarding/playground experience, not where production workflows should be built. Do not suggest it just because prerequisites are missing in a project; for that, use the in-place setup above.
uvx dlthub-start yourself, and do NOT use ! mode for it. It must be run by a human because it requires interaction for authentication; it only works in a real terminal — ! mode does not work for it. Ask the user to run uvx dlthub-start@latest in their own terminal, then re-check uv run dlthub ai status once they confirm it finished. (For agent-driven setup of a clean new project, use uvx dlthub-init@latest above instead.)dlthub uses cwd to find .dlt location ie. uv run python pipelines/my_pipeline.py.uv run to run anything Python--non-interactive when running dlthub commands (e.g. uv run dlthub --non-interactive pipeline init ...). This prevents prompts that block execution.dlt-workspace-mcp mcp server over using cli for data inspection, secrets handling and pipeline debugging. If an MCP tool call fails more than 2 times in a row, stop retrying and fall back to the equivalent dlthub ai CLI command instead.uv run dlthub ai status when session startsdlthub local for scripts, pipelines, jobs present in local environment/machine. this is similar to former dlt commanddlthub for pipelines, jobs, logs, runs deployed on dltHub platformsecrets.toml.gh auth token, env | grep KEY, printenv SECRET, cat credentials.json, aws configure get). If a secret appears in conversation context it is compromised — do not copy or use it.dlt-workspace-mcp secrets tools (secrets_list, secrets_view_redacted, secrets_update_fragment) when credentials need to be configured, checked, or debugged. Fall back to dlthub ai secrets CLI if MCP is not connected. See setup-secrets skill for the full workflow.toml.load(), Path().read_text(), open(), or any other file access on *.secrets.toml. Use dlt.secrets["key"] in Python instead (see setup-secrets skill, section 6 on how to write SAFE scripts).dlthub-router skill may be helpfuluv run dlthub --non-interactive ai toolkit install <toolkit-name> first, then invoke the entry skill. Do NOT run web research, manual code edits but use the entry skill.dlthub ai status output!This index is authoritative for shipped toolkits. Match the user's intent, run the install command, then hand over to the entry skill. No MCP call needed for these.
intent → toolkit | install | entry skill
ingest from REST / HTTP APIs — production-grade pipeline → rest-api-pipeline | dlthub --non-interactive ai toolkit install rest-api-pipeline | find-source
ingest from SQL databases (Postgres, MySQL, Snowflake…) → sql-database-pipeline | dlthub --non-interactive ai toolkit install sql-database-pipeline | find-source
load files (CSV/Parquet/JSONL) from disk/S3/GCS/Azure/SFTP → filesystem-pipeline | dlthub --non-interactive ai toolkit install filesystem-pipeline | create-filesystem-pipeline
explore & profile loaded data, build charts & dashboards → data-exploration | dlthub --non-interactive ai toolkit install data-exploration | explore-data
transform & model loaded data (dimensional / Kimball) → transformations | dlthub --non-interactive ai toolkit install transformations | annotate-sources
add data quality checks (column expectations, validation rules) → data-quality | dlthub --non-interactive ai toolkit install data-quality | setup-data-quality
deploy / schedule pipelines on the dltHub platform → dlthub-platform | dlthub --non-interactive ai toolkit install dlthub-platform | setup-runtime
guided end-to-end tour, ingest to dashboard (uses the real toolkits) → quick-start | dlthub --non-interactive ai toolkit install quick-start | quick-start
test/try dlthub end-to-end — minimal pipeline + educational test deploy, NOT production → one-shot | dlthub --non-interactive ai toolkit install one-shot | deploy-run-sample-pipeline
build and deploy a minimal custom REST API pipeline after uvx dlthub-init setup → dlthub-init-skills | dlthub --non-interactive ai toolkit install dlthub-init-skills | deploy-minimal-ingestion-pipeline
optimize / speed up a slow or memory-heavy pipeline — parallelism, workers, batching → performance | dlthub --non-interactive ai toolkit install performance | optimize-performance
one-shot vs rest-api-pipeline: one-shot is for testing / trying dlthub / onboarding / a quick demo — a minimal single-endpoint, row-limited pipeline on local DuckDB plus an educational test deploy. Educational examples only, NOT production-grade. For a real or production REST pipeline (auth, incremental, multiple endpoints, production deploy), use rest-api-pipeline. quick-start is the guided tour that walks the real toolkits end-to-end.uv run dlthub ai status only if the output is unclear or the MCP server hasn't been verified this session), then continue in the same session — load the new toolkit's entry skill + workflow rule via toolkit_info (or read the installed files) and proceed. No restart needed (toolkits reuse the already-running dlt-workspace-mcp); don't lose the user's context.dlthub-router skill wraps this flow and is the fallback for needs not covered above (it uses live list_toolkits to discover newer toolkits).