by psinetron
Persistent memory plugin for OpenCode. Obsidian-style knowledge base that survives across sessions
# Add to your Claude Code skills
git clone https://github.com/psinetron/echoes-vault-opencodeGuides for using ai agents skills like echoes-vault-opencode.
Last scanned: 6/23/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-06-23T07:50:04.222Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}echoes-vault-opencode is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by psinetron. Persistent memory plugin for OpenCode. Obsidian-style knowledge base that survives across sessions. It has 153 GitHub stars.
Yes. echoes-vault-opencode passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/psinetron/echoes-vault-opencode" and add it to your Claude Code skills directory (see the Installation section above).
echoes-vault-opencode is primarily written in TypeScript. It is open-source under psinetron on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh echoes-vault-opencode against similar tools.
No comments yet. Be the first to share your thoughts!
AI agents forget everything when a session ends. EchoesVault gives OpenCode a persistent, file-based memory: architectural decisions, daily work logs, and a searchable project encyclopedia — all stored as plain Markdown in your repository.
/echoes-start reads the last 3 daily logs and the full knowledge index and feeds them to the AI automatically.EchoesVault/ is a valid Obsidian vault. Open it in Obsidian at any time for visual navigation, graph view, and search.echoes_append_to_daily_log, not just at the end. Context is never lost to a crash or accidental close.> [!warning] DEPRECATED and linked to their replacement. The full history is always preserved.The plugin creates and manages the following directory inside your project:
EchoesVault/
├── index.md — master registry: one-line description of every page
├── pages/ — project encyclopedia (Markdown, YAML frontmatter, [[wikilinks]])
├── daily/ — session work logs (YYYY-MM-DD.md)
├── assets/ — diagrams, schematics, hardware pinouts
└── raw/ — read-only source materials
Every page in pages/ starts with YAML frontmatter. The type property is strictly enforced to maintain OKF compliance:
---
type: architecture
stack: [nestjs, react]
status: active
---
>= 1.16.0echoes-vault-opencodeAdd the plugin to your opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["echoes-vault-opencode"]
}
OpenCode installs the package automatically via Bun on next startup. On first run the plugin bootstraps the vault, registers the slash commands, and installs the agent skills — no manual steps required.
1. First time in a project — initialize the vault:
/echoes-init
The AI reads EchoesVault/index.md, acknowledges the rules, and lists any existing knowledge. On a fresh vault it confirms initialization.
2. Start of every subsequent session — restore context:
/echoes-start
Reads the last 3 daily logs and the full index, then summarizes where you left off and what the immediate next steps are. Also lints the index for duplicates or contradictions.
3. Work normally. During the session the AI uses the vault tools autonomously:
4. End of session — save everything:
/echoes-end
The AI distills the session into a dense technical summary, writes new encyclopedia pages for any concepts decided today, and updates the index. All via a single tool call.
Vault status is never automatic: the user controls its transitions with /echoes-init, /echoes-start, and /echoes-end. In particular, Memory Saved is shown only after /echoes-end. Agents may add intermediate scratchpad notes during work, but those notes do not change the session status.
| Command | Description |
|---|---|
/echoes-init |
Initialize the vault and brief the AI on the knowledge base rules |
/echoes-start |
Start session — restore context from the last 3 daily logs and the index |
/echoes-end |
End session — distill and commit session memory to the vault |
/echoes-status |
Report vault health, statistics, and scalability |
These tools are available to the AI during any session.
| Tool | Description |
|---|---|
commit_memory_to_echoes_vault |
Save a daily summary, create new pages, and update the index in one atomic call |
echoes_append_to_daily_log |
Append a timestamped note to today's daily log mid-session |
echoes_search_vault_pages |
Search pages/ by keyword and return matching lines with file and line number |
echoes_create_or_update_page |
Atomically create or overwrite a page in pages/, auto-syncing the index |
Skills guide the AI on when and how to use the tools above. They are loaded on-demand via the OpenCode skill tool.
| Skill | Description |
|---|---|
echoes_append_to_daily_log |
Exact trigger conditions and rules for mid-session logging |
echoes_search_vault_pages |
When to search the vault before generating code |
echoes_create_or_update_page |
When to create vs. update a page, deprecation rules |
Check the current version in the badge at the top of this page, then run:
opencode plugin echoes-vault-opencode@X.X.X --force
Replace X.X.X with the latest version from the npm page. The --force flag is required to overwrite the cached version.
After updating, restart OpenCode to apply the changes.
If EchoesVault helps streamline your workflow, consider supporting the project. There are several ways you can help:
1. Give it a Star The easiest way to support EchoesVault is to click the Star 🌟 button at the top of this repository. It helps more developers discover the tool and encourages further development.
2. Direct Sponsorship Click the Sponsor button at the top of this repository (next to the Star button) to open the sponsorship dialog and choose how you'd like to support the development directly.
3. OpenCode GO Subscription EchoesVault is built on top of OpenCode. By subscribing to OpenCode GO, you unlock unlimited agent usage. Using this referral link gives you a $5 discount on your subscription and helps fund my work at the same time.