
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
@macrodata/opencode
Advanced tools
Persistent local memory for AI coding agents - journal, semantic search, reminders, and context injection
Local file-based memory for Claude Code. Zero infrastructure, fully offline.
Using OpenCode? See opencode-macrodata for the OpenCode plugin.
/plugin marketplace add ascorbic/macrodata
/plugin install macrodata@macrodata
~/.config/macrodata/~/.config/macrodata/
├── state/
│ ├── identity.md # Agent persona
│ ├── today.md # Daily focus
│ ├── human.md # User profile
│ ├── workspace.md # Current project context
│ └── topics.md # Working knowledge index
├── entities/
│ ├── people/ # One file per person
│ └── projects/ # One file per project
├── journal/ # JSONL, date-partitioned
├── signals/ # Raw events for future analysis
├── .schedules.json # Reminders config
└── .index/
├── vectors/ # Memory embeddings
└── conversations/ # Conversation embeddings
| Tool | Purpose |
|---|---|
get_context | Paths and dynamic context (schedules, recent journal) |
log_journal | Append timestamped entry (auto-indexed for search) |
get_recent_journal | Get recent entries, optionally filtered by topic |
log_signal | Log raw events for later analysis |
search_memory | Semantic search across journal and entities |
rebuild_memory_index | Rebuild the search index from scratch |
get_memory_index_stats | Index statistics |
| Tool | Purpose |
|---|---|
search_conversations | Search past sessions (project-biased, time-weighted) |
expand_conversation | Load full context from a past conversation |
rebuild_conversation_index | Index Claude Code's conversation logs |
get_conversation_index_stats | Conversation index statistics |
| Tool | Purpose |
|---|---|
save_conversation_summary | Save session summary for context recovery |
get_recent_summaries | Retrieve recent session summaries |
| Tool | Purpose |
|---|---|
schedule_reminder | Create recurring reminder (cron) |
schedule_once | Create one-shot reminder |
list_reminders | List active schedules |
remove_reminder | Delete a reminder |
The plugin uses Claude Code hooks for automatic behavior:
| Hook | Behavior |
|---|---|
SessionStart | Start daemon, inject context |
UserPromptSubmit | Inject pending reminders |
PreCompact | Auto-save conversation summary before compaction |
SessionEnd | Save summary if significant work was done |
PostToolUse (Bash) | Auto-log git commands |
PostToolUse (Write/Edit) | Auto-log file changes |
On first run (no state/identity.md exists), the plugin will prompt you to set up your identity:
The agent will create your state/identity.md and initial state files.
To use a custom storage directory, create ~/.claude/macrodata.json:
{
"root": "/path/to/your/macrodata"
}
Default location is ~/.config/macrodata.
A background daemon handles:
The daemon is automatically started by the hook script on session start.
cd plugins/macrodata
bun install
# Run MCP server
bun run start
# Run daemon
bun run daemon
# Type check
bun run check
FAQs
Stateful agent tools for OpenCode. Learns who you are, remembers what you're working on, schedules tasks, maintains itself.
The npm package @macrodata/opencode receives a total of 14 weekly downloads. As such, @macrodata/opencode popularity was classified as not popular.
We found that @macrodata/opencode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.