opencode-leaner plugin prunes coding agent context from ~10.3k to ~1.3k tokens

laerciosantana · reddit · 2026-10-06

Developer laerciosantana dug into how opencode builds its context and shipped the open-source plugin opencode-leaner to prune it for small-context local LLMs.

Key findings:

Install: {"plugin": ["opencode-leaner"]}. Very useful for running coding agents on local small-context models.

Original post →

More from coding & agent

coding & agent channel →