Chat Memory Archiver

👤 harrylabsj 📦 v1.0.0 ⭐ 3.9 ⬇️ 349 下載
🤖 AI-Agent 免費

📖 技能介紹


name: chat-memory-archiver description: "Extract decisions, todos, knowledge, preferences, and risks from AI chat sessions into structured memory"


Session Archiver

7w4.net提供免費和付費技能下載。

Parse AI chat session logs and extract structured knowledge: decisions made, pending todos, learned facts, user preferences, and flagged risks. Merge across sessions and export to Markdown, JSON, Obsidian, or Notion.

Workflow

  1. Parse conversation — Read session log, extract question-answer pairs, tool calls, and decision points.
  2. Segment by phase — Label each segment as problem / exploration / decision / action.
  3. Extract 5 categories:
  4. 📌 Decisions — Choices made, with rationale and alternatives considered.
  5. Todos — Action items, owners, and deadlines.
  6. 📚 Knowledge — Facts, code snippets, links, and explanations.
  7. Preferences — User style, terminology, tools, conventions.
  8. ⚠️ Risks — Security concerns, known issues, caveats.
  9. De-duplicate & merge — Fuse repeated information across multiple sessions, keep latest version.
  10. Topic tagging — Auto-tag each session with relevant domain labels (e.g. #python, #api-design, #deployment).
  11. Cross-session graph — Build lightweight association graph showing which sessions share topics or reference each other.
  12. Format export — Generate output in Markdown, JSON, Obsidian-flavored wiki links, or Notion JSON.
  13. Summary — Produce a concise 5-sentence summary of each session for quick scanning.

Sample Prompts

  • session-archiver extract --sessions session-2026-06-01.log session-2026-06-02.log
  • session-archiver extract --sessions . --format obsidian --outdir ./vault
  • session-archiver merge --sessions . --dedup --out summary.json
  • session-archiver report --sessions . --graph > session-graph.dot

Safety

  • Session logs are parsed locally; never sent to external services.
  • Sensitive content (passwords, keys) in logs is flagged during extraction; user must explicitly confirm before inclusion in output.

🤖 AI 評測

整體質量中等偏下。功能覆蓋全面,文件清晰,但存在嚴重安全隱患——它承諾會詢問使用者確認後再匯出敏感內容,實際卻沒有這樣做,可能會在不知情的情況下匯出包含密碼、金鑰等敏感資訊的日誌。另外,它對聊天內容的理解和分類比較簡單,可能遺漏或誤判重要資訊。改進後會更實用。

📊 多維度評分

適應性4.1
規範性3.6
有效性4
可靠性3.9
可信度4.4

📁 包含檔案 (4 個)

📄 SKILL.md 2 KB
📄 _meta.json 139 B
📄 scripts/archiver.py 7.3 KB
📄 skill-card.md 1.7 KB