greenclawdbot

Spawn for a specific task

0
0
# Install this skill:
npx skills add greenclawdbot/mission-control-skill

Or install specific skill: npx add-skill https://github.com/greenclawdbot/mission-control-skill

# Description

Mission Control skill for clawdbot - polls for tasks and spawns sub-agents

# SKILL.md

Mission Control Skill

A skill for clawdbot to interact with the Mission Control kanban system.

Features

  • Poll for orphaned tasks: Finds InProgress tasks without active sessions
  • Spawn sub-agents: Creates sub-agents to work on claimed tasks
  • Heartbeat integration: Works with clawdbot's heartbeat to automate task processing

Usage

During Heartbeat

node ~/.nvm/.../skills/mission-control/scripts/poll-and-spawn.cjs

This will:
1. Poll Mission Control API for orphaned InProgress tasks
2. If found, spawn a sub-agent using sessions_spawn
3. Report what was spawned

Direct Commands

# Poll for work
node ~/.nvm/.../skills/mission-control/scripts/poll.cjs

# Spawn for a specific task
node ~/.nvm/.../skills/mission-control/scripts/spawn.cjs <task-id> "<task-title>"

Files

mission-control/
β”œβ”€β”€ SKILL.md           ← This file
β”œβ”€β”€ src/
β”‚   └── index.ts       ← Skill implementation (future)
└── scripts/
    β”œβ”€β”€ poll.cjs       ← Poll for orphaned tasks
    └── spawn.cjs      ← Spawn sub-agent for task

API Endpoints

Mission Control API: http://192.168.1.84:3001

  • GET /api/v1/tasks/orphaned?sessionKey=<key>&assignee=clawdbot
  • Returns orphaned InProgress tasks
  • Claims task if found

Configuration

No configuration needed. Uses defaults:
- API URL: http://192.168.1.84:3001
- Assignee: clawdbot

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.