Skip to content
Back to skills

Flows And Events

ASecurity

"Use when building or debugging CrewAI Flow graphs, stateful flow

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
documentationrailsdebuggingapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill flows-and-events --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flows And Events?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Flows And Events
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-flows-and-events/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-flows-and-events)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: flows-and-events
description: "Use when building or debugging CrewAI Flow graphs, stateful flow
  execution, decorators, routers, persistence, checkpointing, plotting, human
  feedback, event listeners, and method hook ordering."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# CrewAI Flows and Events

Use this sub-skill when the task is about CrewAI `Flow` classes, `@start`, `@listen`, `@router`, `and_`/`or_` triggers, state, routing labels, event ordering, flow plotting, replay/resume, or human feedback inside flows.

## Route by Intent

- Need exact decorator signatures, import paths, constructor options, or event types? Read [API reference](references/api-reference.md).
- Need flow graph design patterns, typed state, multiple starts, routers, persistence, checkpointing, plotting, conversational flows, or human feedback loops? Read [Flow patterns](references/flow-patterns.md).
- Need event listeners, event bus usage, flow method event ordering, scoped handlers, or before/after kickoff adjacency? Read [Event hooks](references/event-hooks.md).
- Need to diagnose missing listeners, router labels, state errors, plotting failures, duplicate resumed calls, or HITL loops? Read [Troubleshooting](references/troubleshooting.md).
- Need a safe static graph check for a user-defined flow class? Run [validate_flow_graph.py](scripts/validate_flow_graph.py) with `--help` first.

## Boundaries

- For `Agent`, `Task`, `Crew`, `Process`, guardrails, crew callbacks, or task-level human input, use [core-runtime](../core-runtime/SKILL.md).
- For `crewai create flow`, `crewai flow kickoff`, `crewai flow plot`, `crewai run`, or project scaffolds, use [cli-and-projects](../cli-and-projects/SKILL.md).
- For tracing/export provider setup, telemetry integrations, LLM hooks, tool hooks, or observability destinations, use [observability-and-hooks](../observability-and-hooks/SKILL.md).
- For root routing context across CrewAI packages, return to the [CrewAI root skill](../../SKILL.md).

## Safe Defaults

- Prefer static graph inspection and `flow.plot(...)` before running a flow with live LLMs or tools.
- Do not call `kickoff()` while only validating graph shape; `kickoff()` can execute user code, crews, tools, LLMs, and human prompts.
- Use explicit router `emit=[...]` or `Literal[...]` return annotations so static tools and plots can show intended route labels.
- Keep flow method names and route label strings stable; listeners depend on exact method names or exact emitted labels.

Files in this skill

  • SKILL.md2.5 KB
  • references/api-reference.md8.8 KB
  • references/event-hooks.md8.5 KB
  • references/flow-patterns.md9.6 KB
  • references/troubleshooting.md10.7 KB
  • scripts/validate_flow_graph.py15.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.