Continue a Design in Claude Code or Codex
Use your coding tool to keep working on a Design you started in Copera. You can edit the files on your computer and send your changes back to Copera as a new version. This workflow uses no Copera AI credits.
Set up your coding tool
Install the Copera CLI and sign in with copera auth login. The CLI overview shows how to do both. You need version 0.18.0 or later; run copera update if copera designs is missing.
Run the command for the tool you use.
- Claude Code uses
copera connect claude-code. - Codex uses
copera connect codex. - Cursor uses
copera connect cursor. - OpenCode uses
copera connect opencode.
The command writes one instruction file for your user account. It writes nothing in your projects and leaves the tool's settings files alone. Use copera disconnect to remove the instruction file.
Pull, edit, check, and push
- Run
copera designs pull <design-id> <folder>to download the latest version to a local folder. - Open the folder in your coding tool and edit the files.
- Run
copera designs check <folder>to check the edited Design before saving a version. Fix any errors it reports. - Run
copera designs push <folder> -m "Describe your changes"to save your changes as a new version in Copera.
If Copera AI changed the Design while you were editing, run copera designs pull again in the same folder to merge the newer version with your local changes. Resolve any conflicts, check the Design again, and push. A push cannot overwrite a newer version unless you explicitly pass --force.
Use data in a Design
A running Design cannot make outside requests. If a page needs data, put it in a script module such as data.js and import it from the page's script.