EMBEDDER.md is your project’s guide for Embedder. It records the exact target, build and flash commands, bench setup, and rules that apply in every conversation, in every mode.
Embedder reads only the EMBEDDER.md at the root of the folder you open. In a multi-root VS Code workspace, that’s the first folder. Files with the same name in subfolders aren’t loaded.
Use it for instructions that should hold across conversations. Other kinds of project knowledge have their own place:
Keep the guide concise. Embedder includes it with every request, so it counts toward the conversation’s context.
Create or refresh the guide
Run/init in chat. In VS Code, you can also select Setup Project at the top of a new chat. The button reads Configure Project once EMBEDDER.md exists.
- Embedder switches to Act mode and inspects the repository, build files, debugger configuration, and connected hardware. This discovery only reads your project.
- Embedder asks about five areas, one step at a time: Target hardware, Build & test, Debug & deploy, Bench & integrations, and Quality & rules. Each step shows a step count, such as 1/5, what Embedder detected and the evidence for it, with the recommended choice first.
- Choose an option in each step and select Continue. To correct a detected value, choose Something else… and type it. If you can’t confirm a value, choose the option to be guided, and Embedder records the item as unverified with steps to check it.
- In the last step, select Finish setup.
EMBEDDER.md until you answer these questions. It runs a build, flash, or debug check only when you choose one:
Choosing a probe or flash command records it; it doesn’t authorize a flash.
When setup finishes, Embedder summarizes which workflows are ready and what remains unresolved.
Run
/init again when the board, toolchain, or build layout changes. It refreshes the generated section and keeps your own notes.
Work in a monorepo
Embedder treats the folder you open as the project root. In the terminal UI, that’s the directory you start Embedder from. It readsEMBEDDER.md from that folder and stores project memory and skills in that folder’s .embedder/ directory.
To give each firmware project in a monorepo its own setup:
- Open the project’s subfolder in VS Code, or start Embedder from that subfolder in a terminal.
- Run
/init. Embedder writesEMBEDDER.mdin that subfolder. Memory and skills you add later go in that subfolder’s.embedder/directory. - Repeat for each project.
EMBEDDER.md files or .embedder/ directories from parent folders or subfolders. If you open the monorepo root, Embedder uses the root’s EMBEDDER.md and .embedder/ only.
Personal skills in ~/.embedder/skills/ (and ~/.agents/skills/ or ~/.claude/skills/) still load in every project.
Use instructions written for other tools
Embedder doesn’t load instruction files written for other coding assistants, such asAGENTS.md, CLAUDE.md, .cursorrules, or .github/copilot-instructions.md. /init reads them, along with CONTRIBUTING.md, .editorconfig, and your formatter, linter, and static-analysis configuration. It then summarizes the enforceable rules in EMBEDDER.md and links to each source file.
When those files change, run /init again or update EMBEDDER.md yourself.
Review the generated guide
OpenEMBEDDER.md and check it before you rely on it. The generated section usually includes:
- An overview: the project name, target MCU, board, toolchain, debug interface, and RTOS or SDK.
- A commands block with build, clean, test, lint, format, flash, GDB server, and serial settings.
- Sections for architecture, hardware and peripherals, debug and bench setup, developer workflows, compliance, rules, integrations, safety boundaries, and open setup items.
Correct any wrong target, command, or pin assignment. Describe a command as verified only if it actually ran.
Keep manual notes outside the generated block
/init refreshes only the section between these markers:
/init preserves them. Don’t duplicate the markers or rename the fields that setup generates. Some Embedder features read fields such as Target MCU and Debug Interface directly to choose debugger and capture settings.
Record actionable instructions
A useful guide identifies:- The exact board, MCU, SDK or RTOS, and toolchain.
- Build, clean, test, flash, and debug commands, with the artifacts they produce.
- The intended probe, serial port, baud rate, and power limits.
- Generated or vendor files that shouldn’t be edited.
- Required checks and the result that counts as success.
- Setup items that need attention before a workflow can run.
Edit commands and connection settings
Setup writes the target and commands as fields you can edit:.embedder/xmos.json instead. XMOS keys in EMBEDDER.md aren’t read. See XMOS.
Check that the guide works
Ask Embedder to read the guide, identify the selected target, and run one recorded check:/init change EMBEDDER.md, run /clear or start a new chat so the next request uses the new version.