Install
openclaw skills install @stevenybw/recall-markdown-memoryRetrieve only relevant sections from Markdown memory, project notes, decision logs, and heading-structured knowledge bases with the mdselect CLI. Use when Codex needs to recall prior context, decisions, preferences, or history from user-specified memory files, paths declared by project instructions, MEMORY.md, memory/, or .agents/memory/. Use only in a shell-enabled environment with mdselect on PATH; do not use for modifying memory or searching non-Markdown files.
openclaw skills install @stevenybw/recall-markdown-memoryRetrieve the smallest Markdown sections that answer the task. Keep the workflow read-only and avoid loading entire memory files when heading-aware selection is available.
Run mdselect --version before reading memory.
If the command is unavailable, stop the workflow and explain that mdselect
must be installed on PATH. Do not install software automatically.
Offer these installation choices:
pipx install mdselect
uv tool install mdselect
python -m pip install mdselect
If none of those package managers or a compatible Python runtime is
available, say that the execution environment must be prepared before this
skill can run. Resume only after mdselect --version succeeds.
Use the first applicable source in this order:
AGENTS.md or other project
instructions.MEMORY.md, memory/**/*.md, and
.agents/memory/**/*.md.Do not scan every Markdown file in the repository by default. When a source is
a directory, narrow candidates with the task's distinctive terms. Prefer rg
when it is available, but use another available file-search capability when it
is not. Keep only Markdown candidates.
mdselect outline <file> for each promising candidate before reading a
large file in full.mdselect select --mpath '<mpath>' <file> and inspect the selected
subtree. Quote paths safely for the active shell.mdselect select -h when more
syntax detail is needed.Treat empty standard output with status 0 as a successful no-match. Consult the outline and refine the mpath instead of reporting a command failure. If the outline is empty, the document may lack supported ATX headings. Fall back to a bounded line search, and read the whole document only when it is small enough for the task context.