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

background-agents

This skill should be used when the user asks about "parallel agents", "background tasks", "run_in_background", "non-blocking agents", "check agent progress", "TaskOutput", "retrieve agent results", or discusses running multiple agents concurrently. Covers patterns for launching agents in background, monitoring progress, and retrieving results.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.8 KB

SKILL.md(원문)

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

Background Agents - Non-Blocking Parallel Execution

Background agents let you continue working while long-running tasks execute. Use run_in_background: true to launch agents that run without blocking.

When to Use Background Agents

  • Research phases with multiple independent agents
  • Pre-commit reviews (code-simplifier + kieran reviewer)
  • Any Task that takes >30 seconds and doesn't gate your immediate next step

Launching Background Agents

Add run_in_background: true to Task calls:

Task(
  subagent_type="compound-engineering:review:kieran-typescript-reviewer",
  prompt="Review the changes in this PR",
  max_turns: 20,
  run_in_background: true
)

Parallel Launch Pattern

Launch multiple agents in ONE message for true parallelism:

# Single message with multiple Task calls
Task 1: subagent_type="pr-review-toolkit:code-simplifier" (max_turns: 15, run_in_background: true)
Task 2: subagent_type="compound-engineering:review:kieran-typescript-reviewer" (max_turns: 20, run_in_background: true)

Monitoring Progress

Check All Tasks

  • /tasks - List all background tasks with status
  • Ctrl+T - Toggle task list view in terminal

Check Specific Task

TaskOutput(task_id="task-abc123", block=false)

Returns current output without waiting for completion.

Retrieving Results

Wait for Completion

TaskOutput(task_id="task-abc123", block=true)

Blocks until agent completes, returns full output.

Read Output File

Background agents write to output files. The path is returned when you launch:

Task returned: { task_id: "abc123", output_file: "/path/to/output.txt" }

Use Read tool on output_file path to check progress or results.

Common Patterns

Pre-Commit Reviews

# Launch both reviewers in parallel
Task(subagent_type="pr-review-toolkit:code-simplifier", run_in_background: true)
Task(subagent_type="compound-engineering:review:kieran-typescript-reviewer", run_in_background: true)

# Continue polishing code while they run...

# Check progress
/tasks

# Retrieve results when ready
TaskOutput(task_id="...", block=true)

Research Phase

# Launch all research agents
Task(subagent_type="somto-dev-toolkit:prd-codebase-researcher", run_in_background: true)
Task(subagent_type="compound-engineering:research:git-history-analyzer", run_in_background: true)
Task(subagent_type="somto-dev-toolkit:prd-external-researcher", run_in_background: true)

# Continue interview prep while research runs...

# Retrieve all results
TaskOutput(task_id="task-1", block=true)
TaskOutput(task_id="task-2", block=true)
TaskOutput(task_id="task-3", block=true)

When NOT to Background

  • Complexity estimator (Phase 5.5) - Need result immediately for next phase
  • Any agent whose output gates the next step - Must wait for result
  • Quick agents (<10 seconds) - Overhead not worth it

Kieran Reviewers by Language

LanguageAgent
TypeScript/JavaScriptcompound-engineering:review:kieran-typescript-reviewer
Pythoncompound-engineering:review:kieran-python-reviewer
Ruby/Railscompound-engineering:review:kieran-rails-reviewer

Domain-Specific Reviewers

DomainAgent
Database/migrationscompound-engineering:review:data-integrity-guardian
Frontend racescompound-engineering:review:julik-frontend-races-reviewer

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Creates and manages Biome GritQL custom lint rules to enforce coding patterns. Use when creating linter rules, enforcing code conventions, preventing anti-patterns, or when the user mentions Biome, GritQL, custom lint rules, or AST-based linting.

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

SomtoUgeh/somto-dev-toolkit22026년 8월 26일 업데이트

Transform brain dumps into polished blog posts in Nick Nisi's voice. Use when the user wants to write a blog post with scattered ideas, talking points, and conclusions that need organization into a cohesive narrative with Nick's conversational, authentic, and thoughtful tone.

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

SomtoUgeh/somto-dev-toolkit22026년 8월 26일 업데이트

This skill should be used when implementing features from a PRD spec, tracking implementation progress, or resuming work across sessions. Covers Dex task management for PRD story execution, daily workflows, and skill auto-loading.

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

SomtoUgeh/somto-dev-toolkit22026년 8월 26일 업데이트

This skill should be used when the user asks for "browser tests", "playwright tests", "end-to-end testing", "test user flows", "E2E coverage", "integration tests for UI", "page object pattern", "/e2e command", or discusses automated browser testing. Covers the E2E test loop workflow, Playwright patterns, page objects, and selector strategies.

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

SomtoUgeh/somto-dev-toolkit22026년 8월 26일 업데이트

gwt

무료

Manage git worktrees using a centralized worktrees folder. Use for parallel development, PR reviews, or isolated work.

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

SomtoUgeh/somto-dev-toolkit22026년 8월 26일 업데이트

This skill should be used when the user asks to "plan a feature", "create PRD", "interview me about requirements", "define stories", "write a spec", "break down feature into tasks", "create implementation plan", "help me scope this feature", "what questions should I answer", or discusses feature planning. Covers the PRD interview process, spec structure, story atomization, and 4-phase workflow from idea to Dex tasks.

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

SomtoUgeh/somto-dev-toolkit22026년 8월 26일 업데이트

SomtoUgeh의 스킬 모두 보기

이 스킬의 문제 신고