/labtasker-skill:labtaskerfrom Labtasker Skill
Queues and runs ML inference, evaluation, or experiment tasks with dependencies, routing, progress tracking, and archival. Keeps GPU allocation and cluster management external.
Ships in Labtasker Skill. 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.
Use Labtasker when many independent ML jobs should be distributed across
processes the user already controls, with progress, retries, and small structured
results kept in one place. Keep GPU allocation, process launching, cluster
management, workflow orchestration, and artifact storage outside Labtasker.
Experimental dependencies can gate a Task on successful predecessor IDs;
users own dependency correctness, data transfer, and diagnosis of waiting Tasks.
Prefer the documented public path even when a custom workaround is technically possible. Do not add a Server, shell wrapper, Queue, or compatibility mechanism unless the workload needs it.
Documentation map: https://raw.githubusercontent.com/luocfprime/labtasker/refs/heads/main/docs/llms.txt
Read every reference relevant to the request before proposing commands. Before
the first Labtasker CLI operation in an environment, run the selected
executable's --version. Before the first use of each distinct command path,
run its exact --help (or the narrowest command-group help that exposes the
needed subcommand). Use the same launcher and environment for these checks as
for the real operation (for example, uv run labtasker). Treat the installed
help as authoritative when it differs from this Skill; do not guess an option,
subcommand, default, or output shape from memory.
When the user asks to migrate, convert, or adapt an existing pipeline, first set an internal working preference from the conversation: either lead from their existing project or review a concrete migration design they already proposed. This preference controls the agent's behavior; never name it, present it as a mode, or ask the user to select it.
Do not ask a classification question when the context already answers it. Ask only one or two decision-changing project questions at a time, inspect the current pipeline when available, then present the existing flow, what stays unchanged, what Labtasker coordinates, and what remains externally owned. Read workers-and-workloads.md for the detailed migration interview and mapping rules.
Labtasker requires Python 3.10 or newer. In an ordinary POSIX experiment project, install the complete package:
python -m pip install labtasker
# or in a uv project
uv add labtasker
No MongoDB, configuration file, or TCP port is needed. A default Client selects
exact CWD/.labtasker and connects to its derived Unix socket, but it does not
start a process. Explicitly authorize startup on the first operation:
labtasker --auto-start-local-server queue list
Submit one Task:
labtasker task submit \
--name sample-1 \
--args '{"prediction":"cat","reference":"cat"}' \
--route text-eval
The flag is invocation-scoped and idempotent. Later commands connect without
it while the daemon remains healthy. Use global --labtasker-root PATH or
LABTASKER_ROOT to select another exact root; never search parent or VCS
directories.
Run an existing program once for every compatible Task:
CUDA_VISIBLE_DEVICES=0 labtasker loop --route text-eval -- \
python evaluate.py \
--prediction '%{prediction}' \
--reference '%{reference}'
Start another Worker process on each additional resource already allocated by the user. Each Worker executes one Task at a time and asks for another when it finishes. Labtasker does not select the GPU.
Inspect the recorded state and result:
labtasker task list --status succeeded
labtasker task get t_ABCDEFGHIJKL
With a uv project, run these commands through uv run. Use
labtasker config show to inspect the selected endpoint without starting or
contacting a Server.
Put executable inputs in args, searchable grouping data in metadata, and
compact JSON outputs in result. Save images, videos, checkpoints, trajectories,
and detailed reports outside Labtasker and return their paths, URLs, checksums,
or summaries.
Use progress for one replace-only snapshot of provisional work position,
metrics, or early-stop diagnostics. Keep result for the final successful
output. Progress is not a history series and does not decide or complete the
Task. When a determinate display is useful, use top-level finite numeric
completed and total values with 0 <= completed <= total and total > 0;
all other keys remain workload-defined.
Use a command Worker for an existing executable. Use a Python Worker when a model, dataset, simulator, or evaluator should be initialized once and reused.
cancel, requeue, and delete rather than
patching status.labtasker-server serve --connection socket|http choice; do not infer one.
Prefer direct argv; add a
wrapper only when the workload itself needs shell or multi-step logic.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ml-tasks, task-queue, experiment-management, distributed-jobs
npx claudepluginhub luocfprime/labtasker --plugin labtasker-skillOther plugins' skills for the same job