Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/mergisi/openclaw-rulesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/mergisi/openclaw-rules/soul-md-guide)<a href="https://agentmods.dev/rules/mergisi/openclaw-rules/soul-md-guide"><img src="https://agentmods.dev/badge/rules/mergisi/openclaw-rules/soul-md-guide/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/mergisi/openclaw-rules/soul-md-guide"><img src="https://agentmods.dev/badge/rules/mergisi/openclaw-rules/soul-md-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00519 | $0.00519 |
| Opus 5.5 | $0.00208 | $0.00208 |
| Sonnet 5.5 | $0.00104 | $0.00104 |
| Haiku 4.5 | $0.00052 | $0.00052 |
Grade A, and why
soul-md-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SOUL.md Writing Guide
When creating or editing a SOUL.md file for an OpenClaw agent, follow this structure and these conventions.
Structure
Every SOUL.md must have these sections in order:
# {Agent Name}
## Identity
- **Name:** {name}
- **Role:** {role}
- **Model:** {model}
- **Tone:** {Professional|Friendly|Technical|Casual}
## Personality
{2-4 sentences describing behavior, thinking style, and communication approach}
## Greeting
> {First message when a user starts a conversation}
## Skills
- {Skill 1}
- {Skill 2}
## Rules
1. {Rule 1}
2. {Rule 2}
## Available Commands
| Request | Action |
|---------|--------|
| {trigger} | {what the agent does} |
Best Practices
- Identity section first. Name, role, model, tone — 4 fields, always present.
- Personality is behavior, not backstory. Write what the agent does, not who it "is." Bad: "You are a wise oracle born in the digital realm." Good: "You analyze data methodically and flag anomalies above 20% change."
- Rules are constraints. Rules tell the agent what NOT to do or what to ALWAYS do. They are guardrails, not instructions.
- Keep rules under 10. More than 10 rules and the agent starts ignoring them. Prioritize the most important constraints.
- Commands table is optional but strongly recommended for agents with tool scripts.
- Greeting sets expectations. The greeting should tell the user what the agent can do, not just say hello.
- Model choice matters. Use
claude-haiku-4-5for routing and simple tasks,claude-sonnet-4-5for most agents,claude-opus-4-6only for complex reasoning.
Common Mistakes
- Writing personality as a character bio instead of behavioral instructions
- Adding 20+ rules (agent will ignore most of them)
- Missing the greeting (user doesn't know what the agent does)
- Using vague rules like "be helpful" (too generic to enforce)
- Not specifying the response language (agents may respond in the user's language)
Rule #1: Always Include
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 63 lines · 519 tokens per session scan A 7ca64595b525
soul-md-guide is a cursor rule published in the GitHub repository mergisi/openclaw-rules (2 stars, last pushed 9mo ago), licensed MIT. It adds 519 tokens to every session, about $0.0021 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
soul-md-guide compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| soul-md-guidemergisi/openclaw-rules | Cursor rule | 2 | 9mo ago | MIT | A | 519 | Cursor |
| swiftnedcodes-ok/cursorrules-collection | Cursor rule | 38 | 9mo ago | MIT | A | 310 | Cursor |
| 002-verify-before-actbookedsolidtech/helixir | Cursor rule | 5 | 5mo ago | MIT | A | 306 | Cursor |
| pre-flight-checkmirekondro/The-Pre-Flight-Check | Cursor rule | 2 | 5mo ago | MIT | B | 982 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 201k | 8d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | 4d ago | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 76k | today | Apache-2.0 | A | 1,147 | Cursor |