Tao Launch Workflow 标志

Tao Launch Workflow

组织
NVIDIA-TAO
tao-launch-workflow

所有 TAO 工作流或操作启动前的强制检查关卡和四动词执行契约。在任何执行平台上启动可能产生副作用的操作之前,必须先调用此技能——包括 AutoML、训练、评估、推理、导出、TensorRT 引擎生成或 DEFT/应用工作流。涵盖平台选择、凭据、镜像确认、数据集信息收集、预检、启动审核、作业记录、监控以及失败/重试分类。触发短语包括“训练这个模型”“运行 AutoML”“在 SLURM/docker/k8s/brev/virtualenv 上启动”“评估我的检查点”“启动 TAO 作业”。

Add to TypingMind

概览

发布者NVIDIA-TAO
代码仓库tao-skill-bank
技能名称tao-launch-workflow
星标数
98
复刻数
28
附带文件
9
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 9 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 NVIDIA-TAO 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Tao Launch Workflow AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/NVIDIA-TAO/tao-skill-bank/tree/main/skills/core/tao-launch-workflow
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVIDIA-TAO/tao-skill-bank.git /tmp/tao-skill-bank
mkdir -p .claude/skills
cp -r /tmp/tao-skill-bank/skills/core/tao-launch-workflow .claude/skills/tao-launch-workflow
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Tao Launch Workflow,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Tao Launch Workflow。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Tao Launch Workflow 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

TAO Workflow Launch Intake

Standalone install? If this session was not initialized by the TAO skill bank plugin, run the tao-setup skill first (host preflight, credentials, cross-skill discovery).

Use this skill before launching any TAO workflow or model action.

For direct invocation, run the complete-checkout check in references/platform-preflight.md before Step 0 or any helper. Individual skill installs lack shared scripts; stop if the check fails. Use its verified TAO_SKILL_BANK_PATH for every helper.

Step 0 — Execution Mode: Card Packs (check first)

Before running a multi-stage application workflow inside this conversation, check whether a compiled card pack ships next to the application skill:

bash
ls "${TAO_SKILL_BANK_PATH}/skills/applications/<skill>/cards/" 2>/dev/null
  • Pack exists → prefer the token-efficient path: the pack's driver.sh runs the workflow as fresh per-stage sessions (measured 74-91% cheaper than in-conversation execution, and the only mode validated on small models). Read the pack's README.md for required env, complete THIS gate's items 1-9 for the launch review, then start the pack driver detached instead of executing stages in this conversation. Monitor via the driver log and the run dir's progress marks.
  • No pack → execute normally through this gate. If the workflow will be run repeatedly, suggest compiling a pack once with a strong model — see skills/core/tao-token-efficient-execution (authoring prompt + contracts).

The card path replaces only in-conversation stage execution; it never skips this gate. A pack driver launch is side-effecting work and requires the same confirmed launch review.

Quick Start

Run the platform helper, ask for platform and monitoring preferences, then run the selected platform detail helper before asking for credentials.

Non-Negotiable Launch Gate

This gate is model-agnostic. Apply it to every TAO model, data action, and application workflow before launching side-effecting work.

Do not create runner scripts, launch scripts, compatibility shims, workspace folders, state files, logs, or dependency-install side effects until the launch preflight passes.

Preflight passes only after all of these are true:

  1. The execution platform is selected from the packaged platform helper.
  2. Platform credentials and required credential groups are satisfied.
  3. Model-specific credentials are satisfied.
  4. The default container image is resolved from packaged model/action metadata, shown to the user, and either confirmed or replaced by an explicit image=<override>.
  5. The platform access check succeeds from the launch host.
  6. Dataset inputs are mapped to concrete spec keys and verified from the selected platform's point of view.
  7. Required compute shape fields from the model/workflow skill are known.
  8. Required local tools for the selected data/platform path are present, or the user approved installing the smallest missing dependency and preflight was rerun.
  9. A launch review with image, platform, datasets, compute shape, expected runtime, and any generated/default configuration changes has been shown and confirmed by the user. For AutoML, the launch review must explicitly state recommendation count/budget, max concurrency, algorithm, metric, direction, and searched parameters/ranges even when defaults are used.

If any item is missing, ask for the missing input and stop before generating artifacts. This applies to AutoML, normal train/eval/infer/export/TRT, and DEFT/application workflows.

When preflight work clears a blocker, keep track of the original user request. After the fix, rerun the relevant preflight and continue toward that request; do not stop at "blocker fixed" unless the user explicitly asked only for the repair.

The Four-Verb Execution Contract

Once the launch gate passes and the producing model/data skill has authored the spec-bundle (schema: tao-artifacts), execution is exactly four verbs. Every platform skill implements them over its native CLI — the bank ships five (tao-run-on-docker, -slurm, -kubernetes, -brev, -virtualenv), and any externally installed platform skill joins the same contract (§ External platform skills); nothing else is platform-specific. $BANK = ${TAO_SKILL_BANK_PATH}.

  • submit(spec-bundle) — resolve the data question first: if the inputs are already readable from the compute frame (a local path, an existing mount — tier A in place, the common local and the only air-gapped case), there is nothing to stage — record tier A and move on. Invoke tao-data-io only on a frame mismatch (remote URIs, cross-host paths, PTM fetches, tier-C result uploads). Then lint the assembled command with redact_secrets.py lint and open the record and launch, in that order:
    bash
    BANK="$TAO_SKILL_BANK_PATH"
    if ! JOB_ID=$("$BANK/scripts/tao_job_record.py" open --platform <p> --image <img> \
      --network-arch <arch> --action <action> --storage-tier <A|B|C> --results-root <root>); then
      echo "TAO job-record creation failed; do not submit" >&2; exit 1
    fi
    [ -n "$JOB_ID" ] || { echo "TAO job-record returned no ID; do not submit" >&2; exit 1; }
    # <native launch, naming the backend object after $JOB_ID>
    "$BANK/scripts/tao_job_record.py" mark "$JOB_ID" --state RUNNING --backend-ref <ref>
  • status(id) — poll the native backend, map to the fixed vocabulary PENDING RUNNING COMPLETE ERROR CANCELED UNKNOWN; the native sub-state (ImagePullBackOff, PENDING-resources, slurm COMPLETING) rides in the transition message. Never read "what's running" from records — poll the backend.
  • logs(id, tail) — native log fetch.
  • cancel(id) — native cancel + orphan teardown, then mark <id> --state CANCELED.

Record-then-launch is the ordering invariant. open mints the id and binds results_dir before any launch, and the id it returns is the only handle the launch can use — a submit that skipped the gate or the open has no id, so it cannot launch. This is what keeps a run recoverable across a context break: results_dir is recorded before the backend object (which K8s TTL or docker --rm may later delete) ever exists.

When the producing spec-bundle declares execution, preserve it as model-owned action semantics across every application that reuses that model skill. The selected platform consumes the lifecycle; an application must not copy its commands into a private launcher. Platform-independent pre/post commands, runtime attestations, helper dependencies, distributed intent, and completion evidence belong in the producer's spec-bundle. Scheduler syntax, mounts, secrets, timeouts, ranks, and child-exit preservation remain platform-owned.

External platform skills

No registry, no interface file: a platform skill declares the contract by documenting the four verbs, and you verify by reading before first use. A skill with only native primitives may be used by inferring the mapping (bank invariants still bind; the mapping goes in the launch review; persist what worked). Rules and the no-equivalent hard floor: references/external-platforms.md.

Failure analysis & retry

When status reaches ERROR, read the log tail and classify before any retry — infrastructure faults are retriable (new record, --retry-of, up to 10), program faults never are. Full criteria, the two judgment calls (device-side asserts, downstream tracebacks), and the post-turn poller rules: references/failure-analysis-retry.md.

Initial Questions

After the user confirms what they want to do, ask which execution platform should run it. Discover the choices from the platform skills installed in this session — you already see them by name and description (tao-run-on-docker, -slurm, -kubernetes, -brev, -virtualenv, plus any externally installed one such as the official brev-cli skill). There is no central platform registry to read. If your runtime surfaces only the core router skills, list the bank's platform skills by reading skills/platform/tao-run-on-*/SKILL.md frontmatter (name + one-line description) under ${TAO_SKILL_BANK_PATH}.

Then ask:

  • Which supported platform should run this workflow?
  • Should I monitor the run in this chat? Monitoring means I keep polling the backend/job logs after launch and report progress until the job finishes, fails, or you ask me to stop, even if the job stays queued for hours or days. If disabled, I launch the job, give you the job id/log path, and stop polling. Default: monitor in chat.
  • How often should I post status? Default: every 5 minutes. Use 1-2 minutes for smoke tests, 5 minutes for normal training, or 10-15 minutes for long runs.

Use long_running_enabled=true and status_interval_minutes=5 when the user accepts the defaults.

When monitoring is enabled, do not send a final summary just because several polls have elapsed or the job is still PENDING. Keep the turn attached and emit status every status_interval_minutes until a terminal state or explicit user stop/detach request. If the runtime environment cannot keep the chat turn open, say that clearly and leave a durable watcher/log path; do not imply that chat updates will continue after the turn ends.

Final-answer rule: a final response ends chat-side monitoring. While long_running_enabled=true and any launched job is non-terminal, status messages must be sent as in-progress updates and the agent must continue polling. Only send a final response when the workflow reaches terminal state, the user explicitly asks to detach/stop monitoring, or the runtime genuinely cannot keep the turn open; in that last case, say it is a runtime limitation and provide the exact durable status command/log path.

Missing-Input Prompt Shape

When intake inputs are missing, ask with the exact prompt shape in references/intake-prompts.md (one consolidated ask, concrete examples, no invented defaults).

Implementation Backend Resolution

After model ownership resolution, inspect the selected model's references/skill_info.yaml. If it declares backend_contracts, resolve the implementation before selecting an image or authoring a spec. An explicit backend wins when it supports the model/action; otherwise apply the packaged backend_selection policy and show its rationale. The selected backend metadata in skill_info.yaml owns its image. The referenced backend contract owns the entrypoint, configuration schema, data mappings, topology, checkpoint format, output layout, and status behavior. Never use a legacy top-level image fallback for a multi-backend frontend, and never treat one backend as a version of another.

Pass action, backend, and workload hints to the model resolver. When metadata declares a backend planner, use it. The shared Cosmos frontend, for example, uses scripts/cosmos_workflow.py plan to generate backend-native TOML and a launch sequence.

Container Image Confirmation

Before creating specs, runner scripts, workspaces, logs, state files, or submitting a job, resolve the image for the selected model/action:

bash
"$TAO_SKILL_BANK_PATH/scripts/resolve_tao_image.py" \
  --skill-bank "$TAO_SKILL_BANK_PATH" \
  --model <network> --action <action> --backend <auto-or-explicit> \
  --workload <workload-hint> --format text

For manual inspection, read the packaged $TAO_SKILL_BANK_PATH/skills/models/<network>/references/skill_info.yaml. If the helper is unavailable, stop before launch. Resolve image fields in this order:

  1. backend_contracts.<selected-backend>.container_image, when present
  2. actions.<action>.container_image
  3. actions.<action>.image
  4. top-level container_image
  5. top-level image

Show the exact image and ask:

text
Container image for <network>/<action>:
default=<resolved image>

Use this image, or provide image=<override>?

If the user accepts, pass the resolved image as the job image. If the user overrides, require a non-empty image reference and pass that value instead. Do not silently launch on the default image. This confirmation applies to training, AutoML recommendations, evaluation, inference, export, TensorRT engine generation, and application workflows that submit TAO containers.

Credential Filtering

After the user chooses a platform, get the credential list for only that platform from the chosen skill itself — its ## Credentials section and, if present, references/skill_info.yaml (required_credentials, credential_groups, optional_credentials). The launch preflight (check_tao_launch_preflight.py) reads that same per-skill skill_info.yaml to enforce the credential gate; a credential-free platform (e.g. Docker) may ship only prose, in which case rely on its Preflight section.

Ask only for credentials that platform actually needs, plus model-specific credentials from the selected model skill. Do not ask for Brev credentials on SLURM, Kubernetes, or Docker. Do not ask for SLURM credentials on Brev, Kubernetes, or Docker. Ask S3 credentials only when the selected platform and the dataset/result URIs require s3:// access. Credentials may already be present in the process environment or in a user-approved secret env file such as ~/.tao/secrets.env or ~/.config/tao/.env; source such files only when needed and never print, grep, cat, paste, or log their contents. Verify only variable presence.

For initial launch intake, ask for required credentials and required credential groups only. Treat the helper's optional credentials/settings section as reference material; do not request those values unless their only_when condition applies, the selected workflow cannot proceed without them, or the user asks to customize that setting.

When the helper output includes a "Required credential groups" section, satisfy one credential from each group before proceeding. Explain each requested value using the helper's description and "How to get it" text.

For SLURM, user-facing prompts should ask for SSH_KEY_PATH first. Mention SSH_AUTH_SOCK only if the user says they already use an SSH agent.

Dependency Remediation

If a required CLI/library is missing, say exactly what is missing and why it is needed, then ask before installing. Examples:

  • S3 dataset or results path -> require an S3-capable client such as aws.
  • Local Docker path -> require the Docker CLI and the configured Docker network.

After user approval and installation, rerun the same preflight. Do not create runner files or launch jobs between the failed check and the rerun.

Runtime downloads

Follow references/runtime-downloads.md for runtime-download rules. Local checkpoints do not imply cached packages.

Dataset Intake

Accept dataset inputs in either mode:

  • Dataset root mode: the user gives train/eval/calibration roots, and the model skill maps required files by convention. Example for Cosmos-RL train: custom.train_dataset.annotation_path=<root>/annotations.json and custom.train_dataset.media_path=<root>.
  • Direct spec mode: the user gives exact spec-key paths when annotations, media archives, videos, or image folders live in different places. Preserve those keys directly, for example custom.train_dataset.annotation_path=<TRAIN_ANNOTATION_PATH> and custom.train_dataset.media_path=<TRAIN_MEDIA_PATH>.

Ask for dataset examples that match the selected platform:

  • SLURM: explicit shared cluster paths supplied by the user and verified from the allocated compute node; the skill has no site-specific storage default.
  • Brev, Kubernetes: usually s3://bucket/path/train and s3://bucket/path/eval unless the platform profile mounts shared storage.
  • Local Docker: local paths visible to the Docker host, such as /data/tao/<model>/train, or direct spec paths visible inside the planned container mount.
  • Remote Docker: absolute paths visible on the remote Docker host named by DOCKER_HOST, not paths on the local agent machine.

Do not assume "dataset root" is the only acceptable input. When direct spec paths are supplied, validate the exact spec paths rather than appending default filenames.

Platform Preflight

Run the selected platform's preflight checks before any launch artifact is created — prefer the packaged helper scripts/check_tao_launch_preflight.py (--platform <p> --container-image <img> --path <label>=<path> ...). It verifies credentials, client tools, platform/cluster/object-store access, dataset paths from the compute frame, GPU/runtime health, and image-architecture fit; treat any failure as blocking. Never use --skip-platform-access for a real launch.

See references/platform-preflight.md for the full per-platform detail (SLURM SSH/key setup + resource defaults, docker/remote-docker GPU + bind-mount checks, Brev/Kubernetes API + object-store checks, annotation content-field checks, and data staging).

Runtime And Configuration Review

Before any side-effecting launch, show a concise review:

  • selected platform and exact container image
  • GPU ids/count and nodes, including any GPUs avoided because they are already occupied
  • dataset roots or direct spec paths, with sample counts when available
  • important model/workflow overrides that differ from template defaults
  • estimated runtime and the assumptions behind it
  • monitoring interval and whether chat-side monitoring will stay attached
  • implementation backend and selection rationale when the model exposes more than one backend

For AutoML, also show the algorithm, metric/direction, recommendation budget, search parameters, ranges, and generated/default recommendation details as described in skills/applications/tao-run-automl/SKILL.md. Ask for confirmation after this review. If the user supplied a time limit, flag any plan that exceeds it and offer concrete reductions before launch.

Never end a successful launch review with only “nothing was launched.” End with one direct action prompt, for example: Ready to materialize the sealed plan and submit the job. Reply "launch", "go ahead", or "yes" to proceed. The next unambiguous affirmative chat message authorizes materialization, job-record creation, submission, and the previously reviewed monitoring mode; execute immediately without another intake or confirmation round.

Structured Training Metrics

When the model contract declares a structured status path or metric extractor, poll it alongside the native backend. Scheduler/container completion is not a successful training result by itself: require the model's terminal structured success record, collect concrete checkpoint events, and return final train loss plus every epoch validation-complete loss. Do not promote validation heartbeat/batch metrics or a train-loss line to epoch validation loss. If the process fails before its native logger exists, invoke the packaged status finalizer or report the real process exit failure; use raw log parsing only as a fallback.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Tao Launch Workflow AI 技能有什么作用?

所有 TAO 工作流或操作启动前的强制检查关卡和四动词执行契约。在任何执行平台上启动可能产生副作用的操作之前,必须先调用此技能——包括 AutoML、训练、评估、推理、导出、TensorRT 引擎生成或 DEFT/应用工作流。涵盖平台选择、凭据、镜像确认、数据集信息收集、预检、启动审核、作业记录、监控以及失败/重试分类。触发短语包括“训练这个模型”“运行 AutoML”“在 SLURM/docker/k8s/brev/virtualenv 上启动”“评估我的检查点”“启动 TAO 作业”。

为什么在 TypingMind 中使用 Tao Launch Workflow?

因为您只需安装一次,就能搭配任何模型使用。Tao Launch Workflow 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Tao Launch Workflow?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/NVIDIA-TAO/tao-skill-bank/tree/main/skills/core/tao-launch-workflow。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Tao Launch Workflow?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Tao Launch Workflow 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Tao Launch Workflow 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Tao Launch Workflow AI 技能免费吗?

是的。NVIDIA-TAO 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇