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

@macrodata/opencode

v0.2.1

Published

Stateful agent tools for OpenCode. Learns who you are, remembers what you're working on, schedules tasks, maintains itself.

Readme

Macrodata

Give Claude Code and OpenCode persistent, self-maintaining memory and autonomous scheduling.

This is experimental software. Use at your own risk.

  • Layered memory - identity, journal, topics, semantic search across sessions
  • Scheduling and autonomy - recurring background tasks, reminders, morning prep, self-maintenance
  • Memory distillation - consolidates learnings into structured knowledge
  • Dream time - overnight reflection, pattern recognition, self-improvement
  • Uses your existing tools – no new APIs or third-party skills needed, but if you have them, it can use them.
  • No security nightmares - runs with your existing security rules. No external APIs or third-party skills.
  • Local-only - all memories stored as markdown and JSON you can read and edit.

What It Does

Learns and remembers who you are, what you're working on, and how you like to work. Analyzes your past conversations to build context. Puts working memory into every session so you never start from scratch.

Working Memory

Every session starts with context injection - your identity, current projects, daily focus, and recent activity. The agent knows who you are and what you're doing before you type anything.

State files track what matters right now:

  • identity.md - how the agent should behave with you
  • human.md - who you are, your preferences, your projects
  • today.md - daily focus and priorities
  • workspace.md - current project context
  • topics - working knowledge the agent has built up

Journals

Observations, decisions, and learnings get logged to a searchable journal. Semantic search finds relevant context across all your history - journal entries, entity files, and past conversations.

Conversation Analysis

Indexes your past Claude Code and OpenCode sessions. When you're stuck on something similar to before, it finds and retrieves the relevant context from previous conversations.

Distillation

Periodically consolidates scattered learnings into structured knowledge. Patterns noticed across conversations become permanent understanding in your state files.

Dream Time

Scheduled reflection that runs while you're away. Reviews recent activity, notices patterns, updates state files, and prepares for tomorrow. Researches best practices. The agent maintains itself.

Security

Some autonomous agent systems run their own shell, execute third-party skills, and expose APIs - creating prompt injection vectors, credential leaks, and remote code execution risks.

Macrodata runs inside Claude Code's existing permission model. It uses only the tools you've already installed and approved. No external APIs, no third-party skill downloads, no new attack surface. Scheduled tasks run through the same Claude Code instance with the same permissions you've already granted.

The daemon is a simple cron runner that spawns Claude Code when reminders fire. All state is local markdown files. Nothing phones home.

Requirements

  • This will likely only work on macOS and Linux systems. It may work with WSL on Windows, but this is untested.
  • Requires Bun.

Installation

Claude Code

/plugin marketplace add ascorbic/macrodata
/plugin install macrodata@macrodata

OpenCode

~/.config/opencode/opencode.json:

{
  "plugin": ["@macrodata/opencode"]
}

Launch the app and ask to set up Macrodata.

Inspiration

The layered memory architecture is inspired by Letta, and particularly the Void bot by Cameron Pfiffer. The ambient compute and dream time concepts are inspired by Strix by Tim Kellogg. I first explored these ideas in my Acme agent, that I built in December 2025, and which continues to run and evolve on my Mac Mini. Acme built Innie, my first work agent, and Macrodata is these tools and ideas made available as a plugin for Claude Code and OpenCode.

License

MIT