async-task-runner

Manage background execution of long-running ML and AI workloads with process tracking and logging.

Updated May 5, 2026
One-click install
npx skills add https://github.com/yanochka11/harness_bro --skill async-task-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: async-task-runner
Source: https://github.com/yanochka11/harness_bro/tree/main/.claude/skills/curated/async-task-runner
Command: npx skills add https://github.com/yanochka11/harness_bro --skill async-task-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents unreliable background execution of long-running ML and AI workloads by providing a consistent way to launch, track, monitor, and stop processes.

Core Features & Use Cases

  • Background Task Management: Launch training, evaluation, and batch jobs with persistent logs and PID tracking.
  • Monitoring Helpers: Inspect running processes, follow logs, and check resource usage during long executions.
  • Safe Process Control: Stop jobs gracefully before using forceful termination methods, reducing the risk of corrupted states.
  • Use Case: Run a machine learning training experiment in the background while keeping logs and process identifiers available for later monitoring.

Quick Start

Use the async-task-runner skill to launch my long-running training job in the background with logging and monitoring support.

Frequently Asked Questions about async-task-runner

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

FAQPage Schema
How do I run machine learning training jobs in the background without losing logs?

Background execution of machine learning training jobs requires persistent logging and PID file tracking to prevent data loss. Launching tasks with process identifiers ensures you can monitor compute-intensive workloads and safely recover execution state later.

What is the best way to monitor long-running AI workloads during asynchronous execution?

Monitoring long-running AI workloads involves inspecting active processes, following persistent logs, and checking resource usage. Process monitoring commands allow you to track training progress and system health throughout asynchronous execution without blocking your terminal.

Do I need nohup or tmux to manage background tasks for batch processing?

Reliable background tasks for batch processing require nohup or tmux workflows to maintain execution after terminal disconnect. These tools work with PID files and persistent logs to ensure compute-intensive jobs continue running safely in the background.

How do I safely terminate a background training process without corrupting my model?

Safe termination of a background training process requires stopping jobs gracefully before attempting forceful methods. This approach reduces the risk of corrupted states in machine learning workloads by allowing processes to close logs and release resources properly.

Can I track multiple background evaluation tasks using PID management?

PID management allows you to track multiple background evaluation tasks by assigning each process a unique identifier. Persistent logs and PID files keep execution states separate, making it possible to monitor and control individual compute-intensive jobs concurrently.

Why does my background task disappear after closing the terminal?

Background tasks disappear after terminal closure when not launched with persistence mechanisms like nohup or tmux. Without PID files and persistent logs, compute-intensive processes terminate unexpectedly, making reliable asynchronous execution impossible for long-running workloads.