eric-cielo/moflo

MoFlo — an opinionated, local-first AI agent orchestration toolkit for Claude Code: semantic memory, learned routing, gates, and spells. No API keys, no cloud, works out of the box.

18Stars on the repository
40Mods indexed here, across every type
4d agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

PreToolUse

01

eric-cielo/moflo

Hook Claude Code

Runs before the agent uses a tool for ^(Write, Edit, MultiEdit)$, ^(Glob, Grep)$, ^Read$, ^(Bash, PowerShell)$ and ^Agent$ tool calls, executing gate-hook.mjs and hook-handler.cjs via node (9 commands). From eric-cielo/moflo.

18 4d ago A tokens not measured original MIT

PostToolUse

02

eric-cielo/moflo

Hook Claude Code

Runs after a tool call finishes for ^(Write, Edit, MultiEdit)$, ^Agent$, ^TaskCreate$, ^(Bash, PowerShell)$, ^Skill$, ^mcp__moflo__memory_(search, retrieve, list, stats, store)$, ^mcp__moflo__memory_store$, ^mcp__moflo__swarm_init$ and ^mcp__moflo__hive-mind_init$ tool calls, executing hook-handler.cjs, gate-hook.mjs…

18 4d ago A tokens not measured copy · 50% MIT

UserPromptSubmit

03

eric-cielo/moflo

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing prompt-hook.mjs, gate-hook.mjs and meditate-capture.mjs via node (3 commands). From eric-cielo/moflo.

18 4d ago A tokens not measured original MIT

SubagentStart

04

eric-cielo/moflo

Hook Claude Code

Runs when a subagent starts, executing subagent-start.cjs via node. From eric-cielo/moflo.

18 4d ago A tokens not measured original MIT

SessionStart

05

eric-cielo/moflo

Hook Claude Code

Runs when a session starts, executing session-start-launcher.mjs and auto-memory-hook.mjs via node (2 commands). From eric-cielo/moflo.

18 4d ago A tokens not measured original MIT

Stop

06

eric-cielo/moflo

Hook Claude Code

Runs when the agent finishes a response, executing hook-handler.cjs, auto-memory-hook.mjs, session-continuity.mjs and meditate-capture.mjs via node (4 commands). From eric-cielo/moflo.

18 4d ago A tokens not measured original MIT

PreCompact

07

eric-cielo/moflo

Hook Claude Code

Runs before the context is compacted, executing gate.cjs via node. From eric-cielo/moflo.

18 4d ago A tokens not measured original MIT

Notification

08

eric-cielo/moflo

Hook Claude Code

Runs when the agent sends a notification, executing hook-handler.cjs via node. From eric-cielo/moflo.

18 4d ago A tokens not measured original MIT