1
Install envctl
2
Log in
Create a CLI token in the console (Settings → CLI tokens) for this machine, and log in:For an agent in a container or a cloud session, set
ENVLINK_API and ENVLINK_TOKEN in its environment instead.3
Make the project folder the sandbox
4
Install the skill
From the project’s root:This writes
SKILL.md into the skills folder of each agent the project already uses, or Claude Code’s when none is set up:Running it again updates the skill to match your envctl and reports
unchanged when there’s nothing to do. Commit the project-scoped skill so every checkout has it.Ask for a change
Open the project in the agent and ask, saying it should use envlink:What the agent does
- Checks envctl is logged in with
envctl templates. - Leases a box with a label for the task:
envctl env create linux-build --share src=. --label task=billing-fix. - Runs the build and tests with
envctl exec, reading the output and exit code. - Reads results from
.remote/<box>/out/. - Shares outputs with
envctl artifact put … --link 24hif you asked for a link. - Deletes the box with
envctl env delete.
--file. See The envlink skill for its full text.