Ross ROSS = Recommend OSS · open-source software intelligence for agents

facebookarchive/codemod

Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source. observed · 2026-08-28

github.com/facebookarchive/codemod · Python · Apache-2.0 (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: archived

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 6362
  • days_rel: n/a
  • days_push: 2104
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

4133 stars · 197 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Codemod is a Python tool and library from Facebook for assisting large-scale codebase refactors that are partially automated but need human oversight. It interactively shows diffs for regex-based replacements across many files, letting users accept, reject, or edit each change.

Use cases

  • interactively refactor a large codebase with regex replacements
  • review and approve each automated code change via a diff
  • deprecate an API or tag across hundreds of files
  • split a bulk code-editing task across a team with start/end offsets
  • count occurrences of a pattern before refactoring
  • edit matched lines in my editor during a bulk rename

When to choose

  • you need human review on each automated replacement across many files
  • you want a lightweight Python CLI without learning a full codemod framework
  • you need to pause, resume, or divide refactoring work by file position

When to avoid

  • you need AST-aware, language-specific transformations (use jscodeshift or a language codemod framework)
  • you want fully automated, unattended bulk edits
  • you need an actively maintained tool (the repo is archived)

Facets

cli-tool · maturity maintenance

developer-tools cli parser developer-tools python cli cross-platform code-refactoring interactive-editing regex-replacement facebook archived command-line automation

1 source

Member repositories

RepositoryRoleHealth v2
facebookarchive/codemodmain10

For agents

markdown · JSON · MCP: product_card(name="facebookarchive/codemod")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem