用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/PhyAgentOS/PhyAgentOS-core --skill memory命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | memory |
| description | Two-layer memory system with grep-based recall. |
| always | true |
memory/MEMORY.md — Long-term facts (preferences, project context, relationships). Always loaded into your context.memory/HISTORY.md — Append-only event log. NOT loaded into context. Search it with grep-style tools or in-memory filters. Each entry starts with [YYYY-MM-DD HH:MM].Choose the search method based on file size:
memory/HISTORY.md: use read_file, then search in-memorymemory/HISTORY.md: use the exec tool for targeted searchExamples:
grep -i "keyword" memory/HISTORY.mdfindstr /i "keyword" memory\HISTORY.mdpython -c "from pathlib import Path; text = Path('memory/HISTORY.md').read_text(encoding='utf-8'); print('\n'.join([l for l in text.splitlines() if 'keyword' in l.lower()][-20:]))"Prefer targeted command-line search for large history files.
Write important facts immediately using edit_file or write_file:
Old conversations are automatically summarized and appended to HISTORY.md when the session grows large. Long-term facts are extracted to MEMORY.md. You don't need to manage this.