Build-from-existing – an agent skill for designing from work that exists
ChampPhil's build-from-existing skill copies onto a machine with npx skills add ChampPhil/build-from-existing and links into Cursor, Claude Code, and Codex.
By Dillip Chowdary • Nov 28, 2026 • Source: github.com

At a glance
- Product
- Build from existing
- Install command
- npx skills add ChampPhil/build-from-existing
- Linked agents
- Cursor, Claude Code, and Codex
- List command
- npx skills add ChampPhil/build-from-existing --list
- Source repo
- ChampPhil/build-from-existing
- Build start
- When the person asks for it
In this post
The article has to carry every concrete fact from the GitHub text, in the original order, with the five-section and FACTS/FAQ shape.Build from existing is a skill for coding agents that teaches an agent to design a task from work that already exists and to show that design as diagrams. github.com's report gives the install as npx skills add ChampPhil/build-from-existing, which copies the skill onto the machine and links it into agents already installed there, including Cursor, Claude Code, and Codex. The source repository is ChampPhil/build-from-existing.
This piece covers the terminal install, the two unchecked designs, the five-step pattern the skill drills in, and the files an agent loads. It is for people who ask a coding agent for a design or a build from other people's implementations and from patterns already in the codebase.
01Terminal install and the list flag
Installation runs from a terminal with npx skills add ChampPhil/build-from-existing. That command copies the skill onto the machine and links it into the agents already installed there. The agents named for that link are Cursor, Claude Code, and Codex, and the source repo is ChampPhil/build-from-existing.
To see the skill without installing it, run npx skills add ChampPhil/build-from-existing --list from a terminal. The command names the ChampPhil/build-from-existing source repo and is for seeing the skill, not for the copy that links it into Cursor, Claude Code, and Codex.
02Answers drawn from memory
Ask a coding agent how to build something and it does one of two things, and both spend the run on a design that was never checked against the world. In the first, the agent answers from memory. The diagram names libraries, files, and "how Stripe does it" that nobody opened.
The memory path is drawn from "Task: how should we build this" to "Answer from memory", then to "Boxes named like real systems". The next box is "No page, repo, or paper was opened", and the last is "The approach is a guess". The boxes look specific, and they were guessed.
03A second system beside the survey
The other path does open real work, agrees to reuse it, and then designs a second system beside it. The survey sits in the answer as decoration, and the design is new. That diagram runs from "Task: how should we build this" through "Opens what other people shipped" and "Agrees to reuse it" to "Designs a new service, queue, or module beside it".
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
The following boxes are "The survey is decoration" and "The run is spent on a system the task already had". People describe this second pattern constantly. The agent is told to reuse the pieces that already exist, it says okay, and then it invents new infrastructure.
A vague line that says "do not overengineer" does not catch this. The agent has to show the existing piece before it is allowed to add a new one. That sequence is drawn as "Told: reuse what already exists", then "Says: okay", then "Invents a parallel system", and last "The run goes to work nobody asked for".
04Five steps to one cited diagram
In simple terms, the skill teaches coding agents to build from existing. Existing means two things: borrow from implementations that other people have done for similar problems, and reuse existing patterns in the codebase, expanding those systems. One diagram joins "Other people's implementations" and "This codebase" into "One approach for this task".
- Given task A person asks for a design or a build, and that request is the task.
- Opened sources The agent opens real pages, real repos, and real papers (Pages, Repositories, and Papers). A search hit is a lead, and it counts when the agent opens it.
- External map The agent builds a map of existing implementations in the external world. For task parts X, Y, and Z, the map says how other people solved that part, who solved it and the mechanism, where those solutions diverge, and what to borrow.
- Inside list The agent looks inward, into the codebase, and writes a structured list. Each row is a part of the codebase, what it does, and how to reuse it, fed from "This repository" into "Part / what it does / how to reuse it".
- One diagram The agent composes the external-world research with the internal research into a diagram-heavy task approach. The last picture is one flow, and a box comes from the outside map with the page it came from, or from the inside list with the path it came from.
| Part of the codebase | What it does | How to reuse it |
|---|---|---|
| The file or system that already touches this job | What the opened code actually does | Call it, or extend it |
A box that comes from neither map is marked new. It sits next to the existing piece that was checked, and the label says the one job that piece cannot do. A new module, service, or schema without that mark is not part of the answer.
A box cites a page that was opened, cites a path that was opened, or is marked new beside the piece that cannot do the job. Outside is "how other people solved X, Y, Z", and inside is "part, what it does, how to reuse it". Both feed "One diagram of the approach", where each box cites a page or a path.
Note: The agent stops when that diagram is done. Building starts when the person asks for it.
05SKILL.md, references, and examples
The tree is build-from-existing/, with SKILL.md, README.md, a references/ directory, and an examples/ directory. references/ holds survey.md, diagrams.md, and new-box.md, while examples/ holds pass.md and fail.md. SKILL.md is the procedure the agent loads, and references/survey.md is what counts as having looked.
Frequently asked questions
How do you install the build-from-existing skill?
From a terminal, run npx skills add ChampPhil/build-from-existing. That copies the skill onto the machine and links it into agents already installed there, including Cursor, Claude Code, and Codex. The source repo is ChampPhil/build-from-existing.
How can you view the skill without installing it?
Run npx skills add ChampPhil/build-from-existing --list. That command is for seeing the skill, not for the copy that links it into Cursor, Claude Code, and Codex.
What two designs does the skill try to stop?
One answers from memory, so the diagram names libraries, files, and "how Stripe does it" that nobody opened, and the approach is a guess. The other opens real work, agrees to reuse it, and then designs a new service, queue, or module beside it, leaving the survey as decoration.
When may the diagram add a new module?
A box from neither map is marked new, sits next to the existing piece that was checked, and the label says the one job that piece cannot do. A new module, service, or schema without that mark is not part of the answer. The agent stops when the diagram is done, and building starts when the person asks for it.
What do the skill files contain?
SKILL.md is the procedure the agent loads. references/survey.md is what counts as having looked, references/diagrams.md is what each picture must show, and references/new-box.md is the test a new box has to pass. examples/pass.md is one finished answer, and examples/fail.md is a diagram from memory and a second system drawn beside code that already does the job.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement