▸ map/opencode-snip.md
opencode-snip
OpenCode plugin that prefixes shell commands with snip to reduce LLM token consumption by 60-90%
plugins✓ Dec 4
Facts
- GitHub Stars
- ★ 165
- Forks
- 22
- license
- MIT
- npm / mo
- 3.7K
- last push
- Nov 18, 2026
install
"plugin": ["opencode-snip"] (v1 opencode.json) — "plugins": ["opencode-snip"] (v2; v1 plugins need porting)## TL;DR
Automatically prefixes supported shell commands (git, go, cargo, npm, docker, etc.) with snip to filter output before it reaches your LLM context window.
## Key points
- $OpenCode plugin that prefixes shell commands with snip to reduce LLM token consumption by 60-90%.
- $Install scope: global.
- $Published on npm as opencode-snip.
## References
## Related entries
## Guides
Last updated: Nov 23, 2026