All shelves / Mods / Safety
agentic-flow
By ruvnet
agentic-flow is a Claude Code safety mod by ruvnet.
Refuses an agentic_flow_agent call whose task matches a destructive or exfiltration pattern or passes an API key, and adds a status-line entry for the guard.
DrawsHolds a command
Install
The marketplace name is agentic-flow.
/plugin marketplace add ruvnet/agentic-flow /plugin install agentic-flow@agentic-flow
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 3.4.0
- Repo stars
- 838
- Last change
- 2026-11-06
What it can reach
- Draws in the session
- Holds a command
- Sees tool calls
- Reaches the network or an outside service
Needs Node.js 20+, since the MCP server runs with npx, and Claude Code 2.1.287 or newer for the mod. The first launch downloads the package, longer than Claude Code's default 30-second MCP startup timeout, so the first session can show the server as failed; after the download finishes, run /mcp and reconnect, or raise the timeout with MCP_TIMEOUT=90000 claude. Under the default readonly profile the server does not register agentic_flow_agent at all, so the guard has nothing to check until mcp_profile is learning or admin. guardMode is enforce by default, or notify, or off. Nothing is pre-approved: Claude Code asks before each call. It is a short pattern list, not a sandbox: the same intent in other words gets through. With allow_bypass_permissions on, every agent it spawns runs with bypassPermissions and may use Bash, Write, Edit, WebFetch and WebSearch with no confirmation, so use it only inside a disposable sandbox. From a terminal: claude plugin marketplace add ruvnet/agentic-flow, then claude plugin install agentic-flow@agentic-flow.
The marketplace, agentic-flow, holds only this plugin. It brings the agentic-flow MCP server, ReasoningBank learning and multi-provider routing skills, two agents, and /agentic-flow-status; the mod is the guard on spawning agents. Refusing a risky agent spawn is why this page files it under safety. subagent-wall holds a subagent after a time limit to git, gh, and Markdown or text writes. guardrails-lite holds a read of a secret .env file, a git force-push, and a recursive rm on /, ~, or $HOME. This one judges only calls to agentic_flow_agent, the MCP tool that spawns an agent, and refuses one whose task matches a destructive pattern (a recursive delete of / or home, mkfs, dd to a disk, a fork bomb, DROP DATABASE, a force-push to main) or an exfiltration pattern (curl piped to sh, reading ~/.ssh, cloud credentials or /etc/shadow, sending secrets or .env with curl or nc), or that passes an Anthropic or OpenRouter key as an argument. It fails closed if the check itself errors. The README calls it a short pattern list, not a sandbox, and puts the real boundary in the read-only default, which hides the tool from Claude altogether. Spawned agents get read-only tools unless you turn on allow_bypass_permissions.
Demo

What it hooks into
session.startWhen a session startscommand.runWhen you run its slash commandtool.callAround a tool call, where it can hold one
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- ruvnet
- Category
- Safety
- Marketplace
- agentic-flow
- Folder
- plugins/agentic-flow
- Version
- 3.4.0
- Repo stars
- 838
- Last change
- 2026-11-06
- Language
- TypeScript
- Files
- 22