본문으로 건너뛰기
cccskills
무료GitHub에 공개

yao-job

Run long commands in the background, check their progress and output, wait for completion, or stop them. List jobs by status and inspect exit results to understand how each command finished.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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.

설치 방법 보기

이럴 때 유용합니다

  • Running long commands in the background
  • Checking job progress and output
  • Waiting for a job to finish
  • Stopping a running job

포함된 파일(1)

  • SKILL.md4.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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)

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.

yao_job_wait

ParamRequiredDefaultDescription
job_idyes—Job ID
timeout_msno60000Timeout in milliseconds

Response Fields

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

Foreground start (background=false)

Returns the job object plus output_tail (≤4KB tail of stdout+stderr):

{ "id": "job_...", "status": "completed", "exit_code": 0, ..., "output_tail": "hello world\n" }

List (paginated)

{ "jobs": [...], "total": 130, "offset": 0, "limit": 20, "has_more": true }

Wait

{ "job": { ... }, "timed_out": false }

Stop (already terminal)

{ "job": { ... }, "detail": "already in terminal state (failed); no action taken" }

Errors

Structured JSON with code and message:

{ "error": { "code": "invalid_argument", "message": "job_id is required" } }

Codes: invalid_argument, not_found, internal.

Usage Rules

  1. Use background true (not bare --background) for commands expected to run longer than 30 seconds.
  2. Always provide a description.
  3. Foreground is default — the result and output come back in one call.
  4. Monitor background output with yao_job_output to check progress.
  5. 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:

  1. Review the status, exit_code, cause, and output_tail.
  2. If status=failed, investigate and take corrective action.
  3. If status=completed, acknowledge and continue the task.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

yao-agent

무료

Manage agents on a host by listing their capabilities, reading source code, and downloading or deploying agents in the smith namespace. Check available language model connections and their roles without exposing API keys.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Find available agents and check their capabilities
  • Study existing agent source code
  • Download and deploy smith agents for editing
YaoApp/yao8.1천2026년 10월 19일 업데이트

yao-audio

무료

Turn recorded speech into text from supported audio files such as mp3, m4a, and wav. Detect the language automatically or specify it, and list available speech recognition providers and models before choosing one.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Transcribe a meeting recording
  • Convert an audio recording into text
  • Transcribe audio in a specified language
YaoApp/yao8.1천2026년 10월 19일 업데이트

yao-board

무료

Check kanban boards, which organize tasks into columns, and retrieve task lists filtered by status, assistant, or board. Use the returned data to see task counts and review work in progress.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing board columns and task counts
  • Finding tasks that are running or waiting
  • Checking tasks assigned to a specific assistant
YaoApp/yao8.1천2026년 10월 19일 업데이트

Start and manage long-running background services such as development servers. Check their status and output logs, verify listening ports, retrieve local URLs, and restart services while keeping the same service ID.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Starting a development server in the background
  • Checking service status and output logs
  • Restarting a service while keeping its ID
YaoApp/yao8.1천2026년 10월 19일 업데이트

Classify messages, rate content, or estimate probabilities using defined question types. Receive machine-readable answers, with confidence scores for classification and ratings, and apply the same questions to multiple inputs in a batch.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Routing customer inquiries to departments
  • Rating support quality against defined criteria
  • Classifying sentiment across multiple messages
YaoApp/yao8.1천2026년 10월 19일 업데이트

yao-doc

무료

Look up callable processes in Yao, inspect their arguments and return types, and check whether a process name is valid. Use the documentation to prepare calls and find suggested alternatives for misspelled names.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Find Yao processes by keyword
  • Check arguments and return types before calling a process
  • Validate process names when a call fails
YaoApp/yao8.1천2026년 10월 19일 업데이트

YaoApp의 스킬 모두 보기

이 스킬의 문제 신고