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

cg-worker

Use when deterministic runtime code needs to execute CommonGround worker lifecycle steps through the local `cg worker` command namespace, including claim acquisition, renewal, progress append, terminal finish, child dispatch, and suspend flows.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md1.9 KB

SKILL.md(원문)

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

CG Worker CLI

Use cg worker for deterministic worker and companion lifecycle operations. Do not use curl for these flows when cg worker covers the operation.

Rules

  • Use cg worker claim next to acquire work.
  • When automation needs a reusable claim token file, pass --claim-out-file.
  • --claim-file accepts either a bare claim JSON object or a full CLI envelope containing result.claim.
  • Use cg worker claim renew while the claim remains active.
  • Use cg worker claim append for progress records.
  • Use cg worker claim finish for terminal close.
  • Use cg worker claim suspend when the turn must pause for approval, orchestration, or external input.
  • Use cg worker claim dispatch-child to dispatch a child turn from an active parent claim.

Commands

Claim work and persist the claim token:

cg worker claim next \
  --project-id demo \
  --agent-id worker \
  --claim-out-file /tmp/cg-claim.json

Renew and progress:

cg worker claim renew --claim-file /tmp/cg-claim.json
cg worker claim append --claim-file /tmp/cg-claim.json --payload-file /tmp/progress.json --role progress

Finish, suspend, and child dispatch:

cg worker claim finish --claim-file /tmp/cg-claim.json --outcome succeeded --payload-file /tmp/final.json
cg worker claim suspend --claim-file /tmp/cg-claim.json --reason await_child --note "waiting on child"

cg worker claim dispatch-child \
  --claim-file /tmp/cg-claim.json \
  --requested-by worker \
  --target-agent codex \
  --payload-file /tmp/child-bootstrap.json \
  --dispatch-key child-123

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

cg

무료

Use when a local agent needs to dispatch work to CommonGround, inspect turn or agent state, wait for a turn to close, or resume a suspended turn through the `cg` CLI instead of calling the CG HTTP API directly.

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

Intelligent-Internet/CommonGround1532026년 5월 20일 업데이트

Use when a local agent needs to submit a concise public work-memory report for its own completed local task through `cg report work-memory`.

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

Intelligent-Internet/CommonGround1532026년 5월 20일 업데이트

Intelligent-Internet의 스킬 모두 보기

이 스킬의 문제 신고