# 5 SOUL.md Patterns That Transform Your OpenClaw Agent

After testing dozens of configurations, these 5 patterns consistently produce better OpenClaw agents.

## 1. The Expertise Stack

```markdown
## Expertise
- Languages: Python 3.12, TypeScript 5.x
- Frameworks: FastAPI, Next.js 14
- Databases: PostgreSQL 16, Redis 7
- Infrastructure: Docker, AWS ECS
```

Reduces irrelevant suggestions by ~40%.

## 2. The Anti-Pattern List

```markdown
## Never
- Execute destructive commands without confirmation
- Commit directly to main
- Include real API keys in output
- Over-engineer simple problems
```

Your safety net against LLM people-pleasing.

## 3. The Communication Contract

```markdown
## Communication
- Default: concise (under 200 words)
- Code questions: show code first, explain after
- When unsure: say so instead of guessing
- Never use: "Great question!", "I'd be happy to help!"
```

Eliminates the corporate chatbot feel.

## 4. The Decision Hierarchy

```markdown
## Priorities
1. Security > Convenience
2. Reversible > Efficient
3. Simple > Clever
4. Working > Perfect
5. Ask > Assume
```

Prevents bad calls in ambiguous situations.

## 5. The Memory Protocol

```markdown
## Memory
- Read MEMORY.md at session start
- Log important decisions with reasoning
- When corrected, note it to avoid repeating
```

Your agent gets smarter over time.

## Resources

- [Free Starter Pack (5 templates)](https://aiagenttools.gumroad.com/l/kqbdva?utm_source=hashnode&utm_medium=article&utm_campaign=starterpack)
- [100 Production Templates ($9.90)](https://aiagenttools.gumroad.com/l/jryauv?utm_source=hashnode&utm_medium=article&utm_campaign=megapack)
- [OpenClaw Guide](https://openclawguide.org)

---

## Recommended Tools

- [Vultr](https://www.vultr.com/?ref=9738617-8H&utm_source=hashnode&utm_medium=article&utm_campaign=vultr) — cloud VPS hosting
- [Typeless](https://www.typeless.com/?via=rae&utm_source=hashnode&utm_medium=article&utm_campaign=typeless) — AI voice typing

