Ai Memory Obsidian 标志

Ai Memory Obsidian

社区
kipperacademy
ai-memory-obsidian

Portable workflows for persistent memory and Obsidian across macOS, Linux, and Windows. Use when the user asks to recall or save past context, record decisions, create vault notes, or configure ai-memory, Obsidian CLI, or an Obsidian MCP bridge.

概览

发布者kipperacademy
代码仓库skillpper
技能名称ai-memory-obsidian
星标数
169
复刻数
27
附带文件
5
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 kipperacademy 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ai Memory Obsidian AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/kipperacademy/skillpper/tree/main/ai-memory-obsidian
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kipperacademy/skillpper.git /tmp/skillpper
mkdir -p .claude/skills
cp -r /tmp/skillpper/ai-memory-obsidian .claude/skills/ai-memory-obsidian
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ai Memory Obsidian,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ai Memory Obsidian。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ai Memory Obsidian 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

AI Memory & Obsidian 🧠📚

A skill providing long-term persistent memory and documentation governance for AI coding agents (Claude Code, Antigravity, Cursor, and others) using local Obsidian vaults and memory engines such as ai-memory.

This skill supports macOS, Linux, and Windows. Choose native paths and agent configuration for the user's environment; see the Cross-Platform Setup Guide.


⚡ Quick Install

bash
npx skills add https://github.com/kipperdev/skillpper --skill ai-memory-obsidian

🎯 Why Persistent Memory?

By default, AI coding agents are amnesic: every /clear or fresh session discards past conversational history, architectural trade-offs, and domain knowledge.

This skill equips agents with a systematic protocol to:

  1. Check Memory First: Search local vault notes before re-reading dozens of repository files or asking the developer to restate previous decisions.
  2. Document Decisions Automatically: Log Architectural Decision Records (ADRs) and atomic notes in standardized Markdown.
  3. Execute Frictionless Handoffs: Wrap up sessions with structured state snapshots and 1-line resume commands.

⚙️ Integration Modes (MCP & Local Vault)

Agents can connect to Obsidian through two key-free interfaces:

  1. MCPVault filesystem bridge:
    • Reads and writes the vault directory through MCP using @bitbonsai/mcpvault; Obsidian does not need to be running.
  2. Official Obsidian CLI:
    • Controls the desktop app through shell commands. It requires Obsidian 1.12.7+ and the app running. These options work across macOS, Linux, and Windows when configured with the native vault path and the chosen agent's supported MCP or shell setup. See the Cross-Platform Setup Guide.

The ai-memory daemon provides a separate persistent memory interface:

  • A background local service indexing agent sessions, tool observations, and handoffs in SQLite/FTS5.
  • Enables full-text queries via CLI or MCP (memory_query, memory_status).

(See comprehensive setup instructions in the MCP Setup Guide).


📋 Execution Protocol

1. Task Inception (The "Memory First" Rule)

  • When a task refers to past context ("as we discussed", "resume where we left off", "according to our decision"):
    • Search configured memory tools first (for example, memory_query or the Obsidian MCP search/read tools).
    • Provide a concise 1-line confirmation to the developer: 🧠 Memory consulted: Found records in [[Architecture-Decision-JWT]] and [[Session-2026-09-25]].
    • If no memory integration is configured, continue from available context and offer setup only when it would help; do not assume a vault path.

2. Active Development (Capturing Decisions)

  • When a significant technical decision is finalized (library choice, naming convention, schema design):
    • Draft or write an ADR in decisions/ADR-YYYY-MM-DD-<slug>.md.
    • Use standard ADR statuses (accepted, proposed, deprecated, superseded).
    • Keep each note focused on one decision or concept. Link related notes instead of copying their full contents.
    • If no vault is configured, keep the decision in the project's existing documentation or ask whether the user wants to configure a vault.

3. Session Wrap-up (Handoff & Daily Note)

  • When reaching logical milestones or session limits:
    • Generate an end-of-session note in sessions/Session-YYYY-MM-DD-<id>.md or append to dailies/Daily-YYYY-MM-DD.md.
    • Provide a 1-line resume command for the user to paste into the next session.
    • Use automatic ai-memory handoff when the agent already provides it; avoid duplicating the same handoff in a vault note.

🛡️ Markdown & Obsidian Integrity Rules

  1. Sensitive Data Exclusion: Before saving notes or enabling automatic capture, exclude credentials, API keys, tokens, passwords, private keys, environment dumps, personal vault paths, and confidential file contents. Store only a redacted description. Never copy .env files, credential stores, or complete tool output into the vault or ai-memory. Ask for consent before persisting content whose sensitivity is unclear.
  2. Vault Boundary: Keep the vault outside public repositories. Do not commit, publish, symlink, or expose the vault root through a project workspace. Grant an agent access only to the intended vault or subdirectory.
  3. HTML/JSX Encapsulation: This workflow keeps raw HTML, JSX, and SVG out of Markdown bodies unless they are inside an appropriately labelled code block. This avoids accidental rendering and malformed documents.
  4. Clean Wikilinks: Prefer standard [[Note-Name]] internal links to keep the Obsidian knowledge graph interconnected.
  5. Additive History: Session logs and daily entries are strictly additive. Never summarize by destructively overwriting previous notes.

📚 Supporting References

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ai Memory Obsidian AI 技能有什么作用?

Portable workflows for persistent memory and Obsidian across macOS, Linux, and Windows. Use when the user asks to recall or save past context, record decisions, create vault notes, or configure ai-memory, Obsidian CLI, or an Obsidian MCP bridge.

为什么在 TypingMind 中使用 Ai Memory Obsidian?

因为您只需安装一次,就能搭配任何模型使用。Ai Memory Obsidian 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ai Memory Obsidian?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/kipperacademy/skillpper/tree/main/ai-memory-obsidian。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ai Memory Obsidian?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ai Memory Obsidian 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ai Memory Obsidian 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ai Memory Obsidian AI 技能免费吗?

kipperacademy 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇