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.
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 78 GitHub stars.
echoes-vault-opencode's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
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!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
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.
| 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 |