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-run
Install
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add YaoApp/yao --skill yao-job -a cursor -y
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.
Questions
How do I install yao-job?
Download tools/skills/yao-job/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
Where does yao-job live?
The publisher keeps it at https://github.com/YaoApp/yao.
Which agents can use yao-job?
Claude, Cursor, and Codex can read a SKILL.md you add from the publisher's repository.
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.
name: yao-job
description: "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 immediately.
job_id
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
Param
Required
Default
Description
command
yes
—
Shell command to execute
description
yes
—
Concise 5–10 word summary
background
no
false
true returns immediately; false blocks until done
args
no
—
Additional arguments (rarely needed; prefer inline in command)
working_dir
no
workspace
Working directory
max_duration_ms
no
—
Kill the job after this many milliseconds
yao_job_list
Param
Default
Description
status
all
Filter: running, stopping, completed, failed, cancelled, all
limit
20
Max items per page
offset
0
Skip first N items
yao_job_output
Param
Required
Description
job_id
yes
Job or daemon ID
offset
no
Byte offset to read from (0 = beginning)
Output read behavior:
Returns all available content from offset in a single read (no limit parameter).
Ring buffer caps at 10 MB; older content beyond this is discarded.
When content has been discarded, lossy=true in the response.
size = total bytes the process has produced; offset = earliest readable byte position.
Example: a 20 MB output has size=20000000, offset≈10000000, lossy=true — the first ~10 MB was discarded.
Use background true (not bare --background) for commands expected to run longer than 30 seconds.
Always provide a description.
Foreground is default — the result and output come back in one call.
Monitor background output with yao_job_output to check progress.
Use yao_job_wait to block until a background job completes rather than polling.
BackgroundJobReceipt
When a background job finishes, the system delivers a <BackgroundJobReceipt> XML message. Upon receiving it:
Review the status, exit_code, cause, and output_tail.
If status=failed, investigate and take corrective action.
If status=completed, acknowledge and continue the task.
How do I install yao-job?
Download tools/skills/yao-job/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
Where does yao-job live?
The publisher keeps it at https://github.com/YaoApp/yao.
Which agents can use yao-job?
Claude, Cursor, and Codex can read a SKILL.md you add from the publisher's repository.