본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

subagent-spawn-command-builder

nextaltair 제작

Web & Frontend Development
664clawskills.sh가 보고한 다운로드 수
1조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Build sessions_spawn command payloads from JSON profiles.

설명

이 스킬이 하는 일

Builds sessions_spawn payload JSON from reusable profile configs without executing the spawn. Profiles define model, thinking, timeout, cleanup, agentId, and label. A Node.js script merges CLI options, profile values, and defaults into ready-to-use command JSON.

Separating payload generation from execution lets you inspect and version spawn configs before any agent is actually started.

사용 시점

  • Preparing a subagent spawn payload for review before execution
  • Reusing a named profile across multiple agent tasks
  • Overriding a profile's model at the CLI for a one-off run
  • Logging generated payloads to a JSONL file for auditing
  • Templating subagent configs for a team workflow

예시 워크플로

입력

User asks: build a spawn payload using the 'heartbeat' profile for a context summary task

에이전트
  1. 1

    Reads spawn-profiles.json to load the 'heartbeat' profile

  2. 2

    Resolves model, thinking, timeout, and cleanup from profile and defaults

  3. 3

    Accepts --task and --label from CLI options

  4. 4

    Merges all values following CLI > profile > defaults priority

  5. 5

    Prints the final sessions_spawn-ready JSON to stdout

출력

{"task":"Analyze recent context and return a compact summary","label":"heartbeat-test","model":"...","thinking":"...","runTimeoutSeconds":...,"cleanup":"..."}

설치

clawhub install nextaltair/subagent-spawn-command-builder

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크