Opencode-DCP/opencode-dynamic-context-pruning
Dynamic context pruning plugin for OpenCode - intelligently manages conversation context to optimize token usage observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 98
- Release rhythm 86
- Longevity 20
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 287
- days_rel: 17
- days_push: 17
- n_releases_24m: 68
Adoption not part of the score
4085 stars · 228 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A plugin for OpenCode that dynamically prunes and compresses conversation context to reduce token usage when working with LLMs. It replaces stale or redundant content with placeholders and summaries without modifying session history.
Use cases
- reduce token usage in long OpenCode coding sessions
- compress stale conversation history into summaries
- deduplicate repeated tool call outputs
- prune errored tool call inputs automatically
- avoid hitting context window limits during agent tasks
When to choose
- you use OpenCode and want automatic context management
- your sessions grow too large and hit token limits
- you want smarter, model-driven compression instead of static compaction
When to avoid
- you are starting fresh - the maintainers recommend the Sleev CLI instead
- you need a harness-agnostic proxy for Claude Code or Codex
- you need verbatim preservation of all large prompts
Facets
plugin · maturity maintenance
llm-inference middleware plugin-system large-language-models developer-tools artificial-intelligence cli context-management token-optimization opencode context-pruning prompt-caching nodejs
1 source
- readme: https://github.com/Opencode-DCP/opencode-dynamic-context-pruning · fetched 2026-08-28 · d1682f85d5ed
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Opencode-DCP/opencode-dynamic-context-pruning | main | 78 |
For agents
markdown · JSON · MCP: product_card(name="Opencode-DCP/opencode-dynamic-context-pruning")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem