Skills

Yao Job

Background job management, start, monitor, wait, stop long-running commands.

Install

npx skills add YaoApp/yao --skill yao-job -g -a claude-code -y
Repository
YaoApp/yao8.2k
Category
Engineering
Updated
17d ago
License
See repository
Context cost
Lightabout 976 tokens
Runs scripts
No, instructions only

What it does

Background job management, start, monitor, wait, stop long-running commands. ALWAYS invoke this skill when the user asks to run background tasks, check job status, read job output, or manage long-running commands.

Background Jobs

Tools

  • yao_job_start, Start a command. background false (default) blocks until done and returns output_tail; background true returns job_id immediately.
  • yao_job_list, List jobs. Supports --status filter and --limit/--offset pagination.
  • yao_job_get, Get full details for a job (or daemon by ID).
  • yao_job_output, Read process output (works for both job and daemon IDs).
  • yao_job_wait, Block until a background job finishes or timeout expires. Jobs only, not daemons.
  • yao_job_stop, Kill a running job.

Parameters

yao_job_start

ParamRequiredDefaultDescription
commandyes,Shell command to execute
descriptionyes,Concise 5, 10 word summary
backgroundnofalsetrue returns immediately; false blocks until done
argsno,Additional arguments (rarely needed; prefer inline in command)
working_dirnoworkspaceWorking directory
max_duration_msno,Kill the job after this many milliseconds

yao_job_list

ParamDefaultDescription
statusallFilter: running, stopping, completed, failed, cancelled, all
limit20Max items per page
offset0Skip first N items

yao_job_output

ParamRequiredDescription
job_idyesJob or daemon ID
offsetnoByte offset to read from (0 = beginning)
Read the whole SKILL.md on GitHub

More in Engineering