Less code to maintain.
Claktor is a refactoring CLI for coding agents. It shows your agent where logic repeats and measures how much smaller each refactor makes your production code.
$ curl -fsSL https://claktor.com/install | shFewer places to make the same change.
When the same logic lives in several places, each change means more code to read, update and test. Claktor brings repeated implementations together so your team and your agents have less code to work through.
Find the repetition worth removing.
Claktor spots repeated logic even when names and syntax differ. It ranks opportunities by potential code savings, and your agent writes the refactor.
Built for TypeScript, JavaScript, Python and Rust.
Your agent, your checks, your review.
Claktor runs inside the agent you already use. The agent makes the change, your existing checks run, and Claktor measures what the change removed. Your team decides what to merge.
50 fewer production lines. Merged.
In Markdansi, three streaming flush helpers became one shared implementation. The merged pull request cut production code by 50 lines and added regression tests.
See the merged pull request in steipete/Markdansi, or read the diff.