crewai
Routes agents using or contributing to CrewAI, including crews, flows, CLI projects, tools, MCP, memory, RAG, LLM providers, observability, files, multimodal inputs, and repo development.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- crewai
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Routes agents using or contributing to CrewAI, including crews, flows, CLI projects, tools, MCP, memory, RAG, LLM providers, observability, files, multimodal inputs, and repo development.
- disable-model-invocation
- true
02 资源文件 5
- 参考文档references/installation-and-dependencies.md4.3 KB
- 参考文档references/repo-provenance.md3.0 KB
- 参考文档references/repo-routing-metadata.json489 B
- 参考文档references/troubleshooting.md4.1 KB
- 脚本scripts/check_crewai_environment.py4.1 KB
03 SKILL.md 正文
CrewAI
Use this repo skill when the task involves CrewAI, the crewai Python package, the crewai CLI, official CrewAI tools, CrewAI Flows, memory/knowledge/RAG, multimodal file inputs, observability hooks, or contributing to the CrewAI monorepo.
Start Here
- Read Repository provenance before deciding whether this skill matches a current CrewAI checkout or needs refresh.
- Read Installation and dependencies when choosing package extras, optional dependencies, Python versions, or inspection commands.
- Read Troubleshooting for cross-cutting install/import, optional dependency, credentials, CLI/project-root, telemetry, and repo-development failures.
- Run check_crewai_environment.py for a safe local import/version/CLI diagnostic; it does not run crews, call LLMs, start MCP servers, or use credentials.
Route by Task
- Use core-runtime for
Agent,Task,Crew,Process, kickoff modes, outputs, guardrails, callbacks, planning, reasoning, checkpoint basics, JSONC crew definitions, and direct-code crew design. - Use flows-and-events for
Flow,@start,@listen,@router, state, routing labels, plotting, persistence, checkpointing, human feedback, event listeners, and event ordering. - Use cli-and-projects for
crewai create, JSON-first and classic project scaffolds,crewai run,train,test,replay,chat,deploy,uv, project templates, and CLI troubleshooting. - Use tools-and-mcp for official
crewai_tools, customBaseToolorCrewStructuredToolwork, MCP adapters, tool publishing, integration tools, optional packages, and credential boundaries. - Use memory-knowledge-and-rag for
Memory,Knowledge,knowledge_sources, RAG loaders, embedding providers, vector stores,RagTool, andreset-memoriesbehavior. - Use llm-and-providers for
LLM, provider model strings, API keys, base URLs, Azure/OpenAI-compatible/Anthropic/Bedrock/Google/Snowflake settings, streaming, tool calls, response models, custom LLMs, and LiteLLM migration. - Use observability-and-hooks for tracing, telemetry, observability providers, event listeners, LLM/tool hooks, kickoff hooks, output logs, task outputs, and security fingerprints.
- Use files-and-multimodal for
crewai-files,input_files, file source resolution, provider file constraints, multimodal agents, upload cache, and file/document tool adjacency. - Use repo-development only for contributing to this CrewAI checkout: focused tests, docs versioning, Edge docs edits, frozen snapshot rules, workspace metadata, and safe native verification selection.
Common Decisions
- Prefer JSON-first projects from
crewai create crew <name>unless the user is maintaining an existing classic Python/YAML crew or needs decorator-heavy customization. - Treat
custom:<name>tools and{"python": "module.attribute"}JSONC references as trusted-code boundaries; inspect before running projects from untrusted sources. - Do not run LLM-backed crews, hosted deploy/login commands, MCP servers, network-backed tools, or credential-bound integrations just to inspect a project. Use the bundled diagnostic scripts first.
- Use provider-specific sub-skills for optional dependency and credential choices instead of installing all extras or assuming all integrations are available.
- For repo docs edits, modify only
docs/edge/<lang>/...; do not editdocs/v*/frozen snapshots or delete/renamedocs/images/assets outside release-freeze work.
Safe Diagnostics
python scripts/check_crewai_environment.py --jsonreports installed CrewAI package versions, top-level import results, and CLI command names.python sub-skills/core-runtime/scripts/validate_crew_definition.py --helpexplains static JSONC crew checks without importing project custom code.python sub-skills/flows-and-events/scripts/validate_flow_graph.py --helpexplains static flow graph checks without callingkickoff().python sub-skills/cli-and-projects/scripts/inspect_crewai_cli.py --helpexplains CLI/project layout checks that avoid running crews or deploy/login flows.python sub-skills/repo-development/scripts/select_native_tests.py --helpsuggests focused maintainer checks from changed paths without running them.
Refresh Triggers
Run refresh-repo-skill before relying on this skill if the current CrewAI checkout has a different commit than Repository provenance, package versions or CLI entry points changed, docs/edge/en/ workflows changed materially, or major source roots such as lib/crewai/src/crewai, lib/cli/src/crewai_cli, lib/crewai-tools/src/crewai_tools, or lib/crewai-files/src/crewai_files moved.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).