Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

ai-collab

bởi jeremysommerfeld8910-cpu

Coding Agents & IDEs
443Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Multi-agent autonomous collaboration system for two OpenClaw agents working in parallel.

Mô tả

Kỹ năng này làm gì

Runs two OpenClaw agents in parallel: a primary interactive Claude Code session and a background daemon triggered by filesystem inbox messages. Agents coordinate via a structured chat log with a tagged protocol that enforces closed loops. Supports Claude-Claude, Claude-GPT, and GPT-GPT pairings.

Structured tagging with mandatory DONE/BLOCKED closure prevents agents from leaving tasks open-ended, which is the main failure mode in ad-hoc multi-agent setups.

Khi nào nên dùng

  • Fetching live crypto prices in the background while the primary agent handles user requests
  • Offloading a multi-step Kraken API pull to the daemon while the main agent continues coding
  • Routing Telegram messages from a group chat into the agent pipeline
  • Having GPT review code that Claude just wrote, without switching tools
  • Running a daemon watchdog that restarts itself if silent for more than 15 minutes

Quy trình ví dụ

ĐẦU VÀO

User asks: get the current BTC price and continue working

AGENT
  1. 1

    Agent A writes [TASK:price-check] to the inbox using atomic mktemp + mv

  2. 2

    Daemon detects the new file via inotifywait and reads the message

  3. 3

    Agent B runs claude --print with the task context

  4. 4

    Agent B responds [DONE:price-check] with the price and logs it to chat.log

  5. 5

    poll_chatlog.sh routes the response back to Agent A via openclaw agent

ĐẦU RA

Agent A receives '[AgentB]: [DONE:price-check] BTC $94,230 as of 03:15 UTC' and resumes its primary task

Yêu cầu

  • Telegram bot token (TELEGRAM_BOT_TOKEN), group ID, and user ID — required only for the optional Telegram bridge
  • OpenAI API key — required only for Claude-GPT or GPT-GPT configurations

Cài đặt

clawhub install jeremysommerfeld8910-cpu/ai-collab

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết