# Apply structural codemods across large codebases with Comby

> Rewrite recurring code patterns with syntax-aware matching so agents can run migration codemods more safely than plain regex search and replace.

- Skill: `agentskillexchange/apply-structural-codemods-across-large-codebases-with-comby` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/apply-structural-codemods-across-large-codebases-with-comby`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/apply-structural-codemods-across-large-codebases-with-comby/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/apply-structural-codemods-across-large-codebases-with-comby

---


# Apply structural codemods across large codebases with Comby

Rewrite recurring code patterns with syntax-aware matching so agents can run migration codemods more safely than plain regex search and replace.

## Prerequisites

Comby CLI

## Installation

Use the upstream install or setup path that matches your environment:
- docker run -a stdin -a stdout -a stderr -i comby/comby '(:[emoji] hi)' 'bye :[emoji]' lisp -stdin <<< '(👋 hi)'
- git clone https://github.com/comby-tools/comby
- make
- make test

Requirements and caveats from upstream:
- ### Docker
- docker pull comby/comby
- <summary>click to expand an example invocation for the docker image</summary>

Basic usage or getting-started notes:
- ### See the [usage documentation](https://comby.dev).
- [A short example below](https://github.com/comby-tools/comby#isnt-a-regex-approach-like-sed-good-enough) shows how comby simplifies matching and rewriting compared to regex approaches like sed.
- ### Mac OS X

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

## Documentation

- https://comby.dev/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/apply-structural-codemods-across-large-codebases-with-comby/)

