- name
SKILL.md
Die Skill-Datei bleibt im Repository des Herausgebers.
Fügen Sie den kopierten Befehl in ein Terminal ein. Er installiert diese SKILL.md in dem jeweiligen Agenten.
npx skills add YaoApp/yao --skill yao-job -a cursor -yFügen Sie den kopierten Befehl in ein Terminal ein. Er installiert diese SKILL.md in dem jeweiligen Agenten.
npx skills add YaoApp/yao --skill yao-job -a claude-code -yFügen Sie den kopierten Befehl in ein Terminal ein. Er installiert diese SKILL.md in dem jeweiligen Agenten.
npx skills add YaoApp/yao --skill yao-job -a codex -yFügen Sie den kopierten Befehl in ein Terminal ein. Er installiert diese SKILL.md in dem jeweiligen Agenten.
npx skills add YaoApp/yao --skill yao-job -a grok -ySenden Sie die kopierte Nachricht in einem Grok Bot-Chat. Der Bot ruft diese SKILL.md von GitHub ab und fügt sie den Skills hinzu, die alle Ihre Bots gemeinsam nutzen.
Install this skill: https://github.com/YaoApp/yao/tree/HEAD/tools/skills/yao-jobVom Herausgeber
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.Output read behavior:
offset in a single read (no limit parameter).lossy=true in the response.size = total bytes the process has produced; offset = earliest readable byte position.size=20000000, offset≈10000000, lossy=true — the first ~10 MB was discarded.All responses are JSON. Job objects contain:
id, kind, session_id, status, description, background,
command, command_argv, command_line, pid, pgid, user,
started_at, finished_at, duration_ms, exit_code, signal, detail, seq
Returns the job object plus output_tail (≤4KB tail of stdout+stderr):
{ "id": "job_...", "status": "completed", "exit_code": 0, ..., "output_tail": "hello world\n" }
{ "jobs": [...], "total": 130, "offset": 0, "limit": 20, "has_more": true }
{ "job": { ... }, "timed_out": false }
{ "job": { ... }, "detail": "already in terminal state (failed); no action taken" }
Structured JSON with code and message:
{ "error": { "code": "invalid_argument", "message": "job_id is required" } }
Codes: invalid_argument, not_found, internal.
background true (not bare --background) for commands expected to run longer than 30 seconds.description.yao_job_output to check progress.yao_job_wait to block until a background job completes rather than polling.When a background job finishes, the system delivers a <BackgroundJobReceipt> XML message. Upon receiving it:
status, exit_code, cause, and output_tail.status=failed, investigate and take corrective action.status=completed, acknowledge and continue the task.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
---name: yao-jobdescription: Background job management — start, monitor, wait, stop long-running commands. ALWAYS invoke this skill when…---# tools/skills/yao-job/SKILL.mdÜbersicht
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.
FAQ
Laden Sie tools/skills/yao-job/SKILL.md vom Herausgeber herunter oder kopieren Sie den Pfad und öffnen Sie das Repository. PlugMCP listet den Skill und hostet die Datei nicht.
Der Herausgeber pflegt es unter https://github.com/YaoApp/yao.
Claude, Cursor, Codex und Grok Build können eine SKILL.md lesen, die Sie aus dem Repository des Herausgebers hinzufügen. Grok Bot installiert sie, wenn Sie den Link zum GitHub-Ordner des Skills in einem Chat senden.