codemod/codemod
The CLI for codemods: scaffold, share, and run multi-step transformations of any size. First-class ast-grep support. Fast, reliable, polyglot. observed · 2026-09-03
Health v2 · maintenance only
89/100
- Activity 100
- Release rhythm 88
- Longevity 67
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 950
- days_rel: 0
- days_push: 0
- n_releases_24m: 166
Adoption not part of the score
1082 stars · 83 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Codemod is an open-source CLI and workflow engine for scaffolding, testing, running, and publishing codemods—automated, multi-step code transformations for migrations, upgrades, and large-scale refactoring. It supports polyglot transformations with first-class ast-grep and JSSG (TypeScript AST pattern matching), and connects to a hosted registry and platform for sharing and orchestrating migrations across repositories.
Use cases
- upgrade react or node across a large codebase
- migrate a design system like radix or tailwind to a new version
- automate i18n by converting static strings to translation keys
- run security or compliance remediation patches at scale
- scaffold and publish a reusable codemod to a registry
- orchestrate multi-step migrations across many repositories in CI
When to choose
- you need to apply repetitive, large-scale code changes across many files or repos
- you want a CLI to author, test, and share AST-based transformations with ast-grep or jscodeshift
- you need orchestrated migrations with workflow configs, matrix strategies, and approval gates
When to avoid
- you only need a one-off find-and-replace that sed or a simple script can handle
- you want a GUI-based refactoring tool rather than a CLI workflow
- your transformations are simple enough that an IDE's built-in refactorings suffice
Facets
cli-tool · maturity active
cli developer-tools workflow-automation parser build-tool developer-tools version-control cli cross-platform codemod code-migration ast-transformation ast-grep jscodeshift ts-morph refactoring framework-upgrade registry mcp automation command-line nodejs
5 sources
- readme: https://github.com/codemod/codemod · fetched 2026-09-03 · c13d63e9fd0c
- homepage: https://go.codemod.com/docs · fetched 2026-08-29 · 9d6a33d08878
- site_page: https://docs.codemod.com/oss-quickstart · fetched 2026-08-29 · 888963c16086
- site_page: https://docs.codemod.com/platform/quickstart · fetched 2026-08-29 · 5e46115c1d9c
- site_page: https://docs.codemod.com/changelog · fetched 2026-08-29 · 33f537e61d5b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| codemod/codemod | main | 89 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem