Atlas Compact
OpenCode plugin: retention-targeted compaction — compress sessions to ~45% instead of dust, preserving goals, constraints, paths, and errors
0
1,437
149 in 7 days
39.2
Multi-signal model
10 days ago
2026-10-10
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-atlas-compact@0.3.4"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-atlas-compact@0.3.4"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-atlas-compactOpenCode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
No README provided
Missing documentation usually means the project is still early. Check the source repository for details.
Similar plugins
Better Compact
better-compact
OpenCode plugin that improves long-session context with boundary-time pruning
Autocompact
@hacky.software/opencode-autocompact
Claude Code-style autocompact for OpenCode V2 with a per-session threshold: /autocompact 500k compacts a session and its children once the live context reaches that many tokens.
Jev Compaction
opencode-jev-compaction
opencode plugins that shrink context by deleting provably-stale tool calls and truncating the rest, deterministically first, with an optional local Laya backend.