labtasker

Generate Labtasker Bash and Python scripts for ML task scheduling.

33|5|Updated Nov 1, 2024
One-click install
npx skills add https://github.com/luocfprime/labtasker --skill labtasker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: labtasker
Source: https://github.com/luocfprime/labtasker/tree/main/docs/docs/guide
Command: npx skills add https://github.com/luocfprime/labtasker --skill labtasker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the lack of built-in Labtasker knowledge in AI coding agents, removing the need for agents to manually reference external documentation to help users write valid task submission, scheduling, and management scripts for machine learning experiments.

Core Features & Use Cases

  • Dual API Script Generation: Teaches agents to create both Bash CLI and Python API scripts for Labtasker task operations, matching user preferred workflows.
  • End-to-End Task Management: Enables agents to implement workflows for submitting, filtering, updating, deleting, and monitoring experiment tasks, including handling task failures and resuming interrupted runs.
  • Event-Driven Automation: Guides agents to write scripts for real-time event listening, such as sending email notifications when tasks fail.
  • Use Case: An ML engineer can ask their AI agent to write a script that submits 500 image training tasks with custom metadata, filters for tasks that failed due to out-of-memory errors, and automatically resubmits them with adjusted batch sizes, no external documentation lookup required.

Quick Start

Instruct your AI coding agent to generate a Labtasker Python script that submits experiment tasks with custom arguments and metadata, then filters for failed tasks to resubmit with modified parameters.

Frequently Asked Questions about labtasker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write scripts for ML experiment task scheduling and failure recovery?

ML experiment task scheduling and failure recovery scripts can be generated by AI agents using Labtasker. Agents produce valid task submission, loop execution, and resumable run code without external documentation.

Can AI agents generate both Bash CLI and Python API scripts for task orchestration?

AI agents can generate both Bash CLI and Python API scripts for task orchestration. This dual API script generation matches preferred workflows for submitting, filtering, and monitoring machine learning tasks.

How do I filter failed ML tasks and automatically resubmit them with adjusted parameters?

To filter failed ML tasks and resubmit with adjusted parameters, agents write scripts that filter by failure metadata like out-of-memory errors. Agents then automatically resubmit matched tasks with modified batch sizes.

How does event-driven automation work for real-time task status monitoring?

Event-driven automation for real-time task status monitoring works by listening for task events. Agents write scripts to trigger actions like sending email notifications automatically when experiment tasks fail.

Do I need external documentation to implement resumable runs for parallel task execution?

You do not need external documentation to implement resumable runs for parallel task execution. The skill provides built-in knowledge for agents to generate working task management and resumption code directly.

What is the best way to manage large-scale parallel task execution for ML experiments?

Managing large-scale parallel task execution for ML experiments is best handled by submitting tasks with custom metadata. Agents generate orchestration code for submitting, updating, and monitoring hundreds of tasks efficiently.