- 开始使用
- 最佳实践
- 功能
- 技能
- CLI
- 示例
- 高级
- 帮助
抄送
Set up Codex with the uip CLI and UiPath skills, then install, check, and remove the skills.
OpenAI's coding agent: a CLI, an IDE extension, and a desktop app.
Quick start
-
Install Codex. For the IDE extension and desktop app, see the Codex docs.
npm install -g @openai/codexnpm install -g @openai/codex -
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 Codex afterwards, run:
uip skills install --agent codexuip skills install --agent codex -
Start Codex in your project folder.
codexcodexIf
uipcommands fail in Codex but work in your terminal, allow them to run outside the Codex sandbox. -
Check that the skills loaded. Ask: "What UiPath skills do you have installed?" If Codex 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 codex --local
uip skills install --agent codex --local
| 范围 | 路径 |
|---|---|
| 全局 | ~/.agents/skills/<skill>/ |
Local (--local) | <project>/.agents/skills/<skill>/ |
Project context file
AGENTS.md. See Give your agent project context.
Remove the skills
uip skills uninstall --agent codex
uip skills uninstall --agent codex
Add --local for a project-scoped install.
Antigravity and Devin also read <project>/.agents/skills/, and Devin also reads ~/.agents/skills/. Uninstalling from a shared folder removes the skills for every agent that reads it.