Remember

parcadei/continuous-claude-v3/.claude/skills/remember

作者 parcadeid07ff4b06b62無授權條款3.9K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫8 個月前更新

Store a learning, pattern, or decision in the memory system for future recall

僅含說明AI & Agents
AI 產生的概覽

把經驗、模式或決策存入代理記憶系統,供日後檢索。

功能
把一則經驗、模式或決策記錄到記憶系統中,以便日後檢索。它會將內容連同 BGE 嵌入存入 PostgreSQL,在未指定類型時自動判斷學習類型,從內容中擷取標籤,並傳回附有 ID 的確認訊息。支援的類型包括有效解決方案、架構決策、程式碼庫模式、失敗做法和錯誤修正。
適用情境
當工作中得到的經驗需要保留下來供日後檢索時使用,例如有效的修正方式、設計決策、反覆出現的程式碼庫模式,或失敗的做法。透過手動輸入一段簡短描述來呼叫。
執行需求
需要搭配 BGE 嵌入的 PostgreSQL 資料庫、CLAUDE_OPC_DIR 環境變數、uv 執行環境,以及所引用儲存庫中的 store_learning.py 指令碼。此技能本身不附帶指令碼,只提供指示。

Remember - Store Learning in Memory

Store a learning, pattern, or decision in the memory system for future recall.

Usage

/remember <what you learned>

Or with explicit type:

/remember --type WORKING_SOLUTION <what you learned>

Examples

/remember TypeScript hooks require npm install before they work/remember --type ARCHITECTURAL_DECISION Session affinity uses terminal PID/remember --type FAILED_APPROACH Don't use subshell for store_learning command

What It Does

  1. Stores the learning in PostgreSQL with BGE embeddings
  2. Auto-detects learning type if not specified
  3. Extracts tags from content
  4. Returns confirmation with ID

Learning Types

TypeUse For
WORKING_SOLUTIONFixes, solutions that worked (default)
ARCHITECTURAL_DECISIONDesign choices, system structure
CODEBASE_PATTERNPatterns discovered in code
FAILED_APPROACHWhat didn't work
ERROR_FIXSpecific error resolutions

Execution

When this skill is invoked, run:

bash
cd $CLAUDE_OPC_DIR && PYTHONPATH=. uv run python scripts/core/store_learning.py \  --session-id "manual-$(date +%Y%m%d-%H%M)" \  --type <TYPE or WORKING_SOLUTION> \  --content "<ARGS>" \  --context "manual entry via /remember" \  --confidence medium

Auto-Type Detection

If no --type specified, infer from content:

  • Contains "error", "fix", "bug" → ERROR_FIX
  • Contains "decided", "chose", "architecture" → ARCHITECTURAL_DECISION
  • Contains "pattern", "always", "convention" → CODEBASE_PATTERN
  • Contains "failed", "didn't work", "don't" → FAILED_APPROACH
  • Default → WORKING_SOLUTION

來源與署名

來源:parcadei/continuous-claude-v3位於.claude/skills/remember提交d07ff4b

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架