anomalyco / anomalyco/opencode

[FEATURE]: /simplify — parallel multi-agent code sweep to deduplicate and refactor

Open
#41,911 1 comment 0 reactions 1 assignee View on GitHub

@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

  • /simplify dispatches 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 task mechanism and /diff viewer.

Benefits

  • Parallel cleanup that scales with the repo.
  • Safe aggregation + diff review of AI-proposed refactors.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.