← Back to Skills Marketplace
1622
Downloads
0
Stars
12
Active Installs
1
Versions
Install in OpenClaw
/install memory-on-demand
Description
按需记忆检索。当用户询问历史相关问题时,自动搜索 memory 和 QMD 获取相关信息。
Usage Guidance
This skill will search your local QMD index and files under ~/.openclaw/workspace/memory/ when trigger keywords appear. Before installing: (1) confirm you are comfortable with the agent reading those local memory files; (2) ensure the referenced tools (qmd, memory_search) exist on your system — the metadata doesn't declare them explicitly; (3) verify what 'QMD' and the workspace configuration refer to in your environment; and (4) consider whether automatic triggering on the listed keywords is acceptable or if you prefer an explicit user opt-in to avoid accidental retrieval of sensitive memories. If you want higher assurance, ask the author to declare required binaries and to provide a minimal test log showing exactly which commands will run and what files will be read.
Capability Analysis
Type: OpenClaw Skill
Name: memory-on-demand
Version: 1.0.0
The `SKILL.md` file instructs the AI agent to execute shell commands like `grep -r "关键词" ~/.openclaw/workspace/memory/` and `qmd search "关键词"`. The '关键词' placeholder is intended to be filled with user input. If the agent does not rigorously sanitize this user input before embedding it into the shell commands, it creates a significant shell injection vulnerability, potentially leading to arbitrary command execution (RCE). This is a critical vulnerability, not direct malice, making the skill suspicious.
Capability Assessment
Purpose & Capability
The skill's name/description (on-demand memory retrieval) matches the actions in SKILL.md: searching a QMD index and local memory files. Requesting access to a memory folder is expected for this purpose. One minor inconsistency: the instructions call external tools (qmd, memory_search) although the skill metadata declares no required binaries.
Instruction Scope
Instructions explicitly tell the agent to run 'qmd search' and grep the ~/.openclaw/workspace/memory/ directory. Reading those local files is within the stated purpose, but the SKILL.md gives the agent direct permission to read the user's memory directory and to invoke qmd/memory_search commands — confirm you are comfortable with that level of local data access.
Install Mechanism
There is no install spec and no code files (instruction-only), so nothing will be written to disk by an installer. This lowers risk; however, the runtime relies on external tools that must already exist on the system (qmd, optional memory_search).
Credentials
No environment variables, credentials, or config paths are requested in the metadata. The SKILL.md only references a local workspace path (~/.openclaw/workspace/memory/), which is proportionate to a memory-retrieval skill.
Persistence & Privilege
The skill is not always-on and is user-invocable; it does not request elevated or persistent platform privileges. Autonomous invocation is allowed by default, which is normal for skills and not an extra privilege here.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install memory-on-demand - After installation, invoke the skill by name or use
/memory-on-demand - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of memory-on-demand skill for automatic memory retrieval.
- Detects and responds to user queries involving historical context using keywords (e.g., "之前", "历史", "还记得吗").
- Prioritizes QMD search for faster, more accurate results; uses memory file search as a fallback.
- Returns organized search results to the user automatically.
- Minimizes resource use by only searching memory when needed.
Metadata
Frequently Asked Questions
What is Memory On Demand?
按需记忆检索。当用户询问历史相关问题时,自动搜索 memory 和 QMD 获取相关信息。 It is an AI Agent Skill for Claude Code / OpenClaw, with 1622 downloads so far.
How do I install Memory On Demand?
Run "/install memory-on-demand" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Memory On Demand free?
Yes, Memory On Demand is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Memory On Demand support?
Memory On Demand is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Memory On Demand?
It is built and maintained by aeoleader (@aeoleader); the current version is v1.0.0.
More Skills