executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
workload-managementOperate Lepton endpoint, pod, job, Ray cluster, fine-tune, template, node, log, event, and workload status workflows from safe CLI and SDK plans.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task involves Lepton compute workloads: endpoint/deployment serving, dev pods, batch jobs, Ray clusters, fine-tuning jobs, templates, resource shapes, node capacity, workload logs, events, status checks, restarts, stops, starts, and removal plans.
Do not run live cloud mutations unless the user has explicitly asked for them and the root or cli-operations safety route has handled confirmation. This sub-skill supplies workload-specific commands and validation checks; generic workspace authentication belongs to workspace-and-auth, and generic command confirmation/output handling belongs to cli-operations.
lep endpoint/legacy lep deployment and lep pod create/list/get/status/update/stop/restart/remove/log/SSH flows.lep.| User intent | Best workload route | First read-only command |
|---|---|---|
| Serve an HTTP model, embedding service, or custom container continuously | Endpoint | lep endpoint list then lep endpoint status -n NAME |
| Open a personal interactive machine, notebook, SSH shell, or IDE target | Dev pod | lep pod list --detail then lep pod get -n NAME |
| Run training, evaluation, processing, or sweeps to completion | Batch job | lep job list then lep job get --id JOB_ID |
| Run distributed Python/Ray pipelines with a head and worker groups | Ray cluster | lep raycluster list then lep raycluster get -n NAME |
| Launch guided model fine-tuning from a trainer/template schema | Fine-tune job | lep finetune list then lep finetune get -i JOB_ID |
| Find valid shapes/capacity before creating workloads | Nodes/shapes | `lep node resource-shape --purpose deployment |
| Diagnose workload output or failures | Logs/events | lep log get ..., lep endpoint events -n NAME, or lep job events -i JOB_ID |
lep command, expected side effects, required workspace context, and whether it may create cost, stop compute, delete resources, or replace fields.lep endpoint create|list|get|status|update|stop|restart|remove|log|events; the hidden legacy alias lep deployment ... maps to the same command family for compatibility, but prefer lep endpoint in new plans.lep pod create|list|get|ssh|stop|remove; use lep pod list --detail for SSH/TCP/JupyterLab columns and lep pod get -n NAME for JSON details.lep job create|list|get|stop|start|remove|remove-all|stop-all|clone|log|replicas|nodes|events.lep raycluster create|list|get|update|start|stop|remove|submit-job|list-jobs|stop-job.lep finetune list|get|create|delete|list-trainers; create dynamically injects trainer flags from a trainer template unless --file mode is used.lep template list, hidden lep template get, lep node list, lep node list-nodes, lep node list-reservations, lep node resource-shape, lep node storage.lep log get --endpoint NAME ..., lep log get --job JOB_ID ..., or lep log get --job-name NAME ...; use direct lep endpoint log / lep job log for replica live-stream style commands.For scripts that need API objects instead of shell commands, use APIClient() after workspace context is configured by the auth route. The workload attributes are:
client.deployment: endpoint/deployment API, dispatching to the new endpoint implementation when enabled.client.pod: dev pod API, dispatching to the new devpod implementation when enabled.client.job, client.raycluster, client.finetune, client.template, client.shapes, client.nodegroup, and client.log for the matching resource families.Keep SDK examples read-only unless the user has explicitly requested a mutation. Use .safe_json(...) or model serialization for reviewable payloads before create/update/delete.
storage-secrets-ingress; this sub-skill only notes workload flags that reference mounts, secrets, tokens, or IP allowlists.workspace-and-auth.cli-operations; apply them before running any create/update/stop/start/remove/delete command.