- Get started
- Best practices
- Capabilities
- Skills
- CLI
- Examples
- Examples overview
- Recipe: build an agent
- Recipe: automate with RPA
- Recipe: enter data into a web app
- Recipe: extract data from a desktop app
- Recipe: refactor and test a workflow
- Recipe: a queue-based process with REFramework
- Recipe: build a flow in Maestro
- Recipe: build a Maestro Case
- Recipe: coded app and API workflow
- Recipe: build a coded function
- Recipe: verify a release with Test Manager
- Recipe: extract data from documents with IXP
- Advanced
- Help
OpenCode
Set up OpenCode with the uip CLI and UiPath skills, then install, check, and remove the skills.
An open-source coding agent for the terminal and desktop.
Quick start
-
Install OpenCode. For other install methods, see the OpenCode docs.
npm install -g opencode-ainpm install -g opencode-aicurl -fsSL https://opencode.ai/install | bashcurl -fsSL https://opencode.ai/install | bash -
Install the
uipCLI and sign in. For options, see Install and set up.irm https://download.uipath.com/uipath-cli/install.ps1 | iexirm https://download.uipath.com/uipath-cli/install.ps1 | iexcurl -fsSL https://download.uipath.com/uipath-cli/install.sh | bashcurl -fsSL https://download.uipath.com/uipath-cli/install.sh | bashOpen a new terminal, then sign in:
uip loginuip login -
Install the UiPath skills. The installer adds them for agents it detects. If you installed OpenCode afterwards, run:
uip skills install --agent opencodeuip skills install --agent opencode -
Start OpenCode in your project folder.
opencodeopencode -
Check that the skills loaded. Ask: "What UiPath skills do you have installed?" If OpenCode lists none, restart it.
-
Try a prompt. For example:
Create a sample
input.csvwith five rows. Then create a cross-platform UiPath RPA project that reads each row ofinput.csv, counts the rows, and writes the total tooutput.txt. Then run it.
Install scope and paths
The install is global by default. For one project, add --local:
uip skills install --agent opencode --local
uip skills install --agent opencode --local
The global and local folder names differ.
| Scope | Path |
|---|---|
| Global | ~/.config/opencode/skills/<skill>/ |
Local (--local) | <project>/.opencode/skills/<skill>/ |
Project context file
AGENTS.md, or CLAUDE.md when the project has no AGENTS.md. See Give your agent project context.
Remove the skills
uip skills uninstall --agent opencode
uip skills uninstall --agent opencode
Add --local for a project-scoped install.