Skip to content
Back to skills

Managed Jobs

ASecurity

"Launch and debug SkyPilot managed jobs, recovery, queues, logs,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
devopspythonkubernetesapi

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill managed-jobs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Managed Jobs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Managed Jobs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-managed-jobs/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-managed-jobs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: managed-jobs
description: "Launch and debug SkyPilot managed jobs, recovery, queues, logs,
  cancellation, job groups, and pools."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Managed Jobs

Use this sub-skill when the user needs SkyPilot `sky jobs` workflows: production or long-running batch/training jobs, managed spot recovery, job queues/logs/cancel, job groups, job pools, or job recovery tuning.

## Route First

- Use `references/jobs-workflows.md` for launch patterns, queue/log/cancel commands, SDK equivalents, managed pipelines, spot recovery, job groups, and pools.
- Use `references/troubleshooting.md` when a job is stuck, failed, preempted, cancelled, missing logs, confused by job IDs/names, blocked by pools, or running cloud-bound native tests.
- Use `scripts/jobs_command_builder.py --help` to print safe commands for launch, queue, logs, cancel, and pool operations without executing cloud actions.

## Boundaries

- Route detailed YAML schema, `resources`, `file_mounts`, `volumes`, `envs`, and `secrets` syntax to `../task-yaml/SKILL.md`.
- Route provider credentials, unavailable GPUs, Kubernetes context, storage bucket, volume, Slurm, or SSH infrastructure failures to `../infrastructure-storage/SKILL.md`.
- Route SkyServe service deployment and replica operations to `../serving/SKILL.md`; pools here are only managed-job pools.
- Route API server login/version/request mechanics and SDK request lifecycle details to `../sdk-api-server/SKILL.md`.

## Fast Patterns

- Launch from YAML: `sky jobs launch -n <job-name> <task.yaml> -y`.
- Launch a command: `sky jobs launch -n <job-name> --infra <infra> --cpus 2+ "python train.py" -y`.
- Submit and return immediately: add `-d` / `--detach-run`, then inspect with `sky jobs queue` and `sky jobs logs <job-id>`.
- Debug failures: run `sky jobs queue -a`, then `sky jobs logs <job-id> --no-follow` for user logs and `sky jobs logs --controller <job-id> --no-follow` for provisioning/recovery logs.
- Cancel safely: prefer `sky jobs cancel <job-id> -y`; use `sky jobs cancel -n <name> -y` only when the name identifies the active job unambiguously.

## Verification Notes

- Help-only commands such as `sky jobs --help`, `sky jobs launch --help`, and `python sub-skills/managed-jobs/scripts/jobs_command_builder.py --help` are safe local checks.
- Real `sky jobs launch`, pool creation, recovery, and smoke tests require configured cloud/Kubernetes resources and should be treated as cloud-bound unless the user explicitly authorizes them.

Files in this skill

  • SKILL.md2.5 KB
  • references/jobs-workflows.md11.6 KB
  • references/troubleshooting.md8.1 KB
  • scripts/jobs_command_builder.py12.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.