preflight-check

Assess resource headroom and guardrails before launching heavy tasks.

37|7|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/archibate/dotfiles-claude --skill preflight-check-archibate
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: preflight-check
Source: https://github.com/archibate/dotfiles-claude/tree/main/skills/preflight-check
Command: npx skills add https://github.com/archibate/dotfiles-claude --skill preflight-check-archibate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Resource-aware pre-launch checklist for long-running or heavy tasks — prevents OOM, wasted compute, and daytime disruption. TRIGGER before: any pueue add of compute work, builds/benchmarks/renders/training jobs, large-scale scrapes or scripted browser runs, spawning 2+ parallel subagents, full-repo test runs, or any Bash call with run_in_background=true whose runtime is uncertain.

Core Features & Use Cases

  • Cost Lookup Table: maintenance of task resource costs and dependencies to decide safe launch conditions.
  • Pre-launch checks: probe unknown tasks, assess data read/write conflicts, and confirm server headroom using live metrics.
  • Guardrails and re-scheduling: enforce conservative parallelism, monitoring, and OOM recovery workflows.

Quick Start

Before launching a heavy task, run the preflight-check workflow to evaluate resource headroom and guardrails.

Frequently Asked Questions about preflight-check

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

FAQPage Schema
How do I prevent OOM when running heavy parallel tasks?▼

To prevent OOM when running heavy parallel tasks, you can use a preflight check to evaluate server resource headroom and enforce conservative parallelism before launching the jobs.

What is a preflight check for long-running batch jobs?▼

A preflight check for long-running batch jobs is a resource risk assessment process that probes data race conditions, confirms server headroom using live metrics, and validates safe launch conditions.

How do I check server resource headroom before starting a build or training run?▼

You can check server resource headroom before starting a build or training run by consulting a cost lookup table and probing live metrics to ensure sufficient resources and guardrails are active.

Does pueue task scheduling support guardrails for resource management?▼

Yes, pueue task scheduling can be augmented with guardrails for resource management by running a preflight check to assess task costs, enforce conservative parallelism, and establish OOM recovery workflows.

What are the limitations of relying on preflight checks for task scheduling?▼

Preflight checks cannot guarantee absolute safety for task scheduling if live metrics fluctuate unexpectedly during execution, meaning OOM recovery workflows and conservative parallelism must still be actively enforced.

Can I use preflight checks for multi-step pipelines and scripted browser runs?▼

Yes, you can use preflight checks for multi-step pipelines and scripted browser runs to assess data read/write conflicts, perform smoke testing, and confirm resource headroom before execution.