#9818: coremem-tools: add coremem_recent/coremem_find agent tools
stale
### What
Adds two agent-callable tools for reading CoreMemories as **meeting-style bullet points** (not raw transcript):
- `coremem_recent` — summarize recent Flash (+ optional Warm) entries
- defaults: `hours=48`, `preset=normal` (limit=100)
- presets: quick=20, normal=100, deep=250
- hard cap: 500
- `coremem_find` — keyword search via CoreMemories index + bullet summary
### Why
Gives the agent a lightweight, structured recall mechanism so users can simply ask in chat ("recap last night", "what did we decide") and get a compact meeting-notes summary.
### Notes
- This is a *tooling/UX* layer on top of CoreMemories; it does not modify ingestion.
- Output is intentionally short and grouped (Decisions / Next actions / Notes).
### Testing
- Manual: after enabling CoreMemories ingestion, call the tools and verify output quality.
- Lint: `pnpm lint extensions/coremem-tools/index.ts extensions/coremem-tools/src/tools.ts`
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds a new `coremem-tools` extension that registers two agent-callable tools:
- `coremem_recent`: loads recent Flash (and optionally Warm) CoreMemories entries and formats them into short “meeting notes” sections (Decisions / Next actions / Notes).
- `coremem_find`: keyword-searches CoreMemories and returns the matches in the same bullet-summary format.
The extension is wired via `extensions/coremem-tools/package.json` and `index.ts`, and includes a plugin config schema in `extensions/coremem-tools/openclaw.plugin.json` for default window/limits.
<h3>Confidence Score: 2/5</h3>
- Not safe to merge as-is due to likely runtime load failures in the new extension.
- The new extension appears to import a TS module path and depends on a workspace package (`@openclaw/core-memories` linked to `packages/core-memories`) that doesn’t exist in this repo and has no other usage, so tool invocation/extension loading is likely to fail at runtime.
- extensions/coremem-tools/index.ts; extensions/coremem-tools/src/tools.ts; pnpm-lock.yaml
<!-- greptile_other_comments_section -->
<!-- /greptile_comment -->
Most Similar PRs
#13775: Lucas/enable corememories
by Itslouisbaby · 2026-02-11
76.8%
#9816: core-memories: ingest chat into Flash + capture assistant replies
by Itslouisbaby · 2026-02-05
76.5%
#8795: feat(memory): add Redis-backed long-term memory plugin
by tf-gmail · 2026-02-04
74.6%
#16669: feat(memory-lancedb): add memory_search/memory_get compatibility re...
by ciberponk · 2026-02-15
72.3%
#7480: feat: Add CoreMemories hierarchical memory system
by Itslouisbaby · 2026-02-02
72.1%
#10591: feat(hooks): add session-start-memory bundled hook
by morningstar-daemon · 2026-02-06
71.9%
#19787: feat: Antigravity Fork - Token Economy, Mem0, sqlite-vec, Auto-Arch...
by msrovani · 2026-02-18
71.3%
#19341: Mind Memory Fork
by juliopx · 2026-02-17
70.7%
#9678: Cross-agent memory read allowlist
by Helmi · 2026-02-05
70.3%
#22733: feat(plugin): add runner-extensions extension
by cintia09 · 2026-02-21
70.3%