MERGED: This plugin has been merged into four-opencode-supertools. All git analysis tools now live there.
Git history analysis tools for opencode agents — curse scores, bus factor, implicit coupling, and ownership.
Wave P14, planned.
bun install @four-bytes/four-opencode-git-toolsAdd to ~/.config/opencode/opencode.json:
{
"plugin": ["file:///home/user/four-opencode-git-tools/dist/four-opencode-git-tools.js"]
}Restart opencode after adding.
| Tool | Description |
|---|---|
curse_score |
Rank files by risk (changes × author chaos × recency × churn acceleration) |
bus_factor |
Ownership concentration per directory — find orphaned modules |
implicit_coupling |
Detect files that always change together — hidden dependencies |
ownership |
Line-level author breakdown per file/directory |
blast_radius |
Given a file, find everything that might break when you touch it |
bun install
bun run build
bun testApache-2.0 — see LICENSE