Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@macrodata/opencode

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@macrodata/opencode

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

Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
14
-56.25%
Maintainers
1
Weekly downloads
 
Created
Source

Macrodata

A Claude Code and OpenCode plugin that gives it the tools of a stateful agent, packaged so you can still use it for normal work.

  • Layered memory - identity, journal, semantic search across sessions
  • Scheduling and autonomy - background tasks, morning prep, maintenance
  • Memory distillation - consolidates learnings into structured knowledge
  • Dream time - overnight reflection, pattern recognition, self-improvement
  • No security nightmares - runs with your existing tools and security rules. No external APIs or third-party skills. Memory stays in local files.

Local-only. Everything 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. Analyses 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 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.

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.

License

MIT

Keywords

opencode

FAQs

Package last updated on 04 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts