Files
social-app/.opencode/skills/crewai/SKILL.md
T

94 lines
4.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: crewai
description: CrewAI framework for multi-agent orchestration. Use when building multi-agent systems, agent collaboration, task automation, crew orchestration, agent teams, delegation, or any CrewAI-related development.
---
# CrewAI Skills
CrewAI 框架开发权威指南。**必须使用**场景:构建多 Agent 协作系统、编排 Agent 团队、任务自动化、工具集成、知识管理、LLM 应用开发。提供完整模块索引与源文件行号映射。
## 何时使用
**必须使用**的场景:
- 创建和管理 AI Agent 团队
- 实现 Agent 间的协作和任务委托
- 编排多步骤工作流和任务流程
- 集成 RAG、向量存储和知识管理
- 配置和管理 LLM 提供商
- 构建自动化任务和工具
- 实现 Agent 记忆和推理能力
- 训练和微调 Agent 性能
**查询模式**
- "如何创建 crewai agent"
- "agent collaboration 委托任务"
- "crew kickoff 执行流程"
- "crewai tools 集成"
- "knowledge RAG 配置"
- "llm 多模型切换"
## 模块索引
按功能模块查看源文件对应章节:
| 模块 | 作用 | 源文件行号 |
|------|------|------------|
| [agents](modules/agents.md) | Agent 概念、属性、创建、高级特性 | 1-1276 |
| [collaboration](modules/collaboration.md) | Agent 协作、委托、层级管理 | 1277-1655 |
| [crews](modules/crews.md) | Crew 概念、创建、执行流程 | 1656-2658 |
| [flows](modules/flows.md) | Flow 流程控制、状态管理 | 2659-3712 |
| [knowledge](modules/knowledge.md) | 知识管理、向量存储、RAG | 3713-4838 |
| [llms](modules/llms.md) | LLM 配置、多模型支持 | 4839-6469 |
| [memory](modules/memory.md) | Memory 记忆系统 | 6470-7341 |
| [planning](modules/planning.md) | Planning 任务规划 | 7342-7729 |
| [reasoning](modules/reasoning.md) | Reasoning 推理和反思 | 7730-7877 |
| [tasks](modules/tasks.md) | Task 概念、属性、执行流程 | 7878-9005 |
| [tools](modules/tools.md) | Tool 概念、创建、内置工具 | 9006-9292 |
| [training](modules/training.md) | Training 训练和微调 | 9293-12843 |
| [installation](modules/installation.md) | 安装、配置、项目创建 | 12844-14875 |
| [quickstart-tools](modules/quickstart-tools.md) | **快速开始 + 50+ 工具参考** | 14876-53221 |
## 源文件
- `llms-full.md` - CrewAI 完整文档(唯一信源,53221 行)
## 核心概念速查
| 概念 | 说明 | 详见 |
|------|------|------|
| **Agent** | 自主单元,执行任务、使用工具、协作 | [agents](modules/agents.md) |
| **Task** | Agent 完成的具体任务 | [tasks](modules/tasks.md) |
| **Crew** | Agent 团队,协作完成任务 | [crews](modules/crews.md) |
| **Tool** | Agent 可用的能力或功能 | [tools](modules/tools.md) |
| **Flow** | 工作流编排和状态管理 | [flows](modules/flows.md) |
| **Knowledge** | 知识存储和 RAG 检索 | [knowledge](modules/knowledge.md) |
## 快速路径
**新手入门**
1. [installation](modules/installation.md) - 安装和项目创建
2. [agents](modules/agents.md) - 理解 Agent 核心概念
3. [tasks](modules/tasks.md) - 创建第一个 Task
4. [crews](modules/crews.md) - 组建 Crew 并执行
5. [quickstart-tools](modules/quickstart-tools.md) - 完整快速开始示例
**实现功能**
- Agent 协作 → [collaboration](modules/collaboration.md) (委托、层级)
- 任务编排 → [crews](modules/crews.md) + [flows](modules/flows.md)
- 知识管理 → [knowledge](modules/knowledge.md) (RAG、向量存储)
- 工具集成 → [tools](modules/tools.md) + [quickstart-tools](modules/quickstart-tools.md)
- LLM 配置 → [llms](modules/llms.md)
**高级特性**
- Agent 记忆 → [memory](modules/memory.md)
- 任务规划 → [planning](modules/planning.md)
- 推理能力 → [reasoning](modules/reasoning.md)
- 性能优化 → [training](modules/training.md)
## 建议使用方式
1. 先阅读 [installation](modules/installation.md) 了解安装和项目结构
2. 根据需求查看核心概念模块(agents/tasks/crews/tools
3. 高级功能参考对应模块(collaboration/knowledge/flows
4. 工具集成参考 [quickstart-tools](modules/quickstart-tools.md)