Long-term memory across sessions. Always use memory_search at the start of any user request (unless the user explicitly says not to), especially for questions about the user (profile/personal info/preferences), prior constraints or decisions, and resuming ongoing work; use memory_write only when the user explicitly asks to store memory.
memory_write and memory_search.Run memory_search at the start of every task unless the user explicitly says not to.
Run memory_write only when the user explicitly asks to store memory, and only for stable, reusable information.
Do not write secrets, tokens, one-off details, or transient reasoning.
Source the script before using the functions:
source scripts/memory.sh
Optionally override the storage file:
export MEMORY_FILE="$HOME/.codex/memory.jsonl"
${MEMORY_FILE:-~/.codex/memory.jsonl}; create it if missing.ts: ISO8601 timestamptype: string (e.g., note, fact, task, todo)content: string (raw text)tags: optional array of stringsmeta: optional objectmemory_write){type, content, tags?, meta?}.jq; do not hand-build JSON strings.Example:
memory_write '{"type":"note","content":"Prefers terse status updates.","tags":["preference"]}'
memory_search)memory_search(query)
{q, limit?, window_lines?}.q as a literal substring.{results, truncated, used_window_lines}.Example:
memory_search '{"q":"prefers","limit":5,"window_lines":20000}'
下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer