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

obsidian-memory

v0.1.0

Published

Universal memory layer for AI coding agents, powered by Obsidian

Readme

obsidian-memory

Universal memory layer for AI coding agents, powered by Obsidian.

Start work in Claude Code, switch to Cursor, continue in Antigravity — your AI agents share persistent memory through an Obsidian vault. Decisions, conventions, progress, and session context survive across agents and sessions.

Requirements

Installation

bunx obsidian-memory init

Or install globally:

bun add -g obsidian-memory

Quick Start

# In your project directory:
bunx obsidian-memory init --vault ObsidianMemory --project my-app

# Check everything is working:
obsidian-memory status

This creates:

  • .obsidian-memory.json — project config
  • AGENTS.md — memory protocol (read by all agents)
  • Agent-specific config files for detected agents

Supported Agents

| Agent | Config Generated | How It Integrates | |-------|-----------------|-------------------| | Claude Code | CLAUDE.md with @AGENTS.md import | Reads AGENTS.md via @import | | Cursor | .cursor/rules/memory.mdc | Always-applied rule | | Antigravity | GEMINI.md with @AGENTS.md import | Reads AGENTS.md via @import | | OpenCode | opencode.json instructions field | Loads AGENTS.md as instruction | | ForgeCode | forge.yaml custom_rules | References AGENTS.md |

Agents are auto-detected during init. Override with --agents:

obsidian-memory init --vault MyVault --project my-app --agents claude-code cursor

Commands

obsidian-memory init

Set up memory for a project.

obsidian-memory init --vault <name> --project <name> [--vault-path <path>] [--agents <agents...>]
  • --vault — Obsidian vault name
  • --project — Project identifier
  • --vault-path — Create the vault folder structure at this path
  • --agents — Which agents to configure (auto-detected if omitted)

obsidian-memory status

Check system health.

obsidian-memory status

Reports: config found, Obsidian running, CLI available, search capability.

obsidian-memory load-context

Load project context from the vault. Outputs consolidated markdown with project info, decisions, conventions, and recent sessions.

obsidian-memory load-context [--no-conventions] [--no-decisions] [--sessions <n>]

obsidian-memory save-session

Save a session summary to the vault.

obsidian-memory save-session \
  --agent claude-code \
  --summary "Implemented auth flow" \
  --decisions "Use JWT" "Store in httpOnly cookies" \
  --files "src/auth.ts" "src/middleware.ts" \
  --next "Add refresh token rotation"

obsidian-memory search <query>

Search the memory vault.

obsidian-memory search "authentication decisions"
obsidian-memory search "auth" --path Memory/Projects/

Uses obsidian-hybrid-search for semantic search when available, falls back to Obsidian CLI keyword search.

obsidian-memory consolidate

Merge old session notes into monthly journal entries.

obsidian-memory consolidate --days 30 --auto

Vault Structure

The memory vault uses this structure:

Memory/
├── Index.md                    # Auto-maintained master index
├── Projects/
│   └── {project-name}/
│       ├── context.md          # Tech stack, architecture, conventions
│       ├── decisions.md        # Decision log
│       └── progress.md         # Current state, todos, blockers
├── Conventions/                # Shared coding standards
├── Sessions/
│   └── YYYY-MM-DD-agent-hash.md  # Session summaries
├── Journal/
│   └── YYYY-MM.md             # Monthly consolidated journal
└── Templates/
    ├── session.md
    ├── project.md
    └── decision.md

All notes use Obsidian-native markdown with YAML frontmatter, wikilinks, and tags — fully browsable in Obsidian's graph view.

How It Works

  1. Agent reads AGENTS.md → learns the memory protocol
  2. Session start → agent runs obsidian-memory load-context to load prior context
  3. During work → agent saves decisions and progress as needed
  4. Session end → agent runs obsidian-memory save-session to persist a summary
  5. Next session (any agent) → picks up exactly where the previous one left off

No MCP server, no custom embedding engine. Agents use shell commands directly.

Troubleshooting

"Obsidian is not running" — Start the Obsidian desktop app. The CLI requires it.

"No .obsidian-memory.json found" — Run obsidian-memory init in your project directory.

"vault not found" — Open the vault in Obsidian first, or check the vault name in .obsidian-memory.json.

Search returns no results — Ensure the Memory/ folder exists in the vault and has content.

License

MIT