[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BK9Z48A3R4PXZ8EFPTCQ2F":3,"skill-same:01M7BK9Z48A3R4PXZ8EFPTCQ2F":105},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M7BK9Z48A3R4PXZ8EFPTCQ2F","tao-run-platform",null,"TAO Execution SDK for submitting and monitoring GPU training jobs on supported platforms (Lepton, Brev, SLURM,","YYC-Cube\u002FYYC3-AI-Agent-Archive","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79K9J2WD44BBY4662XKNZRB",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tao-run-platform\ndescription: TAO Execution SDK for submitting and monitoring GPU training jobs on supported platforms (Lepton, Brev, SLURM,\ncategory: development-code\nversion: 1.0.0\n  local Docker, Kubernetes). Use when the user wants to run TAO jobs through the SDK, get job tracking, S3 I\u002FO wrapping,\n  multi-node distributed training, or platform-specific features that docker-run can't provide. Trigger phrases include\n  \"use the TAO SDK\", \"call tao_sdk\", \"AutoMLRunner\", \"ActionWorkflow\", \"Job handles\", \"S3 I\u002FO wrapping\", \"TAO platform run\".\nlicense: Apache-2.0\ncompatibility: Requires Python 3.10+ and the nvidia-tao-sdk package (pip install nvidia-tao-sdk[all]).\nmetadata:\n  author: NVIDIA Corporation\n  version: \"0.2.0\"\nallowed-tools: Read Bash\ntags:\n- platform\n- tao\n- sdk\n---\n\n# TAO Execution SDK\n\nThe SDK is the **optional** Python layer for users who need job handles, S3 I\u002FO wrapping, or platform-specific features (Lepton multi-node, SLURM\u002FLustre queues, Kubernetes Jobs, local Docker debugging, Brev instance reuse). Most TAO skills run with just `docker run` and don't need it. Reach for the SDK when:\n\n- You want a `Job` handle to poll status and stream logs over time.\n- The platform is API-only (Lepton has no docker-run equivalent).\n- You need S3-aware input download \u002F output upload baked into the entrypoint.\n- You're chaining multiple jobs and want persisted state.\n\n## Preflight\n\nInstall `nvidia-tao-sdk[all]` before using this platform — the `[all]` extra pulls in every platform-specific dependency (Lepton, Brev, S3 utilities, etc.):\n\n```bash\npython -c \"import tao_sdk\" 2>\u002Fdev\u002Fnull || {\n  echo \"MISSING: nvidia-tao-sdk not installed. Run:\"\n  echo \"  pip install nvidia-tao-sdk[all]\"\n  exit 1\n}\n```\n\nThe package index is environment-specific — the runner\u002Fcontainer is expected to have a working `pip` configuration (e.g. `~\u002F.pip\u002Fpip.conf`, `PIP_INDEX_URL`, `PIP_EXTRA_INDEX_URL`, or proxy). If the install fails for index\u002Fnetwork reasons, that's a runner setup issue; this skill stays agnostic to the registry.\n\nIf missing, the agent prompts the user to authorize the install via Bash, then re-runs the preflight. Never auto-install silently.\n\n## Setup\n\nCredentials come from **environment variables** — sourced from `~\u002F.config\u002Ftao\u002F.env` (auto-loaded by the skill bank's SessionStart hook).\n\n```python\nfrom tao_sdk.platforms.lepton import LeptonSDK   # DGX Cloud\nfrom tao_sdk.platforms.brev   import BrevSDK     # Brev GPU instances\n\nsdk = LeptonSDK()    # reads LEPTON_WORKSPACE_ID, LEPTON_AUTH_TOKEN\n# or\nsdk = BrevSDK()      # reads BREV_API_TOKEN (optional — falls back to brev login)\n```\n\nBoth SDKs validate credentials lazily on first use and raise `CredentialError` with a clear message if a required env var is missing. Required env vars:\n\n| Platform | Required | Optional |\n|---|---|---|\n| Lepton | `LEPTON_WORKSPACE_ID`, `LEPTON_AUTH_TOKEN` | — |\n| Brev | — (manual `brev login` works) | `BREV_API_TOKEN` |\n| S3 I\u002FO (any platform) | `S3_BUCKET_NAME`, `ACCESS_KEY`, `SECRET_KEY` | `S3_ENDPOINT_URL`, `CLOUD_REGION` |\n| Container env | `NGC_KEY` | `HF_TOKEN` |\n\nThe agent never reads credential values — it only checks presence with `[ -n \"$VAR_NAME\" ]`.\n\n## Workflow Launch Intake\n\nFor any TAO workflow or action launch, first confirm the user goal. Then ask\nfor platform and monitoring preferences before credentials or launch details.\nGenerate the supported platform choices from the packaged helper, not by\nscanning platform docs or folders:\n\n```bash\n${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external}\u002Fscripts\u002Flist_tao_platforms.py \\\n  --skill-bank ${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external} --format text\n```\n\nAsk:\n\n1. Which supported platform should run this workflow?\n2. Should long-running monitoring stay enabled? Default: enabled. This means\n   the agent remains attached and posts status until terminal state, including\n   long `PENDING` queue waits.\n3. How many minutes between status updates? Default: 5 minutes.\n\nAfter the model\u002Faction are known, resolve the default container image from the\npackaged metadata and ask the user to confirm it or provide `image=\u003Coverride>`\nbefore creating runner files:\n\n```bash\n${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external}\u002Fscripts\u002Fresolve_tao_image.py \\\n  --skill-bank ${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external} \\\n  --model \u003Cnetwork_arch> --action \u003Caction> --format text\n```\n\nFor train-capable model workflows, inspect model-level AutoML metadata before\ncreating a plain training job:\n\n```bash\n${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external}\u002Fscripts\u002Flist_tao_models.py \\\n  --skill-bank ${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external} \\\n  --scope automl --format json\n```\n\nIf the selected model has `automl_enabled: true` and a valid train schema,\nroute training through `skills\u002Fapplications\u002Ftao-run-automl` by default. A workflow should\nonly bypass AutoML when its run settings include `automl_policy: off`, the user\nexplicitly asks for a plain run, or the model metadata says AutoML is enabled\nbut the train schema is not packaged yet.\n\nAfter the platform is selected, get the credential filter:\n\n```bash\n${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external}\u002Fscripts\u002Flist_tao_platforms.py \\\n  --skill-bank ${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external} \\\n  --platform \u003Cplatform> --format text\n```\n\nAsk only for credentials returned for the selected platform. For example, SLURM\nneeds `SLURM_USER` and `SLURM_HOSTNAME`; it does not need Lepton credentials.\nKubernetes and local Docker do not need Lepton or SLURM credentials. Ask storage\ncredentials such as S3 keys only when the selected platform and the data\u002Fresult\nURIs require them.\n\n## Core API\n\nAll platform SDKs implement the same core shape:\n\n```python\nsdk.create_job(image, command, gpu_count=1, env_vars=None, inputs=None, outputs=None, **kwargs) -> Job\nsdk.get_job_status(job_id) -> JobStatus\nsdk.get_job_logs(job_id, tail=None) -> str\nsdk.cancel_job(job_id) -> bool\nsdk.get_failure_analysis(job_id) -> dict | None\nsdk.get_job_results_dir(job_id) -> str\nsdk.check_path(remote_path) -> bool\nsdk.list_path(remote_path) -> list[str]\n```\n\nLepton-only:\n- `sdk.get_job_replicas(job_id)` — replica-level diagnostics for stuck-pending jobs.\n\nBrev-only:\n- `sdk.delete_instance(instance_id)` — clean up an ephemeral instance.\n- `sdk.list_instances()` — list active instances.\n\n## Submitting a Job\n\nThe agent always **constructs the container command via `build_entrypoint`** before calling `create_job`. The agent reads the action's schema from `skill_info.yaml` (`command`, `config_format`, `inputs`, `outputs`, `upload_excludes`) and passes those fields as kwargs. `build_entrypoint` bakes the in-container `script_runner` runtime (inlined as a base64 heredoc) and the CLI invocation that, at runtime, downloads declared inputs, writes the spec file at `{config_path}` with remote URIs rewritten to local paths, runs the user command, and uploads outputs. The platform SDK's `create_job` runs the resulting command **as-is** — no implicit wrapping.\n\n`build_entrypoint` infers the mode (`config` \u002F `args` \u002F `passthrough`) from what you pass — you never pass `mode` explicitly. See [`references\u002Fjob-construction.md`](references\u002Fjob-construction.md) for the full entrypoint contract, the spec\u002Fargs construction strategy per action `mode`, the mode-inference table, and `resolve_container_image()`. See [`references\u002Foutputs.md`](references\u002Foutputs.md) for where outputs land (the runtime destination tables and per-platform injection policy) and the critical \"spec is nested dicts, not flat dotted keys\" rule. See [`references\u002Fexamples.md`](references\u002Fexamples.md) for complete spec-driven and path-keyed `build_entrypoint` + `create_job` examples.\n\n## Monitoring\n\n```python\nstatus = sdk.get_job_status(job.id)\nprint(status.status)   # Pending, Running, Complete, Error, Canceled\nprint(status.message)  # platform-specific detail\n\nlogs = sdk.get_job_logs(job.id, tail=200)\nprint(logs)\n```\n\nFor stuck-Pending Lepton jobs, replica diagnostics reveal the cause (image pull, scheduling, mount errors):\n\n```python\nfor r in sdk.get_job_replicas(job.id):\n    issue = r[\"status\"].get(\"readiness_issue\")\n    if issue:\n        print(issue[\"reason\"], issue[\"message\"])\n        # e.g. \"InProgress\" \u002F \"Pulling image\"  (normal for big images)\n        #      \"Failed\"     \u002F \"ImagePullBackOff\" (NGC_KEY problem)\n        #      \"ConfigError\" \u002F \"Mount point not found\" (bad node)\n```\n\nOn failure, `get_failure_analysis()` classifies the root cause:\n\n```python\nanalysis = sdk.get_failure_analysis(job.id)\nif analysis:\n    print(analysis[\"err_class\"])   # ERR_PROGRAM, ERR_INFRA, etc.\n    print(analysis[\"suggestion\"])  # human-readable fix\n    for event in analysis.get(\"job_failure_by_node_event\", []):\n        print(event[\"node_event_name\"], event[\"message\"])  # OOM, GPU error, etc.\n```\n\n## Polling pattern\n\nFor interactive runs where the user wants to watch:\n\n```python\nimport time\nstatus_interval_minutes = status_interval_minutes or 5\nwhile True:\n    status = sdk.get_job_status(job.id)\n    if status.status in (\"Complete\", \"Error\", \"Canceled\"):\n        break\n    print(f\"  {status.status}\")\n    time.sleep(status_interval_minutes * 60)\n\nif status.status == \"Error\":\n    print(sdk.get_job_logs(job.id, tail=100))\n    print(sdk.get_failure_analysis(job.id))\n```\n\nWith long-running monitoring enabled, do not stop after 30 minutes or after a\nfew unchanged polls. Keep emitting updates every `status_interval_minutes`\nuntil the job finishes, fails, is canceled, or the user asks to detach\u002Fstop.\nIf the chat\u002Fruntime cannot remain open that long, say so explicitly and provide\nthe durable workflow\u002Flog path for manual status refresh.\n\nDo not use a final response for non-terminal monitored jobs. Finalizing the\nturn detaches the chat watcher. Keep non-terminal status messages in progress\nupdates and continue polling; only finalize at terminal state, explicit user\ndetach\u002Fstop, or a real runtime limit that prevents further polling.\n\nFor background runs, persist `job.id` and the `state_file` path, then re-attach later by constructing the same SDK and calling `get_job_status(job_id)` — job state is read from the on-disk store.\n\n## Orchestration patterns\n\nMulti-step workflows, parallel sweeps, and run-folder durability via\n`ActionWorkflow` live in\n[`references\u002Forchestration-patterns.md`](references\u002Forchestration-patterns.md).\nRead it before chaining `create_job` calls, sweeping a parameter, or\npersisting run state across context breaks.\n\n## Dataset utilities\n\nWhen the skill's documented filenames don't match the user's layout, list the dataset to confirm:\n\n```python\nassert sdk.check_path(\"s3:\u002F\u002Fmy-bucket\u002Fcoco\u002F\")\nfiles = sdk.list_path(\"s3:\u002F\u002Fmy-bucket\u002Fcoco\u002Ftrain\u002F\")\n# Use the actual paths to set spec fields.\n```\n\nFor S3 paths, strip trailing slashes when concatenating to avoid `\u002F\u002F`:\n\n```python\nbase = dataset_uri.rstrip(\"\u002F\")\nspecs[\"dataset\"][\"train_csv\"] = f\"{base}\u002Ftrain.csv\"   # nested — see \"spec is nested dicts\"\n```\n\n## Platform-specific notes\n\nEach backend (Lepton, Brev, SLURM, Kubernetes, local Docker) has its own import\npath, storage model, distributed-training options, credential scope, and\n`create_job` kwargs. See\n[`references\u002Fplatform-notes.md`](references\u002Fplatform-notes.md) for the\nper-platform details before generating or launching runner artifacts for a\ngiven backend.\n\n## Error patterns\n\nSDK error → root cause → fix mappings are in\n[`references\u002Ferror-patterns.md`](references\u002Ferror-patterns.md). Read when\nyou hit a `CredentialError`, image-pull failure, stuck-Pending job, or\nsimilar — the entries map exception text to the underlying cause.\n\n## What the SDK does NOT do\n\nScope guardrails (no skill-reading, no HPO, no spec opinions, no\nauto-platform-selection, no workflow orchestration) live in\n[`references\u002Fscope.md`](references\u002Fscope.md).\n","# TAO Execution SDK\n\nThe SDK is the **optional** Python layer for users who need job handles, S3 I\u002FO wrapping, or platform-specific features (Lepton multi-node, SLURM\u002FLustre queues, Kubernetes Jobs, local Docker debugging, Brev instance reuse). Most TAO skills run with just `docker run` and don't need it. Reach for the SDK when:\n\n- You want a `Job` handle to poll status and stream logs over time.\n- The platform is API-only (Lepton has no docker-run equivalent).\n- You need S3-aware input download \u002F output upload baked into the entrypoint.\n- You're chaining multiple jobs and want persisted state.\n\n## Preflight\n\nInstall `nvidia-tao-sdk[all]` before using this platform — the `[all]` extra pulls in every platform-specific dependency (Lepton, Brev, S3 utilities, etc.):\n\n```bash\npython -c \"import tao_sdk\" 2>\u002Fdev\u002Fnull || {\n  echo \"MISSING: nvidia-tao-sdk not installed. Run:\"\n  echo \"  pip install nvidia-tao-sdk[all]\"\n  exit 1\n}\n```\n\nThe package index is environment-specific — the runner\u002Fcontainer is expected to have a working `pip` configuration (e.g. `~\u002F.pip\u002Fpip.conf`, `PIP_INDEX_URL`, `PIP_EXTRA_INDEX_URL`, or proxy). If the install fails for index\u002Fnetwork reasons, that's a runner setup issue; this skill stays agnostic to the registry.\n\nIf missing, the agent prompts the user to authorize the install via Bash, then re-runs the preflight. Never auto-install silently.\n\n## Setup\n\nCredentials come from **environment variables** — sourced from `~\u002F.config\u002Ftao\u002F.env` (auto-loaded by the skill bank's SessionStart hook).\n\n```python\nfrom tao_sdk.platforms.lepton import LeptonSDK   # DGX Cloud\nfrom tao_sdk.platforms.brev   import BrevSDK     # Brev GPU instances\n\nsdk = LeptonSDK()    # reads LEPTON_WORKSPACE_ID, LEPTON_AUTH_TOKEN\n# or\nsdk = BrevSDK()      # reads BREV_API_TOKEN (optional — falls back to brev login)\n```\n\nBoth SDKs validate credentials lazily on first use and raise `CredentialError` with a clear message if a required env var is missing. Required env vars:\n\n| Platform | Required | Optional |\n|---|---|---|\n| Lepton | `LEPTON_WORKSPACE_ID`, `LEPTON_AUTH_TOKEN` | — |\n| Brev | — (manual `brev login` works) | `BREV_API_TOKEN` |\n| S3 I\u002FO (any platform) | `S3_BUCKET_NAME`, `ACCESS_KEY`, `SECRET_KEY` | `S3_ENDPOINT_URL`, `CLOUD_REGION` |\n| Container env | `NGC_KEY` | `HF_TOKEN` |\n\nThe agent never reads credential values — it only checks presence with `[ -n \"$VAR_NAME\" ]`.\n\n## Workflow Launch Intake\n\nFor any TAO workflow or action launch, first confirm the user goal. Then ask\nfor platform and monitoring preferences before credentials or launch details.\nGenerate the supported platform choices from the packaged helper, not by\nscanning platform docs or folders:\n\n```bash\n${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external}\u002Fscripts\u002Flist_tao_platforms.py \\\n  --skill-bank ${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external} --format text\n```\n\nAsk:\n\n1. Which supported platform should run this workflow?\n2. Should long-running monitoring stay enabled? Default: enabled. This means\n   the agent remains attached and posts status until terminal state, including\n   long `PENDING` queue waits.\n3. How many minutes between status updates? Default: 5 minutes.\n\nAfter the model\u002Faction are known, resolve the default container image from the\npackaged metadata and ask the user to confirm it or provide `image=\u003Coverride>`\nbefore creating runner files:\n\n```bash\n${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external}\u002Fscripts\u002Fresolve_tao_image.py \\\n  --skill-bank ${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external} \\\n  --model \u003Cnetwork_arch> --action \u003Caction> --format text\n```\n\nFor train-capable model workflows, inspect model-level AutoML metadata before\ncreating a plain training job:\n\n```bash\n${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external}\u002Fscripts\u002Flist_tao_models.py \\\n  --skill-bank ${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external} \\\n  --scope automl --format json\n```\n\nIf the selected model has `automl_enabled: true` and a valid train schema,\nroute training through `skills\u002Fapplications\u002Ftao-run-automl` by default. A workflow should\nonly bypass AutoML when its run settings include `automl_policy: off`, the user\nexplicitly asks for a plain run, or the model metadata says AutoML is enabled\nbut the train schema is not packaged yet.\n\nAfter the platform is selected, get the credential filter:\n\n```bash\n${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external}\u002Fscripts\u002Flist_tao_platforms.py \\\n  --skill-bank ${TAO_SKILL_BANK_PATH:-~\u002Ftao-skills-external} \\\n  --platform \u003Cplatform> --format text\n```\n\nAsk only for credentials returned for the selected platform. For example, SLURM\nneeds `SLURM_USER` and `SLURM_HOSTNAME`; it does not need Lepton credentials.\nKubernetes and local Docker do not need Lepton or SLURM credentials. Ask storage\ncredentials such as S3 keys only when the selected platform and the data\u002Fresult\nURIs require them.\n\n## Core API\n\nAll platform SDKs implement the same core shape:\n\n```python\nsdk.create_job(image, command, gpu_count=1, env_vars=None, inputs=None, outputs=None, **kwargs) -> Job\nsdk.get_job_status(job_id) -> JobStatus\nsdk.get_job_logs(job_id, tail=None) -> str\nsdk.cancel_job(job_id) -> bool\nsdk.get_failure_analysis(job_id) -> dict | None\nsdk.get_job_results_dir(job_id) -> str\nsdk.check_path(remote_path) -> bool\nsdk.list_path(remote_path) -> list[str]\n```\n\nLepton-only:\n- `sdk.get_job_replicas(job_id)` — replica-level diagnostics for stuck-pending jobs.\n\nBrev-only:\n- `sdk.delete_instance(instance_id)` — clean up an ephemeral instance.\n- `sdk.list_instances()` — list active instances.\n\n## Submitting a Job\n\nThe agent always **constructs the container command via `build_entrypoint`** before calling `create_job`. The agent reads the action's schema from `skill_info.yaml` (`command`, `config_format`, `inputs`, `outputs`, `upload_excludes`) and passes those fields as kwargs. `build_entrypoint` bakes the in-container `script_runner` runtime (inlined as a base64 heredoc) and the CLI invocation that, at runtime, downloads declared inputs, writes the spec file at `{config_path}` with remote URIs rewritten to local paths, runs the user command, and uploads outputs. The platform SDK's `create_job` runs the resulting command **as-is** — no implicit wrapping.\n\n`build_entrypoint` infers the mode (`config` \u002F `args` \u002F `passthrough`) from what you pass — you never pass `mode` explicitly. See [`references\u002Fjob-construction.md`](references\u002Fjob-construction.md) for the full entrypoint contract, the spec\u002Fargs construction strategy per action `mode`, the mode-inference table, and `resolve_container_image()`. See [`references\u002Foutputs.md`](references\u002Foutputs.md) for where outputs land (the runtime destination tables and per-platform injection policy) and the critical \"spec is nested dicts, not flat dotted keys\" rule. See [`references\u002Fexamples.md`](references\u002Fexamples.md) for complete spec-driven and path-keyed `build_entrypoint` + `create_job` examples.\n\n## Monitoring\n\n```python\nstatus = sdk.get_job_status(job.id)\nprint(status.status)   # Pending, Running, Complete, Error, Canceled\nprint(status.message)  # platform-specific detail\n\nlogs = sdk.get_job_logs(job.id, tail=200)\nprint(logs)\n```\n\nFor stuck-Pending Lepton jobs, replica diagnostics reveal the cause (image pull, scheduling, mount errors):\n\n```python\nfor r in sdk.get_job_replicas(job.id):\n    issue = r[\"status\"].get(\"readiness_issue\")\n    if issue:\n        print(issue[\"reason\"], issue[\"message\"])\n        # e.g. \"InProgress\" \u002F \"Pulling image\"  (normal for big images)\n        #      \"Failed\"     \u002F \"ImagePullBackOff\" (NGC_KEY problem)\n        #      \"ConfigError\" \u002F \"Mount point not found\" (bad node)\n```\n\nOn failure, `get_failure_analysis()` classifies the root cause:\n\n```python\nanalysis = sdk.get_failure_analysis(job.id)\nif analysis:\n    print(analysis[\"err_class\"])   # ERR_PROGRAM, ERR_INFRA, etc.\n    print(analysis[\"suggestion\"])  # human-readable fix\n    for event in analysis.get(\"job_failure_by_node_event\", []):\n        print(event[\"node_event_name\"], event[\"message\"])  # OOM, GPU error, etc.\n```\n\n## Polling pattern\n\nFor interactive runs where the user wants to watch:\n\n```python\nimport time\nstatus_interval_minutes = status_interval_minutes or 5\nwhile True:\n    status = sdk.get_job_status(job.id)\n    if status.status in (\"Complete\", \"Error\", \"Canceled\"):\n        break\n    print(f\"  {status.status}\")\n    time.sleep(status_interval_minutes * 60)\n\nif status.status == \"Error\":\n    print(sdk.get_job_logs(job.id, tail=100))\n    print(sdk.get_failure_analysis(job.id))\n```\n\nWith long-running monitoring enabled, do not stop after 30 minutes or after a\nfew unchanged polls. Keep emitting updates every `status_interval_minutes`\nuntil the job finishes, fails, is canceled, or the user asks to detach\u002Fstop.\nIf the chat\u002Fruntime cannot remain open that long, say so explicitly and provide\nthe durable workflow\u002Flog path for manual status refresh.\n\nDo not use a final response for non-terminal monitored jobs. Finalizing the\nturn detaches the chat watcher. Keep non-terminal status messages in progress\nupdates and continue polling; only finalize at terminal state, explicit user\ndetach\u002Fstop, or a real runtime limit that prevents further polling.\n\nFor background runs, persist `job.id` and the `state_file` path, then re-attach later by constructing the same SDK and calling `get_job_status(job_id)` — job state is read from the on-disk store.\n\n## Orchestration patterns\n\nMulti-step workflows, parallel sweeps, and run-folder durability via\n`ActionWorkflow` live in\n[`references\u002Forchestration-patterns.md`](references\u002Forchestration-patterns.md).\nRead it before chaining `create_job` calls, sweeping a parameter, or\npersisting run state across context breaks.\n\n## Dataset utilities\n\nWhen the skill's documented filenames don't match the user's layout, list the dataset to confirm:\n\n```python\nassert sdk.check_path(\"s3:\u002F\u002Fmy-bucket\u002Fcoco\u002F\")\nfiles = sdk.list_path(\"s3:\u002F\u002Fmy-bucket\u002Fcoco\u002Ftrain\u002F\")\n# Use the actual paths to set spec fields.\n```\n\nFor S3 paths, strip trailing slashes when concatenating to avoid `\u002F\u002F`:\n\n```python\nbase = dataset_uri.rstrip(\"\u002F\")\nspecs[\"dataset\"][\"train_csv\"] = f\"{base}\u002Ftrain.csv\"   # nested — see \"spec is nested dicts\"\n```\n\n## Platform-specific notes\n\nEach backend (Lepton, Brev, SLURM, Kubernetes, local Docker) has its own import\npath, storage model, distributed-training options, credential scope, and\n`create_job` kwargs. See\n[`references\u002Fplatform-notes.md`](references\u002Fplatform-notes.md) for the\nper-platform details before generating or launching runner artifacts for a\ngiven backend.\n\n## Error patterns\n\nSDK error → root cause → fix mappings are in\n[`references\u002Ferror-patterns.md`](references\u002Ferror-patterns.md). Read when\nyou hit a `CredentialError`, image-pull failure, stuck-Pending job, or\nsimilar — the entries map exception text to the underlying cause.\n\n## What the SDK does NOT do\n\nScope guardrails (no skill-reading, no HPO, no spec opinions, no\nauto-platform-selection, no workflow orchestration) live in\n[`references\u002Fscope.md`](references\u002Fscope.md).\n",{"name":5,"tags":24,"license":15,"version":28,"category":29,"metadata":30,"description":7,"allowed-tools":33,"compatibility":34},[25,26,27],"platform","tao","sdk","1.0.0 local Docker, Kubernetes). Use when the user wants to run TAO jobs through the SDK, get job tracking, S3 I\u002FO wrapping, multi-node distributed training, or platform-specific features that docker-run can't provide. Trigger phrases include \"use the TAO SDK\", \"call tao_sdk\", \"AutoMLRunner\", \"ActionWorkflow\", \"Job handles\", \"S3 I\u002FO wrapping\", \"TAO platform run\".","development-code",{"author":31,"version":32},"NVIDIA Corporation","0.2.0","Read Bash","Requires Python 3.10+ and the nvidia-tao-sdk package (pip install nvidia-tao-sdk[all]).","main","d591030ef9fb1bbcebed3454aa5c2dcb8d608f69","skills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive","https:\u002F\u002Fai-agent.yyc3.vip\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-13 22:26:14",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add YYC-Cube\u002FYYC3-AI-Agent-Archive --skill tao-run-platform",{"tool":49,"command":50},"bunx","bunx skills add YYC-Cube\u002FYYC3-AI-Agent-Archive --skill tao-run-platform",{"tool":52,"command":53},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-AI-Agent-Archive --skill tao-run-platform","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002FSKILL.md",true,[57,63,67,71,75,79,83,87,91,95,99],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"BENCHMARK.md","REFERENCE","参考文档",4260,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002FBENCHMARK.md",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},"evals\u002Fevals.json",792,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002Fevals\u002Fevals.json",{"path":68,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Ferror-patterns.md",1590,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002Freferences\u002Ferror-patterns.md",{"path":72,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fexamples.md",3779,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002Freferences\u002Fexamples.md",{"path":76,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fjob-construction.md",4542,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002Freferences\u002Fjob-construction.md",{"path":80,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Forchestration-patterns.md",2666,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002Freferences\u002Forchestration-patterns.md",{"path":84,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Foutputs.md",2656,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002Freferences\u002Foutputs.md",{"path":88,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fplatform-notes.md",2751,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002Freferences\u002Fplatform-notes.md",{"path":92,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fscope.md",1300,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002Freferences\u002Fscope.md",{"path":96,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":97,"sourceHtmlUrl":98},"skill-card.md",4007,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002Fskill-card.md",{"path":100,"resourceType":101,"resourceTypeDesc":102,"sizeBytes":103,"sourceHtmlUrl":104},"skill.oms.sig","OTHER","其他",6257,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Fskills-hub\u002Fai-ml\u002Fnvidia-skills\u002Fskills\u002Ftao-run-platform\u002Fskill.oms.sig",[106,114,121,128,135,143],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7BTB92RE8MT5YE706QBNDTQ","yingmi-skill","当用户需要查询基金、策略、公告、财经资讯，做资产配置、组合诊断、风险回测、现金流分析，或生成图表、PDF 时，优先使用本 Skill 获取真实数据与可执行能力。","MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fyingmi-skill\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7BT7ZYR091HPJYEFNWVTEJJ","web-access","所有联网操作必须通过此 skill 处理，包括：搜索、网页抓取、登录后操作、网络交互等。","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fweb-access\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M7BT4NKS0DNP8A53M1BGGZR2","tencentmap-map-assistant","腾讯位置服务·地图助手 Skill，一句自然语言调用腾讯地图全套能力，无需开发者账号、开箱即用。提供 AI 旅游攻略、地点搜索（含评分\u002F人均\u002F营业时间）、关键词提示、路线规划（驾车\u002F步行\u002F公交\u002F骑行）、地址解析与逆解析、行政区划、IP 定位、距离计算、天气查询，并可将行程或多 POI 渲染成网页地图。涉及找地点、规划路线、旅游行程、查天气、坐标转换等出行场景时使用。","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Ftencentmap-map-assistant\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":19},"01M7BSWKV1T5XYYRGV4W4JP88C","skill-scanner","Scan any agent skill for security risks before you install or use it. Powered by Tencent Zhuque Lab A.I.G (AI-Infra-Guard). 100% local static analysis — no file contents or credentials leave your device. Compatible with CodeBuddy, Cursor, Windsurf, Claude Code, OpenClaw and more. Triggers on: 这个 skill 安全吗, skill 安全扫描, 检查 skill 安全, audit skill, scan skill, check skill safety, analyze skill, inspect skill, verify skill, skill security, skill supply chain. Do NOT trigger for general agent usage, full system health checks, project debugging, or normal development.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fskill-scanner\u002FSKILL.md",[],[],{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":139,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":19},"01M7BSWGTCFW7F123S4BM4XY6W","skill-creator","Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends agent capabilities with specialized knowledge, workflows, or tool integrations.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":110,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":19},"01M7BSVV4DH8JK2ZMQSCW25VCD","shader-dev","Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-AI-Agent-Archive\u002Fblob\u002Fmain\u002Ftools-hub\u002Fcode-ide\u002Fskills-marketplace\u002Fskills\u002Fshader-dev\u002FSKILL.md",[],[]]