Dynamic Context Pruning
Plugin that trims conversation context to save tokens
What it is
An OpenCode plugin that prunes the conversation as it grows, removing material that is no longer needed so long sessions use fewer tokens. The maintainer says new work has moved to a separate proxy called Sleev, but the plugin remains available.
Good for
- Cut token use in long sessions
- Keep context focused on the current task
Install or run
opencode plugin add @tarquinen/opencode-dcp@latestCommand as given in the project README. Read the repository before you run anything on your machine.
Worth knowingMaintenance mode; the author recommends its successor for new features. AGPL-3.0 licensed.
Sources
- https://github.com/Tarquinen/opencode-dynamic-context-pruning (project README, read 13 Nov 2026)
- https://api.github.com/repos/Tarquinen/opencode-dynamic-context-pruning (GitHub API, read 13 Nov 2026)
The summary is ours, written from the README. Spotted an error? See how we work.