- Write migration plan
- Agent edits in batches
- Tests per batch
Ship a 40-file refactor with a coding agent
Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.
The author built an open-source desktop agent that works inside a chosen folder, reading and writing files and asking before changing anything.
“Manage files in a chosen folder with an agent” is a Work & Operations AI agent workflow from Any. It connects Claude Code in 3 steps.
The author built an open-source desktop agent that works inside a chosen folder, reading and writing files and asking before changing anything.
The author built a desktop agent that operates only inside a folder the user chooses. It can read existing files, write new ones, and asks for approval before every change; shell commands are disabled by default and only run if the user turns them on. They say it began as a way to study how Claude Code works, and about half the app’s commits were written with Claude Code.
The result is an open-source alternative with no account or telemetry, support for Claude, OpenAI, Google, and local models, and an option to keep files on-disk with local inference. It still has notable gaps: text files only, no Windows sandbox, unsigned builds, and nothing runs when the app is closed.
The main catch is safety and scope: it asks before every file change, but sandboxing is incomplete and the app only works on text files while open.
Work only inside the folder [path to folder]. Read through the files, then [organize, rename, or summarize them, e.g. sort by project and rename with a consistent date format]. Before changing, moving, or deleting any file, show me the exact list of changes and wait for my OK. When done, give me a summary of what changed and how to undo it.
The author built an open-source desktop agent that works inside a chosen folder, reading and writing files and asking before changing anything.
You need Claude Code.
The guide walks through 3 steps, starting with “What they did”.
Plan, execute and review a cross-cutting refactor in small batches, with Claude Code making the edits and GitHub Copilot reviewing each PR.
Claude Code reads your coverage report, picks the riskiest untested modules and writes unit tests that pass, one small PR at a time.
Let multiple Git worktrees reuse one build cache via block cloning so parallel agent runs skip redundant rebuilds.
Via Hacker News · suyashsrijan ↗Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges