# twin: Obsidian Memory for AI Agents

> Persistent project memory for your coding agent, saved as plain Markdown in your Obsidian vault.

twin: Obsidian Memory for AI Agents is a paid AI agent skill on Agensi by neonn0d, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [neonn0d](https://www.agensi.io/creators/neonn0d)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/twin-obsidian-memory-for-ai-agents
- Tags: llm-ops, mcp-server, obsidian, knowledge-base, context-management

## About this skill

Stop starting every coding session from zero. Without memory, your agent forgets the architecture, repeats failed experiments and rediscovers the same gotchas every time you restart it. This skill gives it persistent project memory through the free, open-source twin MCP server, stored as plain Markdown in your Obsidian vault.

### What it does
- **Persistent context**: saves a project README, daily session logs and topic notes as Markdown you can read and edit in Obsidian.
- **Topic merging**: updates broad topics like `auth` or `database` instead of piling up one-off notes.
- **Session tracking**: records what changed, why, and the concrete next steps for the next session.
- **Discovery logging**: captures verified facts, bug root causes and setup steps as they happen.
- **Mermaid support**: saves system flows and diagrams into the project's notes.

### How it works
1. **Start**: the agent calls `get_project_context` to load the README, next steps and today's log.
2. **Work**: it calls `save_knowledge` when it learns something a future session would otherwise have to rediscover.
3. **Look up**: `search_knowledge` / `get_knowledge` pull up details from past sessions.
4. **Wrap up**: `log_session` summarises the work and `set_next_steps` queues what's next.

If twin isn't installed yet, the skill walks the agent through installing and connecting it.

### Requirements
- twin MCP server: https://github.com/neonn0d/twin (MIT, free)
- Node.js 18+
- An Obsidian vault, or any folder for notes. The Obsidian app itself is optional.

### Why use the skill and not just the server
The server only provides tools; on its own the agent uses them only when you ask. This skill tells the agent when to load context, what is worth saving, how to name topics so notes merge cleanly, and to never save secrets.

### Use cases
- Record why a library version was pinned so a future agent doesn't "fix" it.
- Keep env var requirements and deploy steps in one place.
- Keep a running log of a feature across several days.
- Save Mermaid diagrams of data flows the agent can reference and update.

### Privacy
Everything stays on your machine as Markdown files in your vault. No cloud, no API keys. The skill tells the agent to store where secrets live, never their values.

### Known limitations
The agent must pass the absolute project root as `cwd` so notes land under the right project.

## Requires

- twin MCP
- Node.js 18+
- Obsidian vault or notes folder
- Git

Get the twin MCP server at github.com/neonn0d/twin.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the twin: Obsidian Memory for AI Agents skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does the twin skill prevent my coding agent from losing context between sessions?

It creates a persistent memory layer for AI agents by storing project context, architectural decisions, and session logs in Markdown format, preventing agents from "forgetting" details between restarts.

### Which AI agents and environments are compatible with this skill?

The skill requires the twin MCP server and Node 18 or higher; it works with any AI agent or IDE (like Claude Desktop) that supports the Model Context Protocol (MCP).

### Can I view and edit the memory files manually in Obsidian?

Yes, since all data is saved as standard Markdown files, you can point the skill to an Obsidian vault to visualize your project's knowledge graph and Mermaid diagrams.

### Will this clutter my project folder?

No. Nothing is written to your repo. Notes live in your vault under twin/<project path>/, and saving to an existing topic merges into that note instead of creating a new file, so knowledge stays in a few stable notes like 'auth' or 'database'.

### What's included, and does it cost anything?

A $5/month subscription gives you the twin skill, which teaches your agent when and how to use twin: loading context at the start, what's worth saving, how to name topics so notes merge cleanly, and wrapping up sessions with next steps, plus updates as the skill improves. The twin MCP server itself is free and open source (MIT) at github.com/neonn0d/twin, and the skill walks your agent through installing it if needed.

### Are there any specific technical requirements or limitations I should be aware of?

The skill requires an absolute file path to your project root to organize notes correctly, and users should avoid storing sensitive API keys or secrets within the memory files.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
