opencode-dcp/opencode-dynamic-context-pruning

Dynamic context pruning plugin for OpenCode - intelligently manages conversation context to optimize token usage

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 33 minutes ago
Added to GitGenius on September 16th, 2026
Created on November 20th, 2025
Open Issues & Pull Requests: 59 (-5)
GitHub issues: Enabled
Number of forks: 238
Total Stargazers: 4,239 (+0)
Total Subscribers: 19 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.2 hours
Mean response time: 4.2 days
90th percentile: 4.8 days
Tracked items: 176

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 11% of issues opened in the past year have never received a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 48% of tracked open issues have had no activity in three months. 78% of issues opened in the past year have been closed, leaving a working backlog. Three people close 92% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 44
New in 7 days: 2
Closed in 7 days: 0
Avg open age: 98 days
Stale 30+ days: 32
Stale 90+ days: 20

Recent activity

Opened in 7 days: 2
Closed in 7 days: 0
Comments in 7 days: 2
Events in 7 days: 3

Top labels

  • bug (34)
  • enhancement (23)
  • good first issue (1)
  • help wanted (1)

Detailed Description

OpenCode Dynamic Context Pruning is a plugin for OpenCode that intelligently manages conversation context to optimize token usage.

The plugin addresses the challenge of controlling token consumption in long-running conversations by automatically pruning conversation history. Rather than retaining entire conversation threads, it selectively removes or summarizes older context while preserving the most relevant information needed for the current interaction. This approach reduces the tokens sent to language models while maintaining conversation coherence.

Developers working with OpenCode who face rising token costs from extended conversations should consider this plugin. It suits projects where conversations grow long over time and token efficiency matters, such as chatbots, multi-turn dialogue systems, or interactive applications with sustained user engagement. The plugin integrates directly into OpenCode's architecture as a context management layer.

The project shows consistent maintenance with regular commits addressing bug fixes and feature refinements. Development activity demonstrates responsiveness to issues and pull requests, indicating active engagement with users. The codebase receives ongoing updates to improve pruning algorithms and context preservation logic.