شعار Clawteam

Clawteam

المجتمعشائع
win4r
clawteam

Multi-agent swarm coordination via the ClawTeam CLI. Use when the user wants to create agent teams, spawn multiple agents to work in parallel, coordinate tasks with dependencies, broadcast messages between agents, monitor progress via kanban board, or launch pre-built team templates (hedge-fund, code-review, research-paper). ClawTeam uses git worktree isolation + tmux + filesystem-based messaging. Trigger phrases: team, swarm, multi-agent, clawteam, spawn agents, parallel agents, agent team.

نظرة عامة

الناشرwin4r
المستودعClawTeam-OpenClaw
اسم المهارةclawteam
النجوم
1.5K
التفريعات
320
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها win4r على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Clawteam في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/win4r/ClawTeam-OpenClaw/tree/main/skills/openclaw
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/win4r/ClawTeam-OpenClaw.git /tmp/ClawTeam-OpenClaw
mkdir -p .claude/skills
cp -r /tmp/ClawTeam-OpenClaw/skills/openclaw .claude/skills/clawteam
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Clawteam في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Clawteam تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Clawteam بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

ClawTeam — Multi-Agent Swarm Coordination

Overview

ClawTeam is a CLI tool (clawteam) for orchestrating multiple AI agents as self-organizing swarms. It uses git worktree isolation, tmux windows, and filesystem-based messaging. OpenClaw is the default agent backend.

CLI binary: clawteam (installed via pip, available in PATH)

Quick Start

One-Command Template Launch (Recommended)

bash
# Launch a pre-built team from a template
clawteam launch hedge-fund --team fund1
clawteam launch code-review --team review1
clawteam launch research-paper --team paper1

Manual Team Setup

bash
# 1. Create team with leader
clawteam team spawn-team my-team -d "Build a web app" -n leader

# 2. Create tasks with dependencies
clawteam task create my-team "Design API schema" -o architect
# Returns task ID, e.g., abc123

clawteam task create my-team "Implement auth" -o backend --blocked-by abc123
clawteam task create my-team "Build frontend" -o frontend --blocked-by abc123
clawteam task create my-team "Write tests" -o tester

# 3. Spawn agents (each gets its own tmux window + git worktree)
clawteam spawn -t my-team -n architect --task "Design the API schema for a web app"
clawteam spawn -t my-team -n backend --task "Implement OAuth2 authentication"
clawteam spawn -t my-team -n frontend --task "Build React dashboard"

# 4. Monitor
clawteam board show my-team        # Kanban view
clawteam board attach my-team      # Tmux tiled view (all agents side-by-side)
clawteam board serve --port 8080   # Web dashboard

Command Reference

Team Management

CommandDescription
clawteam team spawn-team <name> -d "<desc>" -n <leader>Create team
clawteam team discoverList all teams
clawteam team status <team>Show team members and info
clawteam team cleanup <team> --forceDelete team and all data

Task Management

CommandDescription
clawteam task create <team> "<subject>" -o <owner> [-d "<desc>"] [--blocked-by <id>]Create task
clawteam task list <team> [--owner <name>]List tasks (filterable)
clawteam task update <team> <id> --status <status>Update status
clawteam task get <team> <id>Get single task
clawteam task stats <team>Timing statistics
clawteam task wait <team>Block until all tasks complete

Task statuses: pending, in_progress, completed, blocked

Dependency auto-resolution: When a blocking task completes, dependent tasks automatically change from blocked to pending.

Task locking: When a task moves to in_progress, it is locked by the calling agent. Other agents cannot claim it unless they use --force. Stale locks from dead agents are automatically released.

Agent Spawning

IMPORTANT: Always use the default command (openclaw) — do NOT override to claude or other agents. The default handles permissions, prompt injection, and nesting detection correctly. If you specify claude as the command, agents will get stuck on interactive permission prompts.

bash
# Default (RECOMMENDED): spawns openclaw tui in tmux with prompt
clawteam spawn -t <team> -n <name> --task "<task description>"

# Explicit backend (still uses openclaw by default)
clawteam spawn tmux -t <team> -n <name> --task "<task>"
clawteam spawn subprocess -t <team> -n <name> --task "<task>"

# With git worktree isolation
clawteam spawn -t <team> -n <name> --task "<task>" --workspace --repo /path/to/repo

Each spawned agent gets:

  • Its own tmux window (visible via board attach)
  • Its own git worktree branch (clawteam/{team}/{agent})
  • An auto-injected coordination prompt (how to use clawteam CLI)
  • Environment variables: CLAWTEAM_AGENT_NAME, CLAWTEAM_TEAM_NAME, etc.

Spawn safety features:

  • Commands are pre-validated before launch — you get a clear error if the agent CLI is not installed
  • If a spawn fails, the registered team member and worktree are automatically rolled back
  • Claude Code and Codex workspace trust prompts are auto-confirmed in fresh worktrees

Messaging

CommandDescription
clawteam inbox send <team> <to> "<msg>" --from <sender>Point-to-point message
clawteam inbox broadcast <team> "<msg>" --from <sender>Broadcast to all
clawteam inbox peek <team> -a <agent>Peek without consuming
clawteam inbox receive <team>Consume messages
clawteam inbox log <team>View message history

Monitoring

CommandDescription
clawteam board show <team>Kanban board (rich terminal)
clawteam board overviewAll teams overview
clawteam board live <team>Live-refreshing board
clawteam board attach <team>Tmux tiled view
clawteam board serve --port 8080Web dashboard

Cost Tracking

CommandDescription
clawteam cost report <team> --input-tokens <N> --output-tokens <N> --cost-cents <N>Report usage
clawteam cost show <team>Show summary
clawteam cost budget <team> <dollars>Set budget

Templates

CommandDescription
clawteam template listList available templates
clawteam template show <name>Show template details
clawteam launch <template> [--team-name <name>] [--goal "<goal>"]Launch from template

Built-in templates: hedge-fund, code-review, research-paper

Configuration

bash
clawteam config show                           # Show all settings
clawteam config set transport file             # Set transport backend
clawteam config set skip_permissions true      # Auto-skip permission prompts
clawteam config health                         # System health check

Other Commands

CommandDescription
clawteam lifecycle idle <team> --agent <name>Report agent idle
clawteam session save <team> --session-id <id>Save session for resume
clawteam plan submit <team> "<plan>" --from <agent>Submit plan for approval (team-scoped storage)
clawteam workspace list <team>List git worktrees
clawteam workspace merge <team> --agent <name>Merge agent branch

JSON Output

Add --json before any subcommand for machine-readable output:

bash
clawteam --json task list my-team
clawteam --json team status my-team

Typical Workflow

  1. User says: "Create a team to build a web app"
  2. You do: clawteam team spawn-team webapp -d "Build web app" -n leader
  3. Create tasks: Use clawteam task create with --blocked-by for dependencies
  4. Spawn agents: Use clawteam spawn for each worker
  5. Monitor: Start a background polling loop immediately — do NOT wait for user to ask
  6. Communicate: Use clawteam inbox broadcast for team-wide updates
  7. Deliver: Proactively send final results to the user as soon as all tasks complete
  8. Cleanup: clawteam cost show, clawteam task stats, merge worktrees, then clawteam team cleanup webapp --force

Leader Orchestration Pattern

When YOU are the leader agent, follow this pattern to autonomously manage a swarm:

Phase 1: Analyze & Plan

1. Understand the user's goal
2. Break it into independent subtasks
3. Identify dependencies between tasks (what must finish before what)
4. Decide how many worker agents are needed

Phase 2: Setup

bash
# Create team
clawteam team spawn-team <team> -d "<goal description>" -n leader

# Create tasks with dependency chains
clawteam task create <team> "Design API" -o architect
# Save the returned task ID (e.g., abc123)
clawteam task create <team> "Build backend" -o backend --blocked-by abc123
clawteam task create <team> "Build frontend" -o frontend --blocked-by abc123
clawteam task create <team> "Integration tests" -o tester --blocked-by <backend-id>,<frontend-id>

Phase 3: Spawn Workers

bash
# Each spawn launches an openclaw tui in its own tmux window
clawteam spawn -t <team> -n architect --task "Design REST API schema for <goal>"
clawteam spawn -t <team> -n backend --task "Implement backend based on API schema"
clawteam spawn -t <team> -n frontend --task "Build React frontend"
clawteam spawn -t <team> -n tester --task "Write and run integration tests"

Phase 4: Monitor Loop

IMPORTANT: Start monitoring immediately after spawning — do NOT wait for the user to ask for status updates. Run the monitor loop in the background right away so you can:

  1. Push mid-progress updates proactively — when ~50% of tasks complete, send the user a brief status update (e.g. "4/7 agents done, 3 still working"). Do NOT wait for them to ask.
  2. Deliver final results immediately when all tasks complete.
bash
# Poll task status every 30-60 seconds
while true; do
  clawteam --json task list <team> | python3 -c "
import sys, json
tasks = json.load(sys.stdin)
done = sum(1 for t in tasks if t['status'] == 'completed')
total = len(tasks)
print(f'{done}/{total} complete')
if done == total: print('ALL DONE'); sys.exit(0)
"
  # Check for messages from workers
  clawteam inbox receive <team>
  # IMPORTANT: Send a mid-progress update to the user when roughly half the tasks are done
  sleep 30
done

Phase 5: Converge & Report

IMPORTANT: Proactively deliver results to the user as soon as all tasks complete. Do NOT wait for the user to ask. Include the final output, a summary, and cost/timing stats. ALWAYS merge worktrees and clean up.

bash
# After all tasks complete — do ALL of these steps:
clawteam board show <team>           # Final status
clawteam cost show <team>            # Total cost — include in report to user
clawteam task stats <team>           # Timing stats — include in report to user
# Merge each worker's branch back to main
for agent in <agent1> <agent2> ...; do
  clawteam workspace merge <team> --agent $agent
done
clawteam team cleanup <team> --force  # Clean up — ALWAYS do this last
# Then: send the final deliverables to the user immediately

Decision Rules for the Leader

  • Independent tasks → spawn workers in parallel
  • Sequential tasks → use --blocked-by to chain them; ClawTeam auto-unblocks
  • Worker asks for help → check inbox, provide guidance via inbox send
  • Worker stuck → check task status; if in_progress too long, send a nudge via inbox send
  • Worker done → verify result via inbox message, then move to next phase
  • All done → merge worktrees, deliver results to user proactively, then cleanup
  • Always → start background monitoring immediately after spawn; never wait for user to ask for status

Data Location

All state stored in ~/.clawteam/:

  • Teams: ~/.clawteam/teams/<team>/config.json
  • Tasks: ~/.clawteam/tasks/<team>/task-<id>.json (with fcntl file locking for concurrent safety)
  • Plans: ~/.clawteam/plans/<team>/<agent>-<plan_id>.md (team-scoped, isolated per team)
  • Messages: ~/.clawteam/teams/<team>/inboxes/<agent>/msg-*.json
  • Costs: ~/.clawteam/costs/<team>/

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Clawteam؟

Multi-agent swarm coordination via the ClawTeam CLI. Use when the user wants to create agent teams, spawn multiple agents to work in parallel, coordinate tasks with dependencies, broadcast messages between agents, monitor progress via kanban board, or launch pre-built team templates (hedge-fund, code-review, research-paper). ClawTeam uses git worktree isolation + tmux + filesystem-based messaging. Trigger phrases: team, swarm, multi-agent, clawteam, spawn agents, parallel agents, agent team.

لماذا تستخدم Clawteam على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Clawteam عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Clawteam في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/win4r/ClawTeam-OpenClaw/tree/main/skills/openclaw. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Clawteam؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Clawteam؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Clawteam معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Clawteam مجانية؟

نعم. نشرها win4r على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل
شعار openclaw

Obsidian Vault Maintainer

openclaw
مؤسسةشائع

حافظ على مستودع ويكي للذاكرة متوافق مع Obsidian، باستخدام روابط ويكي والبيانات الوصفية في بداية الملف، مع مراعاة واجهة سطر الأوامر الرسمية لـ Obsidian.

82.2K
391K
التعليمات
عرض
شعار openclaw

Control Ui

openclaw
مؤسسةشائع

شغّل واجهة OpenClaw Control UI واستكشاف أخطائها وإصلاحها: تنقّل بين العملاء المتصلين، ونظّم الجلسات، وأنشئ لوحات معلومات للجلسات، وتعامل مع Gateways المباشرة أو المستضافة عبر Tailscale.

82.2K
391K
الملفات: 2
عرض
شعار affaan-m

Market Research

affaan-m
المجتمعشائع

أجرِ أبحاث السوق والتحليلات التنافسية والعناية الواجبة للمستثمرين وجمع المعلومات الاستخباراتية عن القطاعات، مع توثيق المصادر وتقديم ملخصات تساعد على اتخاذ القرارات. استخدمها لتقدير حجم السوق،…

40.4K
270.2K
الملفات: 1
عرض
شعار affaan-m

X Api

affaan-m
المجتمعشائع

تكامل مع X/Twitter API لنشر التغريدات وسلاسل التغريدات وقراءة الخطوط الزمنية والبحث والتحليلات. يغطي أنماط المصادقة عبر OAuth وحدود معدل الطلبات ونشر المحتوى بصيغته الأصلية على المنصة. استخدمها عندما يريد المستخدم…

40.4K
270.2K
الملفات: 1
عرض

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇