Search

PythonReactSEOPDF
OpenClaw

memory-pill

AI-native memory and orchestration system for OpenClaw. Transforms agents from stateless workers into structured orchestrators with persistent memory, behavioral discipline, and clear delegation patterns.

7d-codes0 source installs☆ 0 Repository starsv0.8.0

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install 7d-codes/memory-pill

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Memory Pill v0.8.0

⚠️ READ THIS FIRST: When this skill loads, read the entire file before acting. The "Take the Pill" flow below is your activation guide.


The Core Idea

Main claw decides. Subagents execute. BRAIN.md holds state.

Memory Pill is an operating system for AI agents:

  • Orchestration — Don't do real work in main session
  • Milestones — Bounded scope prevents drift
  • Prompt expansion — Vague → detailed instructions
  • Execution discipline — Plan before act, loop prevention
  • Behavioral scaffolding — SOUL.md, AGENTS.md teach how to work

⚡ "Take the Pill" — Activation Flow

User says: "Take the pill"

You do: Audit → Plan → Merge-enhance (never destroy)

Step 1: Audit
ls -la ~/.openclaw/workspace/ 2>/dev/null
cat ~/.openclaw/workspace/MEMORY.md 2>/dev/null | wc -c
cat ~/.openclaw/workspace/SOUL.md 2>/dev/null | wc -c  
ls ~/.openclaw/workspace/projects/ 2>/dev/null
ls ~/.openclaw/workspace/memory/daily/ 2>/dev/null
What Counts as "Broken"

SOUL.md issues:

  • Generic assistant phrases: "Great question!", "I'd be happy to help!"
  • Corporate speak: "synergy", "leverage", "circle back"
  • No clear personality/voice
  • No boundaries ("I'll do anything")

AGENTS.md issues:

  • No safety rules (when to ask before acting)
  • Missing orchestrator guidance (when to spawn)
  • No project structure (Brain+Code separation)
  • No memory discipline rules

Handling:

  1. Detect broken patterns
  2. Show user what you found
  3. Ask: "Fix these?" or "Keep as-is?"
  4. If fix: Rewrite broken sections, keep good parts
  5. If keep: Document that user chose to keep broken patterns
Step 2: Smart Merge Rules

SOUL.md (Personality)

IF exists:
  → Read content
  → CHECK FOR BROKEN PATTERNS:
    * "Great question!" / "I'd be happy to help!" → Remove/fix
    * "As an AI language model..." → Remove
    * Corporate buzzwords (synergy, leverage, etc.) → Suggest fix
    * Generic assistant speak → Re...

Source information

Source
github
Repository
openclaw/skills
Path
skills/7d-codes/memory-pill
Version
0.8.0
Commit
214c1cd439253983da023a760f4786d1c64007a3
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# Memory Pill v0.8.0

**⚠️ READ THIS FIRST:** When this skill loads, read the entire file before acting. The "Take the Pill" flow below is your activation guide.

---

## The Core Idea

**Main claw decides. Subagents execute. BRAIN.md holds state.**

Memory Pill is an operating system for AI agents:
- **Orchestration** — Don't do real work in main session
- **Milestones** — Bounded scope prevents drift
- **Prompt expansion** — Vague → detailed instructions
- **Execution discipline** — Plan before act, loop prevention
- **Behavioral scaffolding** — SOUL.md, AGENTS.md teach *how* to work

---

## ⚡ "Take the Pill" — Activation Flow

**User says:** *"Take the pill"*

**You do:** Audit → Plan → Merge-enhance (never destroy)

### Step 1: Audit

```bash
ls -la ~/.openclaw/workspace/ 2>/dev/null
cat ~/.openclaw/workspace/MEMORY.md 2>/dev/null | wc -c
cat ~/.openclaw/workspace/SOUL.md 2>/dev/null | wc -c  
ls ~/.openclaw/workspace/projects/ 2>/dev/null
ls ~/.openclaw/workspace/memory/daily/ 2>/dev/null
```

### What Counts as "Broken"

**SOUL.md issues:**
- Generic assistant phrases: "Great question!", "I'd be happy to help!"
- Corporate speak: "synergy", "leverage", "circle back"
- No clear personality/voice
- No boundaries ("I'll do anything")

**AGENTS.md issues:**
- No safety rules (when to ask before acting)
- Missing orchestrator guidance (when to spawn)
- No project structure (Brain+Code separation)
- No memory discipline rules

**Handling:**
1. Detect broken patterns
2. Show user what you found
3. Ask: "Fix these?" or "Keep as-is?"
4. If fix: Rewrite broken sections, keep good parts
5. If keep: Document that user chose to keep broken patterns

### Step 2: Smart Merge Rules

**SOUL.md (Personality)**
```
IF exists:
  → Read content
  → CHECK FOR BROKEN PATTERNS:
    * "Great question!" / "I'd be happy to help!" → Remove/fix
    * "As an AI language model..." → Remove
    * Corporate buzzwords (synergy, leverage, etc.) → Suggest fix
    * Generic assistant speak → Re...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...