Session Slim
OpenCode TUI plugin to slim a session: check which Q&A turns to keep, then delete the rest (V1) or revert them from the model context (V2 — the platform reverts a contiguous tail and never touches files)
0
774
774 in 7 days
37.7
Multi-signal model
4 days ago
2026-10-16
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-session-slim@2.0.0"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-session-slim@2.0.0"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-session-slimOpenCode 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
Session Diff
opencode-session-diff
OpenCode sidebar panel listing the current session's file changes (±line counts)
Quotes Tui
opencode-quotes-tui
OpenCode TUI plugin that replaces the home screen tips with a random quote
Session Recap
@kitlangton/opencode-session-recap
Transient session recaps for the OpenCode V2 TUI