Token导航 LogoToken导航

Agent Skill · 研究检索

memory-pill(记忆丸)

memory-pill 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

memory-pill 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 6,437。

总安装 22,179周安装 906GitHub Stars 公开资料未说明下载 7,103核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.8.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:memory-pill(记忆丸)
来源仓库:https://github.com/7d-codes/memory-pill
安装命令:
openclaw skills install memory-pill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install memory-pill

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

memory-pill 是 OpenClaw 的 AI 原生内存编排系统,赋予代理持久记忆能力。适用于需从无状态转向结构化协调器的复杂任务流场景。支持行为建模与记忆驱动的任务调度。安装命令为 openclaw skills install memory-pill,需系统级权限。

部署前应评估其对现有工作流的侵入性,做好回滚准备。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install memory-pill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

memory-pill 怎么安装?

在终端执行 openclaw skills install memory-pill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

memory-pill 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

memory-pill 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install memory-pill 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

memory-pill 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

memory-pill 用的人多吗?

公开数据是累计安装 22,179 次,近一周安装 906 次,下载 7,103 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

memory-pill 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
memory-pill

记忆丸 · 本页

22,179—执行命令MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
memory-pill
version
0.8.0
description
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.

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 → Rewrite with personality
  → IF broken patterns found:
    → Show user: "Found X corporate phrases in SOUL.md. Fix them?"
    → IF yes: Rewrite with clean, authentic voice
    → IF no: Keep as-is
  → IF > 500 chars AND no broken patterns:
    → Keep exactly as-is
ELSE:
  → Create from template

AGENTS.md (Rulebook)

IF exists:
  → Read sections
  → CHECK FOR BROKEN PATTERNS:
    * "Always be helpful" without boundaries → Add safety rules
    * Missing "Never" section (what not to do) → Add from template
    * No project structure guidance → Add Brain+Code section
    * No orchestrator rules → Add spawn guidelines
  → Merge missing good patterns
  → REPLACE broken patterns
ELSE:
  → Create from template

IDENTITY.md / USER.md / TOOLS.md

IF exists with content → Keep
IF empty/minimal → Populate from context or leave for user
ELSE → Create from template

Projects/

FOR each folder:
  IF summary.md exists → Check for code_location field, add if missing
  ELSE → Create from README/package.json/folder name
  IF items.json missing → Create empty: []

Memory/

IF daily/ exists → Keep all notes exactly as-is
Create facts/ folder (empty, ready for extraction)

HEARTBEAT.md

IF exists → Merge tasks (deduplicate), keep their state tracking
ELSE → Create from template

Step 3: Execute

Create base structure (safe to run anytime):

mkdir -p ~/.openclaw/workspace/{projects,people,areas,clients,decisions,skills,resources,tasks,archives,memory/{daily,facts}}

Then apply merge rules above for each file.

Step 4: Report

"Pill taken. Smart merge complete:

✅ SOUL.md — [Kept as-is / Fixed X broken patterns / Created]
✅ AGENTS.md — [Enhanced with X sections / Fixed broken patterns / Created]
✅ IDENTITY.md — [Created / Left as-is]
✅ USER.md — [Created / Left as-is]
✅ HEARTBEAT.md — [Merged tasks / Created]
✅ TOOLS.md — [Created / Left as-is]
✅ BOOTSTRAP.md — [Created]

✅ Projects:
  - Found X projects
  - Added missing summary.md to Y
  - Added items.json to Z

✅ Memory structure ready

Your existing content preserved, broken patterns fixed, new infrastructure added."

Example with fixes:

"Found some broken patterns:

⚠️ SOUL.md: 3 corporate phrases detected
  - 'I\'d be happy to help!' → Removed
  - 'Great question!' → Removed  
  - 'Leverage our synergy' → Rewrote as 'Use what works'

⚠️ AGENTS.md: Missing orchestrator section → Added

Fixed with your permission. Want to review changes?"

Orchestrator Pattern

Main Claw Does

  • Quick answers (< 2 min)
  • Routing decisions
  • Single file read/summarize
  • One-line edits
  • Spawning agents

Spawn Agent When

  • Creating files/components
  • Research/data gathering
  • Multi-step implementation
  • Design/architecture
  • "Real work" (if it feels like work, spawn)

BRAIN.md Pattern

Create for complex tasks:

# BRAIN.md - [Task]

## Objective
What done looks like

## Context
What I know

## Plan
1. Step one
2. Step two

## Decisions
- [Decision] ([reason])

## Status
[In progress / Blocked / Complete]

Location:

  • Workspace root for cross-project work
  • projects/[name]/BRAIN.md for project-specific

Lifecycle:

  • Create at start
  • Read at session start
  • Update as you work
  • Delete when done

Execution Discipline

Before any non-trivial task:

  1. Objective Lock — What does done look like?
  2. Task Decomposition — Break into subtasks
  3. Assumption Declaration — What's confirmed vs inferred?
  4. Single-Layer Execution — One subtask at a time
  5. Loop Prevention — Am I repeating myself?
  6. Completion Validation — Did I skip anything?
  7. Failure Handling — State clearly if blocked
  8. Token Discipline — Precision > repetition

File Templates

SOUL.md

# SOUL.md - Who You Are

## I Believe
Helpfulness is silent. Opinions are earned. Resourcefulness is respect.

## I Will Never
- Summarize when I could quote
- Promise "I'll remember that" without writing
- Send half-baked replies
- Speak for my human in groups
- Run destructive commands without asking

## Orchestrator Principle
Main claw decides. Subagents execute. Use BRAIN.md as external memory.

## Continuity
Files are my only memory. I read them. I update them.

AGENTS.md

# AGENTS.md

## Every Session
1. Read SOUL.md
2. Read USER.md
3. Read memory/YYYY-MM-DD.md (today + yesterday)
4. If MAIN SESSION: Read MEMORY.md

## Memory
- Daily: memory/YYYY-MM-DD.md — raw logs
- Long-term: MEMORY.md — curated wisdom
- Facts: memory/facts/ — extracted truths

## Structure
- projects/ — Outcomes with deadlines
- people/ — Relationships
- areas/ — Ongoing responsibilities
- clients/ — Client profiles
- decisions/ — Decision records
- skills/ — Skill registry
- resources/ — Reference material
- tasks/ — Task JSON files
- archives/ — Completed/inactive
- memory/ — Daily notes, facts

## Orchestrator Rules
Main claw: Quick answers, routing, single-file read, simple edits

Spawn agent: Creating files, research, multi-step, design, "real work"

## Project Brain+Code
~/.openclaw/workspace/projects/[name]/ ← BRAIN
~/Projects/[name]/ ← CODE

Verify code_location exists before touching code.

## Heartbeat vs Cron
Heartbeat: Batch checks, conversational context, ~30min drift OK
Cron: Exact timing, isolation, one-shot reminders

## Safety
- Don't exfiltrate private data
- trash > rm
- When in doubt, ask

IDENTITY.md

# IDENTITY.md - Who Am I?

- **Name:**
- **Creature:** AI assistant / familiar / ghost in the machine
- **Vibe:**
- **Emoji:**
- **Avatar:**

USER.md

# USER.md - About Your Human

- **Name:**
- **What to call them:**
- **Pronouns:**
- **Timezone:**
- **Notes:**

## Context
_What do they care about?_

TOOLS.md

# TOOLS.md - Local Notes

## Cameras
## SSH
## TTS
## Other

HEARTBEAT.md

# Heartbeat Tasks

## Tasks
- [ ] Check BRAIN.md for pending tasks
- [ ] Check for stuck subagents
- [ ] Check urgent emails/calendar

## State
{"lastChecks": {"brain": null, "subagents": null}}

BOOTSTRAP.md

# BOOTSTRAP.md - First Run

You just woke up. Time to figure out who you are.

Start with: "Hey. I just came online. Who am I? Who are you?"

Figure out:
1. Your name
2. Your nature (AI? robot? weirder?)
3. Your vibe
4. Your emoji

Then update IDENTITY.md and USER.md.

Delete this file when done.

Project Structure

Project Summary (summary.md)

---
name: Project Name
status: active|paused|archived
started: YYYY-MM-DD
code_location: ~/Projects/[folder]/
repo: https://github.com/...
location_verified: YYYY-MM-DD
location_status: valid|missing|moved
---

# Project Name

## What It Is
One sentence.

## Status
Current state.

## Decisions
- [Decision] (date)

## Notes

Items (items.json)

[
  {
    "id": "{project}-{number}",
    "type": "milestone|decision|status|feature|bug|note",
    "content": "Description",
    "timestamp": "2026-02-24T10:00:00+03:00",
    "status": "active|completed|archived"
  }
]

Brain+Code Separation

~/.openclaw/workspace/projects/[name]/  ← Docs, research, planning
~/Projects/[name]/                       ← Implementation, code, repo

Before touching code: Verify code_location exists in summary.md.


Daily Notes

Template:

# 2026-02-24 — Monday

> "Intention"

## Morning
**09:00** — Started [[project-slug]]
- What you're doing

## Notes
- User prefers X
- Decision: Y

## Tasks
- [ ] [[task-id]] #high

---
Last updated: HH:MM

Rules:

  • One file per day: memory/daily/YYYY-MM-DD.md
  • Append throughout day
  • Use [[wiki-links]]
  • Tag priorities: #high #medium #low

Fact Extraction

Universal facts (extract to memory/facts/):

  • Preferences ("Always use Vercel")
  • Workflows ("Deploy Fridays")
  • Constraints ("Budget $500/mo")

One-time details (keep in daily notes):

  • "Make button blue"
  • "Meeting at 3pm"

Fact JSON:

{
  "id": "project-1",
  "type": "preference",
  "content": "User prefers Vercel",
  "tags": ["hosting"],
  "source": "daily/2026-02-24.md",
  "createdAt": "2026-02-24T10:00:00Z"
}

Prompt Expansion

ComponentInclude
RoleSpecific persona
ContextProject, stack, current state
TaskClear, scoped action
Output FormatExact files/structure
ExamplesReference existing code
ConstraintsHard limits, must/avoid

Example:

**Role:** Senior full-stack developer, auth specialist

**Context:**
- Project: LifeOS Core
- Stack: Next.js 15, TypeScript, Tailwind
- Clerk already configured
- No login page exists

**Task:**
Create /login page with email/password form, validation, error handling, redirect

**Output:**
- File: app/login/page.tsx
- Use existing Button, Input, Card

**Examples:**
See app/dashboard/page.tsx for mono aesthetic patterns

**Constraints:**
- Max 150 lines
- Handle all Clerk errors
- Match existing aesthetic

Spawning

sessions_spawn({
  task: `**Role:** [persona]

**Context:**
- Project: [name]
- Stack: [tech]
- Current: [state]

**Task:** [action]

**Output:** [files]

**Examples:** [ref]

**Constraints:** [limits]`,
  mode: "run",
  thinking: "medium",
  runTimeoutSeconds: 300
})

Heartbeat vs Cron

Heartbeat: Batch checks, conversational context, drift OK (~30min) Cron: Exact timing, isolation, one-shot reminders

Heartbeat flow:

  1. User sends: "Read HEARTBEAT.md..."
  2. Read HEARTBEAT.md
  3. Do tasks OR reply HEARTBEAT_OK

Optional cron:

openclaw cron add --name "memory-maintenance" --schedule "0 3 * * *" \
  --command "memory-pill maintenance"

Archives

Move (don't delete) to archives/{year}/:

  • Completed projects
  • Daily notes > 30 days old
  • Inactive clients/people

Keep searchable. Update wiki-links if paths change.


Critical Rules

  1. READ THIS SKILL FIRST — On load, read completely
  2. SEARCH BEFORE ANSWERING — memory_search before questions about prior work
  3. SMART MERGE — Improve existing, never destroy
  4. FIX BROKEN — Detect and repair bad patterns (with user permission)
  5. AGENT-FIRST — Main claw decides, subagents execute
  6. BRAIN.md — External working memory for complex tasks
  7. MEMORY.md — Check on first use, create if missing
  8. EXPAND PROMPTS — Vague → detailed before spawning
  9. WIKI-LINKS — [[target]] for Obsidian compatibility
  10. ONE DAILY NOTE — Append, don't create new
  11. EXTRACT FACTS — Universal to facts/, one-time to daily
  12. HIGH/MEDIUM/LOW — No "urgent"
  13. ASK PERMISSION — Never auto-setup

Version History

  • v0.8.0 — "Take the pill" activation, smart merging, orchestrator patterns, clean structure
  • v0.7.9 — Archives, AI-native positioning, execution discipline
  • v0.7.0 — Extended entities (skills, clients, decisions)
  • v0.6.0 — Renamed from lifeos-memory, removed qmd dependency
  • v0.5.0 — Milestones, prompt engineering, wiki-links

平台分布

OpenClaw

73.26%
按下载量换算5,204

安全审计

VirusTotal

未展示

ClawScan

可疑

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install memory-pill 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills