AGENT SKILL

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

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, custom BaseTool or CrewStructuredTool work, 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, and reset-memories behavior.
  • 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 edit docs/v*/ frozen snapshots or delete/rename docs/images/ assets outside release-freeze work.

Safe Diagnostics

  • python scripts/check_crewai_environment.py --json reports installed CrewAI package versions, top-level import results, and CLI command names.
  • python sub-skills/core-runtime/scripts/validate_crew_definition.py --help explains static JSONC crew checks without importing project custom code.
  • python sub-skills/flows-and-events/scripts/validate_flow_graph.py --help explains static flow graph checks without calling kickoff().
  • python sub-skills/cli-and-projects/scripts/inspect_crewai_cli.py --help explains CLI/project layout checks that avoid running crews or deploy/login flows.
  • python sub-skills/repo-development/scripts/select_native_tests.py --help suggests 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

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351