npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

echoes-vault-opencode

v1.0.4

Published

EchoesVault — persistent memory plugin for OpenCode. Obsidian-style knowledge base with daily logs, encyclopedia pages, and session resumption.

Readme

npm version License: MIT OpenCode


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.

Features

  • Google OKF Compliant — EchoesVault uses Google's Open Knowledge Format (OKF) under the hood. Your knowledge base is 100% interoperable with standard AI parsers and renders natively on GitHub and GitLab.
  • Zero context loss — start every session exactly where you left off. /echoes-start reads the last 3 daily logs and the full knowledge index and feeds them to the AI automatically.
  • Zero setup — on first load the plugin creates the entire vault structure, slash commands, and agent skills by itself. Nothing to configure.
  • Obsidian-compatible vaultEchoesVault/ is a valid Obsidian vault. Open it in Obsidian at any time for visual navigation, graph view, and search.
  • ADR-style documentation — the AI is instructed to write with maximum technical density: API contracts, configuration records, and Architectural Decision Records — not chat transcripts.
  • Active memory management — the AI logs intermediate notes mid-session via echoes_append_to_daily_log, not just at the end. Context is never lost to a crash or accidental close.
  • Deprecation over deletion — outdated pages are marked > [!warning] DEPRECATED and linked to their replacement. The full history is always preserved.
  • Safe and idempotent — commands and skills are only created if they don't exist. Restarting OpenCode never overwrites user edits.

Vault structure

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
---

Requirements

Installation

Add 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.

Usage

Typical session workflow

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:

  • logs intermediate decisions to the daily scratchpad,
  • searches existing pages before writing new code,
  • creates or updates encyclopedia pages when architecture changes.

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.


Slash commands reference

| 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 |

AI tools reference

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 |

Agent skills reference

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 |

License

MIT