بنقرة واحدة
add-memory
Scaffold a new memory storage backend for spaceduck
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new memory storage backend for spaceduck
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Research any topic using web search and browsing, then store a concise summary to memory. Use for scheduled research tasks or one-off deep dives.
Summarize the day's conversations and store key takeaways to long-term memory. Use when running as a scheduled end-of-day review.
Categorize and prioritize incoming messages across channels. Use when triggered by a new message event to decide urgency and routing.
Identify contradictory, stale, or duplicate memories and propose cleanup. Use when running as a scheduled weekly maintenance task.
Scaffold a new messaging channel package for spaceduck
Scaffold a new LLM provider package for spaceduck
| name | add-memory |
| description | Scaffold a new memory storage backend for spaceduck |
Scaffolds a new memory storage backend under packages/memory/<name>/.
EmbeddingProvider (vector DBs do, text-search backends don't)packages/memory/<name>/
package.json # @spaceduck/memory-<name>, depends on @spaceduck/core
src/
store.ts # <Name>ConversationStore implements ConversationStore
long-term.ts # <Name>LongTermMemory implements LongTermMemory
index.ts # barrel export
__tests__/
store.test.ts
long-term.test.ts
ConversationStore interface:import type { ConversationStore, Conversation, Message, Result, MemoryError, Lifecycle } from "@spaceduck/core";
export class <Name>ConversationStore implements ConversationStore, Lifecycle {
// CRUD for conversations and messages
}
LongTermMemory interface:import type { LongTermMemory, Fact, Lifecycle } from "@spaceduck/core";
export class <Name>LongTermMemory implements LongTermMemory, Lifecycle {
// For vector backends: accept EmbeddingProvider via constructor
// recall(query) internally embeds the query and does similarity search
}
@spaceduck/gateway as an alternative to the default SQLite backend