anomalyco / anomalyco/opencode
[FEATURE]: /simplify — parallel multi-agent code sweep to deduplicate and refactor
Open
@kitlangton is already working on this.
Since Aug 12, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Requested feature
Add a /simplify slash command (inspired by Claude Code's /simplify) that runs a parallel sweep with multiple agents to refactor and clean up redundant code.
Why
openCode has subagents (packages/opencode/src/agent) but no built-in orchestrated multi-agent code-quality pass. Large refactors currently require manual review or external tooling.
Proposed behavior
/simplifydispatches independent subagents (one per module/area) to detect dead code, duplication, and over-engineering.- Findings are aggregated into a review; changes applied behind a diff that can be reviewed before commit.
- Leverages the existing subagent
taskmechanism and/diffviewer.
Benefits
- Parallel cleanup that scales with the repo.
- Safe aggregation + diff review of AI-proposed refactors.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.