soulflowGeneral-purpose AI workflow framework for OpenClaw. Build custom multi-step workflows for any task — dev, ops, research, content, or automation. Ships with dev workflow examples.
Install via ClawdBot CLI:
clawdbot install 0xtommythomas-dev/soulflowA framework for building custom AI workflows. Each workflow is a series of steps that execute in isolated agent sessions with full tool access. Define your workflow in JSON, invoke it naturally, and let the agents handle the execution.
What you can build:
Ships with 3 example dev workflows to show you how it works. Build your own for anything.
Natural language (easiest):
Just tell your agent what you need:
Your agent reads this SKILL.md and invokes SoulFlow automatically.
Command line:
cd ~/.openclaw/workspace/soulflow
# Run a security audit
node soulflow.js run security-audit "Audit the codebase at ~/project for vulnerabilities"
# Fix a bug
node soulflow.js run bug-fix "Login returns 500 when email has uppercase letters in ~/myapp"
# Build a feature
node soulflow.js run feature-dev "Add dark mode toggle to the settings page in ~/myapp"
SoulFlow connects to your local OpenClaw gateway via WebSocket and runs each workflow step as an isolated agent session. A dedicated soulflow-worker agent is auto-created with minimal context — no memory bleed from your main agent.
Each step:
Auto-notifications (v1.1.0+): When workflows complete, SoulFlow automatically notifies the main agent session with results. No need to manually check status.
These are examples to show what's possible. Build your own for any domain.
Scan → Prioritize → Fix → Verify
Development example: Reads your source files, identifies vulnerabilities by severity, applies fixes, then verifies them.
Triage → Fix → Verify
Development example: Investigates the root cause by reading code, applies the fix, then verifies it didn't introduce regressions.
Plan → Implement → Review
Development example: Architects the implementation plan, writes the code, then reviews for quality and correctness.
Want content workflows? Research pipelines? Deploy automation? Create your own .workflow.json — see Custom Workflows below.
node soulflow.js run <workflow> "<task>" # Run a workflow
node soulflow.js list # List available workflows
node soulflow.js runs # List past runs
node soulflow.js status [run-id] # Check run status
node soulflow.js test # Test gateway connection
The agent knows how to invoke SoulFlow for you. Just describe what you want:
Security audits:
Bug fixes:
Features:
How it works:
node soulflow.js run "" Pattern matching: The agent matches your message to workflows:
No workflow matches? Agent will ask which workflow you want or suggest creating a custom one.
You can create workflows for ANY task. Define them in JSON and place in the workflows/ directory.
Tell your agent:
"Create a SoulFlow workflow for [your use case]"
Examples:
Your agent will:
.workflow.json file to workflows/Create a .workflow.json file in the workflows/ directory:
{
"id": "my-workflow",
"name": "My Custom Workflow",
"version": 1,
"description": "What this workflow does",
"steps": [
{
"id": "step1",
"name": "First Step",
"input": "Do this thing: {{task}}",
"expects": "STATUS: done",
"maxRetries": 1
},
{
"id": "step2",
"name": "Second Step",
"input": "Now do this based on step 1:\n\n{{step1_output}}\n\nOriginal task: {{task}}",
"expects": "STATUS: done",
"maxRetries": 1
}
]
}
{{task}} — The user's original task description{{stepid_output}} — Full output from a previous step (e.g. {{scan_output}})KEY: value lines in step output become variables (e.g. ROOT_CAUSE: ... → {{root_cause}})For best results, write prompts that:
read to examine the file", "Use edit to apply the fix"soulflow-worker agent with minimal brain files~/.openclaw/workspace/.soulflow/runs/What SoulFlow does to your OpenClaw instance:
~/.openclaw/openclaw.json) to obtain the authentication token needed to connect via WebSocket~/.openclaw/openclaw.json) via config.patch to register the soulflow-worker agentsoulflow-worker) with minimal brain files (SOUL.md only, no memory/history)~/.openclaw/workspace/.soulflow/runs/ as JSON filesWhy these permissions are needed:
openclaw CLI tool)Security considerations:
Recommended practices:
.workflow.json files before running~/.openclaw/workspace/.soulflow/runs/ for workflow execution logsWhen the user requests a workflow (security audit, bug fix, feature build, etc.), you should:
workflows/*.workflow.json for other options
cd /root/.openclaw/workspace/soulflow && node soulflow.js run <workflow> "<task>"
Example:
User: "Run a security audit on ~/myapp"
You: [exec] cd /root/.openclaw/workspace/soulflow && node soulflow.js run security-audit "Audit ~/myapp for vulnerabilities"
Creating workflows for users:
If the user asks you to create a custom workflow:
.workflow.json file to /root/.openclaw/workspace/soulflow/workflows/See CONTRIBUTING.md for workflow design best practices.
Generated Mar 1, 2026
Automates security vulnerability scanning and remediation in codebases, identifying issues by severity and applying fixes with verification steps. Ideal for development teams needing continuous security compliance without manual oversight.
Streamlines content workflows from research and drafting to editing and publishing, using AI agents to handle each step in isolation. Useful for marketing agencies or bloggers seeking efficient, automated content pipelines.
Manages deployment pipelines with automated testing, building, deployment, health verification, and rollback on failure. Suited for DevOps teams aiming to reduce manual errors and improve deployment reliability.
Facilitates research workflows by gathering data, analyzing findings, synthesizing insights, and generating reports. Beneficial for researchers or analysts needing structured, automated data processing and documentation.
Enables rapid development of e-commerce features like referral systems or UI enhancements, with planning, implementation, and review phases handled by AI agents. Ideal for online retailers looking to innovate quickly.
Offers SoulFlow as a cloud-hosted service with tiered subscriptions for individuals, teams, and enterprises, including premium support and custom workflow templates. Generates recurring revenue through monthly or annual fees.
Sells on-premise licenses to large organizations for integration into existing OpenClaw deployments, with added features like advanced security controls and dedicated training. Revenue comes from one-time license sales and maintenance contracts.
Creates a marketplace where users can buy, sell, or share custom workflow templates, with revenue from transaction fees or premium listings. Encourages community contributions and expands the tool's utility across industries.
💬 Integration Tip
Ensure Node.js is installed and OpenClaw gateway is running locally; start with example workflows to test connectivity before building custom ones.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection