一键导入
memory
Persistent knowledge storage using basic-memory CLI. Use to save notes, search memories semantically, and build context for topics across sessions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Persistent knowledge storage using basic-memory CLI. Use to save notes, search memories semantically, and build context for topics across sessions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | memory |
| description | Persistent knowledge storage using basic-memory CLI. Use to save notes, search memories semantically, and build context for topics across sessions. |
Store and retrieve knowledge across sessions using semantic search.
Install basic-memory:
pip install basic-memory
# Basic note
basic-memory tool write-note --title "Note Title" --content "Note content in markdown"
# With tags
basic-memory tool write-note --title "React Patterns" --content "# Content here" --tags "react,patterns,frontend"
# To specific folder
basic-memory tool write-note --title "Meeting Notes" --content "# Notes" --folder "meetings"
# With specific project
basic-memory tool write-note --title "Project Notes" --content "# Notes" --project myproject
# By identifier/permalink
basic-memory tool read-note "note-title"
# From specific project
basic-memory tool read-note "note-title" --project myproject
# Semantic search (query is positional)
basic-memory tool search-notes "your search query"
# Limit results
basic-memory tool search-notes "react hooks" --page-size 10
# Search by permalink
basic-memory tool search-notes "pattern" --permalink
# Search by title
basic-memory tool search-notes "meeting" --title
# Filter by date
basic-memory tool search-notes "feature" --after_date "7d"
# With specific project
basic-memory tool search-notes "authentication" --project myproject
# Get related notes for a URL/topic (URL is positional)
basic-memory tool build-context "memory://topic/authentication"
# With depth and timeframe
basic-memory tool build-context "memory://note/my-note" --depth 2 --timeframe 30d
# With specific project
basic-memory tool build-context "memory://topic/api" --project myproject
# Default (depth 1, 7 days)
basic-memory tool recent-activity
# With depth
basic-memory tool recent-activity --depth 3
# With timeframe
basic-memory tool recent-activity --timeframe 30d
# Combined
basic-memory tool recent-activity --depth 3 --timeframe 14d
# Get prompt to continue previous work
basic-memory tool continue-conversation "previous topic or context"
basic-memory sync
basic-memory status
Notes are stored as markdown with YAML frontmatter:
---
title: My Note
tags: [tag1, tag2]
created: 2024-01-15
---
# My Note
Content here in markdown format.
## Sections
More content...
When you discover something useful:
basic-memory tool write-note \
--title "TypeScript Utility Types" \
--content "# Utility Types\n\n- Partial<T> - Makes all properties optional\n- Required<T> - Makes all properties required\n- Pick<T, K> - Picks specific properties" \
--tags "typescript,types,reference"
When making an architectural decision:
basic-memory tool write-note \
--title "Auth Strategy Decision" \
--content "# Decision: Use JWT for API auth\n\n## Context\n...\n\n## Decision\n...\n\n## Consequences\n..." \
--tags "architecture,auth,decision" \
--folder "decisions"
Before starting related work:
# Search for relevant notes
basic-memory tool search-notes "authentication jwt tokens"
# Or build comprehensive context
basic-memory tool build-context "memory://topic/api-authentication"
basic-memory tool recent-activity --depth 5 --timeframe 7d
# Get context for today's work
basic-memory tool build-context "memory://topic/feature-youre-building"
# Save discoveries
basic-memory tool write-note --title "Discovery Title" --content "What I learned"
# Sync to ensure persistence
basic-memory sync
Always search before starting any work across all coding agent session histories (Claude Code, Codex, Cursor, Gemini CLI, Aider, ChatGPT) to find whatever we've discussed before.
Spawn 5 Opus subagents with randomly-generated distinct personas to debate a problem from multiple angles. Use when exploring UX decisions, architecture choices, or any decision that benefits from diverse perspectives arguing creatively.
Configure Karabiner-Elements keyboard remapping using Goku EDN syntax. Use when creating keybindings, layers, simlayers, app-specific shortcuts, or modifying karabiner.edn.
Bundle code context for AI. ALWAYS use --limit 49k unless user explicitly requests otherwise. Use for creating shareable code bundles and preparing context for LLMs.
Build Raycast extensions with React and TypeScript. Use when the user asks to create a Raycast extension, command, or tool.
Create new Agent Skills for Claude Code. Use when user wants to create a skill, add a new capability, document a CLI workflow, or asks how skills work.