- name
SKILL.md
स्किल फ़ाइल पब्लिशर की रिपॉज़िटरी में ही रहती है।
कॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add YaoApp/yao --skill yao-job -a cursor -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add YaoApp/yao --skill yao-job -a claude-code -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add YaoApp/yao --skill yao-job -a codex -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add YaoApp/yao --skill yao-job -a grok -yकॉपी किया गया संदेश Grok Bot चैट में भेजें। Bot यह SKILL.md GitHub से लाता है और उसे उन स्किल में जोड़ देता है जो आपके सभी Bot साझा करते हैं।
Install this skill: https://github.com/YaoApp/yao/tree/HEAD/tools/skills/yao-jobपब्लिशर से
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ओवरव्यू
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
पब्लिशर से tools/skills/yao-job/SKILL.md डाउनलोड करें, या पाथ कॉपी करके रिपॉज़िटरी खोलें। PlugMCP स्किल को सूचीबद्ध करता है, फ़ाइल होस्ट नहीं करता।
पब्लिशर इसे https://github.com/YaoApp/yao पर रखता है।
Claude, Cursor, Codex और Grok Build वह SKILL.md पढ़ सकते हैं जिसे आप पब्लिशर की रिपॉज़िटरी से जोड़ते हैं। जब आप चैट में स्किल के GitHub फ़ोल्डर का लिंक भेजते हैं, तो Grok Bot उसे इंस्टॉल कर देता है।