スキル一覧に戻る
MattMagg

crewai

by MattMagg

Claude Code plugins for building AI agents across frameworks (Google ADK, OpenAI, and more)

2🍴 0📅 2026年1月18日
GitHubで見るManusで実行

SKILL.md


name: CrewAI description: Workflow patterns and gotchas for CrewAI. Directs to RAG for implementation.

CrewAI Workflow

When to Choose CrewAI

  • Building role-based multi-agent systems
  • Need agents with distinct personas
  • Want task delegation patterns
  • Building "crew" style collaboration

Decision Framework

Component Selection

NeedComponentRAG Query
Define specialistAgent"crewai agent role goal"
Define work unitTask"crewai task description"
Coordinate agentsCrew"crew process sequential"
Custom capabilitiesTool"crewai custom tool"
Structured outputOutput schemas"crewai output pydantic"

Query RAG: mcp__agentic-rag__query_sdk("component example", sdk="crewai", mode="build")

Critical Gotchas

These define CrewAI success:

  1. Role/Goal/Backstory triad - All three shape agent behavior significantly
  2. Task descriptions are prompts - Vague descriptions = vague results
  3. Expected output matters - Specify format explicitly or get random structure
  4. Process type affects flow - sequential vs hierarchical changes everything
  5. Tool names must be clear - Agent reads tool name to decide usage
  6. Delegation can loop - Agents may delegate back and forth infinitely
  7. Memory is per-crew - Not shared across different crew instances

Workflow: Building a CrewAI System

Step 1: Define Agents

RAG Query: mcp__agentic-rag__query_sdk("Agent role goal backstory", sdk="crewai", mode="build")

Each agent needs a clear role, specific goal, and relevant backstory.

Step 2: Create Tools

RAG Query: mcp__agentic-rag__query_sdk("crewai tool decorator", sdk="crewai", mode="build")

Step 3: Define Tasks

RAG Query: mcp__agentic-rag__query_sdk("Task description expected_output", sdk="crewai", mode="build")

Tasks must specify: description, expected_output, assigned agent.

Step 4: Assemble Crew

RAG Query: mcp__agentic-rag__query_sdk("Crew agents tasks process", sdk="crewai", mode="build")

Step 5: Execute

RAG Query: mcp__agentic-rag__query_sdk("crew kickoff inputs", sdk="crewai", mode="build")

Common Error Patterns

SymptomLikely CauseRAG Query
Agent off-topicBad role/goal"agent role definition"
Wrong output formatMissing expected_output"task expected_output"
Infinite delegationAllow_delegation loop"delegation control"
Tool not usedUnclear tool name"tool naming crewai"
Tasks out of orderWrong process type"sequential hierarchical"

Process Types

TypeWhen to UseRAG Query
SequentialTasks depend on previous output"sequential process"
HierarchicalManager delegates to workers"hierarchical manager"

Crew Patterns

Research Crew

Researcher → Analyst → Writer pipeline. RAG Query: mcp__agentic-rag__query_sdk("research crew example", sdk="crewai", mode="build")

Support Crew

Triage → Specialist routing. RAG Query: mcp__agentic-rag__query_sdk("support crew routing", sdk="crewai", mode="build")

Advanced Features

Query RAG when you need:

  • Memory: "crewai memory persistence"
  • Callbacks: "crewai task callbacks"
  • Async execution: "crewai async kickoff"
  • Custom LLM: "crewai custom llm"
  • Output validation: "crewai pydantic output"

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です