- name
SKILL.md
O arquivo da skill permanece no repositório do publicador.
Cole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add YaoApp/yao --skill yao-job -a cursor -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add YaoApp/yao --skill yao-job -a claude-code -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add YaoApp/yao --skill yao-job -a codex -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add YaoApp/yao --skill yao-job -a grok -yEnvie a mensagem copiada em um chat do Grok Bot. O Bot busca este SKILL.md no GitHub e o adiciona às skills que todos os seus Bots compartilham.
Install this skill: https://github.com/YaoApp/yao/tree/HEAD/tools/skills/yao-jobDo publicador
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.mdVisão geral
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.
Perguntas frequentes
Baixe tools/skills/yao-job/SKILL.md do publicador ou copie o caminho e abra o repositório. O PlugMCP lista a skill e não hospeda o arquivo.
O publicador o mantém em https://github.com/YaoApp/yao.
Claude, Cursor, Codex e Grok Build conseguem ler um SKILL.md que você adiciona a partir do repositório do publicador. O Grok Bot o instala quando você envia em um chat o link da pasta da skill no GitHub.