Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计提醒

memory-index-manager内存索引管理器

Agent Skill

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

总安装

4,467

周安装

188

GitHub Stars

公开资料未说明

下载量

1,564
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install memory-index-manager

简介

记忆索引系统。用于管理长期项目记忆、自动维护索引、快速定位历史项目。仅在用户明确说"回忆一下""remember""recall"时触发读取,写入与OpenClaw原生机制保持一致,索引维护在后台自动进行。

SKILL.md

name
memory-index-manager
description
记忆索引系统。用于管理长期项目记忆、自动维护索引、快速定位历史项目。仅在用户明确说"回忆一下""remember""recall"时触发读取,写入与OpenClaw原生机制保持一致,索引维护在后台自动进行。

Memory Index Manager

A skill for project continuity and memory reconstruction. Maintains a curated index of topics with multi-generation consolidation to help recover context across long-running conversations.

Core Design

Trigger Rules

OperationTriggerBehavior
ReadUser explicitly says "回忆一下" / "remember" / "recall" / "记不记得"Check INDEX.md → read consolidation → respond
WriteOpenClaw native flush (pre-compaction)Write to memory/YYYY-MM-DD.md as usual
Index UpdateEnd of conversation + heartbeatPropose new entries, update dates, consolidate if needed
Daily FlushEvery day at 11:00 AMArchive yesterday's memory, update INDEX, check consolidation

Philosophy

  • Passive by default: Doesn't interrupt normal workflow
  • Active on request: Full context recovery when explicitly asked
  • Automatic maintenance: Index upkeep happens in background

File Structure

memory/
├── INDEX.md                    # Master index of tracked topics
├── MEMORY.md                   # Native long-term memory (OpenClaw)
├── YYYY-MM-DD.md               # Daily memories (OpenClaw native writes)
└── consolidated/               # Multi-generation consolidations
    ├── {topic}-gen1-YYYY-MM-DD.md
    ├── {topic}-gen2-YYYY-MM-DD.md
    └── ...

INDEX.md Format

# Memory Index

## Projects
- **project-slug**
  - Dates: [2025-03-20, 2025-03-22, 2025-03-25, 2025-04-01]
  - Consolidations:
    - gen1 (2025-03-25): consolidated/project-slug-gen1-2025-03-25.md
  - Current: consolidated/project-slug-gen1-2025-03-25.md
  - Status: active | completed | paused | abandoned

## Major Events
- **event-slug**: [2025-03-15]
  - Description: Brief description

## Decisions
- **decision-slug**: [2025-03-10, 2025-03-12]
  - Consolidations:
    - gen1 (2025-03-12): consolidated/decision-slug-gen1-2025-03-12.md
  - Current: consolidated/decision-slug-gen1-2025-03-12.md

Workflows

1. Explicit Recall ("回忆一下")

User trigger: "回忆一下那个网站项目" / "Remember the website project?"

Agent workflow:

1. Read INDEX.md
2. Find matching topic (fuzzy match on name)
3. If found:
   a. Read Current consolidation file
   b. Read today's memory/YYYY-MM-DD.md for fresh updates
   c. Synthesize and respond
4. If not found in INDEX:
   a. Fall back to memory_search("website project")
   b. Respond with search results
   c. (Optional) Propose adding to index if significant

2. Native Write (Automatic)

Trigger: OpenClaw pre-compaction flush or user says "remember this"

Behavior: Write to memory/YYYY-MM-DD.md per OpenClaw native rules

No skill involvement - this is pure OpenClaw behavior.

3. Index Maintenance (Background)

Trigger: End of conversation OR heartbeat

Agent workflow:

1. Review today's memory file
2. Identify topics worth indexing:
   - New projects started
   - Major events occurred
   - Important decisions made
   - Existing indexed topics mentioned
3. For existing topics: add today's date to Dates list
4. Propose new index entries to user (if autoPropose enabled)
5. Check consolidation threshold:
   - Count dates since last consolidation
   - If > 3: propose consolidation to user
   - On approval: create gen{N+1} consolidation

4. Daily Flush (11:00 AM)

Trigger: System cron job at 11:00 AM daily

Agent workflow:

1. Identify yesterday's date (YYYY-MM-DD)
2. Check if yesterday's memory file exists
   - If not: create empty file with <!-- DAILY_FLUSH --> marker
3. Execute OpenClaw native memory storage:
   - Append <!-- NATIVE_FLUSH --> to yesterday's file
   - Archive any in-memory context from yesterday
4. Execute Skill index update:
   - Scan yesterday's file for index-worthy topics
   - Update INDEX.md with yesterday's date
   - Check if any topic needs consolidation (>3 days)
5. Initialize today's memory file (if not exists)
6. Log flush completion

Daily Flush Script: ~/.openclaw/scripts/daily-flush.sh Launchd Config: ~/Library/LaunchAgents/com.openclaw.daily-flush.plist

Purpose: Ensure yesterday's memory is properly archived even if:

  • User didn't explicitly say "remember"
  • Session didn't reach memoryFlush threshold
  • System was restarted

Consolidation Rules

When to Consolidate

A topic needs new consolidation when:

  • It has >3 dates (excluding today) since last consolidation

Consolidation Process

  1. Create new file: consolidated/{topic}-gen{N}-{today}.md
  2. Sources:

- Previous generation consolidation (if N>1) - Daily memories from dates since last consolidation

  1. Content structure:
   # {Topic} - Generation {N} Consolidation

   **Created**: 2025-04-15
   **Covers**: 2025-04-01 to 2025-04-15
   **Previous**: consolidated/{topic}-gen{N-1}-{date}.md

   ## Summary
   [Compiled narrative of all covered periods]

   ## Key Points
   - Point 1
   - Point 2

   ## Decisions Made
   - Decision 1

   ## Current Status
   [Where things stand now]

   ## Source References
   - gen{N-1}: [key info from previous consolidation]
   - 2025-04-01: [what happened]
   - 2025-04-05: [what happened]
   - ...
  1. Mark sources archived: Add <!-- ARCHIVED: consolidated into {file} --> to daily files
  2. Update INDEX.md: Add consolidation entry, update Current pointer

Categories

CategoryDescriptionExample
ProjectsMulti-day efforts with deliverableswebsite redesign, app development
Major EventsSignificant life/career changesjob change, relocation
DecisionsChoices with lasting impacttech stack, vendor selection
PreferencesPersonal settings that persistcommunication style, tools

Configuration

memory-index-manager/config.json:

{
  "consolidationThreshold": 3,
  "autoProposeIndex": true,
  "categories": ["Projects", "Major Events", "Decisions", "Preferences"],
  "indexFile": "memory/INDEX.md",
  "consolidatedDir": "memory/consolidated",
  "recallTriggers": ["回忆一下", "remember", "recall", "记不记得"]
}

Integration with OpenClaw Native Memory

AspectNative OpenClawThis Skill
Storagememory/*.mdINDEX.md + consolidated/*.md
Write timingAuto (flush) + ManualSame (no change)
Read timingAny searchOnly on explicit recall trigger
Search methodSemantic (memory_search)Index lookup + targeted read
GranularityChunk-level (~400 tokens)Topic-level consolidation

Key point: This skill's files are stored in memory/ and indexed by OpenClaw's semantic search, but the skill only activates on explicit recall requests.


Example Session

[Day 1 - 2025-03-20]
User: "Let's start a new project: building a personal blog"
Agent: [writes to memory/2025-03-20.md]
Agent: "I'll track this as 'personal-blog' project. Adding to index?"
User: "Yes"
→ Creates INDEX.md entry: personal-blog, Dates: [2025-03-20]

[Day 2 - 2025-03-22]
User: "For the blog, let's use Next.js"
Agent: [writes to memory/2025-03-22.md]
→ Updates INDEX.md: personal-blog Dates: [2025-03-20, 2025-03-22]

[Day 3 - 2025-03-25]
User: "Blog hosting should be Vercel"
Agent: [writes to memory/2025-03-25.md]
→ Updates INDEX.md: personal-blog Dates: [2025-03-20, 2025-03-22, 2025-03-25]
→ TRIGGER: 3 dates, proposes consolidation
User: "Go ahead"
→ Creates consolidated/personal-blog-gen1-2025-03-25.md
→ Archives daily files

[Day 7 - 2025-04-05]
User: "回忆一下博客项目"
Agent: [reads INDEX.md → finds personal-blog]
Agent: [reads consolidated/personal-blog-gen1-2025-03-25.md]
Agent: "We started the personal blog project on March 20th. We decided to use Next.js 
        (March 22nd) and host on Vercel (March 25th). The project is currently active."

Migration from v1.0.0

Breaking Changes:

  • 旧版本触发条件(每天9:00 AM、创建项目时等)已移除
  • 改为纯按需触发("回忆一下"),减少干扰
  • 索引格式兼容,可无缝迁移

升级步骤:

  1. 备份现有的 memory/INDEX.md
  2. 更新 skill 到 2.0.0
  3. 继续使用,索引文件自动兼容

Usage Examples

User SaysAgent Action
"回忆一下那个网站项目"查 INDEX.md → 读 consolidation → 回答
"remember the blog project"同上,支持英文触发
"把这个加入索引"询问分类 → 创建 INDEX.md 条目
"显示索引"展示 INDEX.md 内容
"Consolidate blog project"检查阈值 → 执行整合

Notes

  • Index entries are append-only; mark deprecated rather than delete
  • Consolidated files are immutable; new generations for updates
  • Daily memories marked archived are preserved but skipped by default
  • User can force deep read: "check the original March 20th file"

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.27%
按下载量换算1,334

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills