Lesson 9/9
OpenCode deploys a VM, then we turn the conversation into a SKILL
Turn a task done with OpenCode into a reusable Skill. The agent deploys a Windows 11 EVAL VM on VMware Workstation, with an autounattend answer file, performance tuning and registration of the machine. The deployment can then be rerun in a single sentence.
☰
Contents
24
▾
0:03 Do the task, then turn it into a Skill 0:11 Describing the Windows 11 VM precisely 0:32 Tuning the machine for maximum speed 0:48 The agent logs its problems in the Skill 1:10 Finding and downloading the ISO 1:23 Choosing the Windows 11 EVAL edition 1:45 The old VM removed from VMware Workstation 1:56 Testing access to the machine with TNC 2:12 The performance plan applied by the agent 2:46 Remote desktop finally responds 2:58 Telling the agent we can't see the VM 3:05 Registering the VM in VMware Workstation 3:38 Asking for the deployment Skill to be created 4:02 Restarting OpenCode to load the Skill 4:09 Keeping the Skill local rather than global 4:19 The words that trigger the Skill 4:40 Reading the Skill like a cooking recipe 5:03 The ISO path already remembered 5:41 The PowerShell generated for each step 5:52 Forbidding the agent to delete a VM 6:07 Calling the Skill in a new session 6:41 Mounting the ISO and attaching the autounattend file 7:03 Preparing a Skill to redeploy the site 7:26 The VM appears on its own and Windows boots