# Run reviewable multi-step codemod workflows with Codemod CLI

> Use Codemod CLI when an agent needs to scaffold, test, and run a reviewable multi-step migration workflow with approval gates, rather than applying a one-off search-and-replace or browsing the hosted Codemod platform.

- Skill: `agentskillexchange/run-reviewable-multi-step-codemod-workflows-with-codemod-cli` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/run-reviewable-multi-step-codemod-workflows-with-codemod-cli`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/run-reviewable-multi-step-codemod-workflows-with-codemod-cli/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/run-reviewable-multi-step-codemod-workflows-with-codemod-cli

---


# Run reviewable multi-step codemod workflows with Codemod CLI

Use Codemod CLI when an agent needs to scaffold, test, and run a reviewable multi-step migration workflow with approval gates, rather than applying a one-off search-and-replace or browsing the hosted Codemod platform.

## Prerequisites

Node.js, npm or npx access, target repository, workflow YAML or codemod package

## Installation

Use the upstream install or setup path that matches your environment:
- npx codemod
- npx codemod init my-codemod
- npx codemod workflow run -w my-codemod/workflow.yaml
- npx codemod publish my-codemod

Basic usage or getting-started notes:
- This repo houses the **Codemod CLI** and its underlying **workflow engine** – everything you need to scaffold, test, and run codemods locally or in CI. The CLI can also connect to Codemod’s hosted Registry and Platfor...
- [**Codemod CLI**](https://docs.codemod.com/cli) – Run, test, and publish codemods from your terminal or CI.
- bash

- Source: https://github.com/codemod/codemod
- Extracted from upstream docs: https://raw.githubusercontent.com/codemod/codemod/HEAD/README.md

## Documentation

- https://docs.codemod.com/cli

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/run-reviewable-multi-step-codemod-workflows-with-codemod-cli/)

