openclaw - 💡(How to fix) Fix ShieldCortex preamble advertises `remember`/`recall`/`forget`/`get_context` MCP tools that openclaw doesn't expose [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#70184Fetched 2026-04-23 07:28:06
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Participants

The shieldcortex skill bundled with OpenClaw (v4.10.4 in this install) wires a SessionStart hook that instructs the model to proactively call MCP tools named remember, recall, forget, and get_context. The OpenClaw MCP server this release ships only exposes mcp__openclaw__memory_search and mcp__openclaw__memory_get — both read-only and file-backed. There is no write path from the model into the ShieldCortex SQLite store via MCP.

Result: the skill's contract and the host's MCP surface are out of sync. Models follow the skill's guidance, call tools that don't exist, and the user perceives the agent as unable to remember.

Error Message

  1. Declare a skill/MCP compatibility contract. Skills should declare the MCP tools they require; OpenClaw should warn at skill load time if the host's MCP server doesn't expose them (or refuse to wire the hook).

Root Cause

The shieldcortex skill bundled with OpenClaw (v4.10.4 in this install) wires a SessionStart hook that instructs the model to proactively call MCP tools named remember, recall, forget, and get_context. The OpenClaw MCP server this release ships only exposes mcp__openclaw__memory_search and mcp__openclaw__memory_get — both read-only and file-backed. There is no write path from the model into the ShieldCortex SQLite store via MCP.

Result: the skill's contract and the host's MCP surface are out of sync. Models follow the skill's guidance, call tools that don't exist, and the user perceives the agent as unable to remember.

RAW_BUFFERClick to expand / collapse

Summary

The shieldcortex skill bundled with OpenClaw (v4.10.4 in this install) wires a SessionStart hook that instructs the model to proactively call MCP tools named remember, recall, forget, and get_context. The OpenClaw MCP server this release ships only exposes mcp__openclaw__memory_search and mcp__openclaw__memory_get — both read-only and file-backed. There is no write path from the model into the ShieldCortex SQLite store via MCP.

Result: the skill's contract and the host's MCP surface are out of sync. Models follow the skill's guidance, call tools that don't exist, and the user perceives the agent as unable to remember.

Evidence

  • shieldcortex --version4.10.4
  • /home/ubuntu/.openclaw/workspace/skills/shieldcortex/_meta.json → version 4.10.4, slug shieldcortex
  • Deferred tool list exposed to the model (from <system-reminder> at session start): only mcp__openclaw__memory_search and mcp__openclaw__memory_get under the memory namespace. No remember/recall/forget/get_context anywhere.
  • File-based memory (what memory_search/memory_get read) lives at MEMORY.md + memory/*.md per global CLAUDE.md — separate from the SQLite store at ~/.shieldcortex/memories.db.

What I'd expect from OpenClaw

One of:

  1. Ship the write-side MCP tools. Add mcp__openclaw__memory_remember / memory_forget that write to ~/.shieldcortex/memories.db, so the skill's preamble is honest.
  2. Declare a skill/MCP compatibility contract. Skills should declare the MCP tools they require; OpenClaw should warn at skill load time if the host's MCP server doesn't expose them (or refuse to wire the hook).
  3. Document the split. If the intent is "file-based memory (MEMORY.md) is the source of truth and ShieldCortex is advisory", the global CLAUDE.md and the skill preamble both need to say so — right now they contradict each other.

Related

Filed against ShieldCortex separately (bug: SessionStart hook fires on every resume, plus tool-name mismatch). This issue is about the host-side contract gap, not the skill's internal behavior.

extent analysis

TL;DR

The most likely fix is to update the OpenClaw MCP server to expose write-side tools like mcp__openclaw__memory_remember and memory_forget that write to the ShieldCortex SQLite store.

Guidance

  • Verify the version of OpenClaw and ShieldCortex to ensure compatibility and check for any known issues or updates that may address the contract gap.
  • Review the skill's preamble and the host's MCP surface to identify any discrepancies in the tools exposed and required.
  • Consider implementing a compatibility contract between skills and the host's MCP server to warn or refuse to wire hooks if required tools are not exposed.
  • Check the documentation of ShieldCortex and OpenClaw to see if there are any plans to address the split between file-based memory and the SQLite store.

Example

No code snippet is provided as the issue is related to the contract gap between the skill and the host's MCP server, and not a specific code implementation.

Notes

The issue highlights a contract gap between the ShieldCortex skill and the OpenClaw MCP server, which may be resolved by updating the OpenClaw MCP server or implementing a compatibility contract. However, without further information on the specific requirements and constraints of the system, it is difficult to provide a more detailed solution.

Recommendation

Apply a workaround by updating the OpenClaw MCP server to expose the required write-side tools, as this addresses the root cause of the issue and allows the skill to function as intended.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING