# GitHub Copilot

> Set up GitHub Copilot with the uip CLI and UiPath skills, then install, check, and remove the skills.

GitHub's coding agent: an IDE extension and Copilot CLI.

[← All agents](choosing-your-agent.md) · [GitHub Copilot docs](https://docs.github.com/en/copilot) · [UiPath skills on GitHub](https://github.com/UiPath/skills)

## Quick start

1. **Install GitHub Copilot.** For the IDE extension, see the GitHub Copilot docs. For Copilot CLI:

   ```bash
   npm install -g @github/copilot
   ```

2. **Install the `uip` CLI and sign in.** For options, see [Install and set up](install-and-set-up.md).

   ::::tabs{groupId="os"}

   :::tab[Windows (PowerShell)]{value="windows" default}
   ```powershell
   irm https://download.uipath.com/uipath-cli/install.ps1 | iex
   ```
   :::

   :::tab[macOS and Linux]{value="macos-linux"}
   ```bash
   curl -fsSL https://download.uipath.com/uipath-cli/install.sh | bash
   ```
   :::

   ::::

   Open a new terminal, then sign in:

   ```bash
   uip login
   ```

3. **Install the UiPath skills.** The installer adds them for agents it detects. If you installed GitHub Copilot afterwards, run:

   ```bash
   uip skills install --agent copilot
   ```

4. **Start GitHub Copilot in your project folder.** Open the project in your IDE with GitHub Copilot, or start Copilot CLI:

   ```bash
   copilot
   ```

5. **Check that the skills loaded.** Ask: "What UiPath skills do you have installed?" If GitHub Copilot lists none, restart it.

6. **Try a prompt.** For example:

   > Create a sample `input.csv` with five rows. Then create a cross-platform UiPath RPA project that reads each row of `input.csv`, counts the rows, and writes the total to `output.txt`. Then run it.

## Install scope and paths

The install is global by default. For one project, add `--local`:

```bash
uip skills install --agent copilot --local
```

| Scope | Path |
| --- | --- |
| Global | `~/.copilot/skills/<skill>/` |
| Local (`--local`) | `<project>/.github/skills/<skill>/` |

## Project context file

`.github/copilot-instructions.md`. VS Code and Copilot CLI also read `AGENTS.md`. See [Give your agent project context](agent-context-files.md).

## Remove the skills

```bash
uip skills uninstall --agent copilot
```

Add `--local` for a project-scoped install.
