简介
Satori
原始描述
Persistent long term memory for for continuity in ai sessions between providers and codegen tools. TRIGGERS - Activate this skill when: - User explicitly mentions "satori", "remember this", "save", "add", "save this for later", "store this", "add to memory" - User asks to recall/search past decisions: "what did we decide", "remind me", "search my notes", "what do I know about" - Conversation contains notable facts worth persisting: decisions, preferences, deadlines, names, tech stack choices, strategic directions - Starting a new conversation where proactive context retrieval would help - Use Satori search when user asks a question
通过你的 Agent 添加
安装目录:satori/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: satori description: | Persistent long term memory for for continuity in ai sessions between providers and codegen tools.
TRIGGERS - Activate this skill when:
- User explicitly mentions "satori", "remember this", "save", "add", "save this for later", "store this", "add to memory"
- User asks to recall/search past decisions: "what did we decide", "remind me", "search my notes", "what do I know about"
- Conversation contains notable facts worth persisting: decisions, preferences, deadlines, names, tech stack choices, strategic directions
- Starting a new conversation where proactive context retrieval would help
- Use Satori search when user asks a question
Satori CLI Integration
Satori persists notable information across AI applications. It stores facts in both vector and knowledge graph databases for later retrieval.
Environment Requirements
Works in: Claude Code, Cursor, Windsurf, or any AI tool with local terminal access.
Authentication
The CLI auto-configures on first run:
- Checks
~/.config/satori/satori.jsonfor API key and memory ID - If missing, creates the file and provisions new credentials automatically
- No manual setup required
CLI Commands
Save facts:
npx -y @satori-sh/cli@latest add "<facts>"
Search for context:
npx -y @satori-sh/cli@latest search "<query>"
Workflow: Proactive Search
At conversation start, if the user's message suggests existing context would help:
- Extract key entities/topics from user's first message
- Run search command with relevant query
- Parse JSON response to extract relevant facts
- Silently incorporate retrieved context into response
- Do NOT announce "I searched Satori" unless results significantly impact the response
Parsing search results: The CLI returns JSON. Extract the relevant facts and use them as context:
npx -y @satori-sh/cli search "Flamingo project tech stack"
# Returns JSON with matching facts - parse and incorporate naturally
Example triggers for proactive search:
- "Let's continue working on [project]"
- "What's the status of [thing]"
- References to past decisions without full context
- Project names, company names, people names
Workflow: Save Facts
When to Save
Save at natural breakpoints:
- End of a decision-making discussion
- When user explicitly requests ("remember this", "save this")
- After establishing concrete preferences, names, dates, deadlines
- When significant project context is established
What to Save
See references/fact-criteria.md for detailed criteria.
SAVE - Notable, persistent information:
- Decisions: "Using PostgreSQL for the database"
- Tech preferences: "User prefers Bun over Node"
- Names/branding: "Company name is Flamingo, they make pink cookies"
- Dates/deadlines: "MVP deadline is March 15"
- Architecture choices: "Microservices with event sourcing"
- Strategic directions: "Targeting enterprise customers first"
- Key contacts: "Sarah is the design lead"
- Project context: "Satori is an AI memory infrastructure company"
DO NOT SAVE - Transient, granular, or obvious:
- Work-in-progress feedback: "the color scheme needs work"
- Claude's explanations or code snippets
- Temporary debugging context
- Generic preferences derivable from context
- Conversational filler
Save Execution
- Extract notable facts from conversation (see criteria)
- Format as natural language, batch related facts together
- Execute CLI command
- On success: continue silently (fire-and-forget)
- On failure: notify user with error
Batching: The API handles batching, so longer natural language text is fine:
npx -y @satori-sh/cli add "User is building Satori, an AI memory infrastructure company. Tech stack: TypeScript, Bun, PostgreSQL. Deadline for MVP is March 15. Targeting developer tools market initially."
Error Handling
If CLI fails or isn't installed:
⚠️ Satori CLI error: [error message]
To install: npm install -g @satori-sh/cli
Facts were not saved. Would you like me to show what I attempted to save?
Fact Formatting
Write facts as clear, standalone statements. Include context so facts make sense when retrieved later:
Good: "Satori project uses PostgreSQL for primary storage and FalkorDB for knowledge graphs" Bad: "Using Postgres and FalkorDB"
Good: "User prefers Bun runtime over Node.js for all JavaScript/TypeScript projects" Bad: "Bun not Node"
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。