# warpctrl

warpctrl is a Claude Code skill that hands the agent a CLI into the Warp app already open on the machine: tabs, panes, the input buffer, themes, settings. Requests about Warp's own windows land here instead of the project tree.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 720 repo stars
- Author: dominikmartn
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dominikmartn/harp/tree/HEAD/resources/bundled/skills/warpctrl/SKILL.md
- Updated: 2026-11-10
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/warpctrl

## What it does

The skill calls `warpctrl`, a hidden control mode that the running Warp process serves; there is no standalone binary. Command name and wrapper path are injected for the active Warp channel, so scanning processes or guessing a channel gets nothing. Routing picks the narrowest group: `surface` covers panels, pickers and settings pages, `window`, `tab`, `pane` and `session` cover layout, `input` stages editor text, `file` opens a path, `theme`, `appearance`, `setting` and `keybinding` handle configuration. The generic `action` catalog is the fallback.

Start with `warpctrl instance list`, then read `warpctrl help` and `warpctrl <group> help` for real parameters rather than inventing flags. Two or more instances on the same channel need `--instance <instance_id>` or `--pid <pid>`. Run calls one after another — parallel shell calls share one active target, so a later command can hit the wrong pane. Anything that creates, focuses or navigates gets re-read with `warpctrl app active`, and a `list`, `inspect` or `get` result confirms the end state.

The runtime is a local Warp that is already up, with the wrapper `{{warpctrl_wrapper_path}}` present in the build. If `command -v warpctrl` finds nothing, the expected symlink at `/usr/local/bin/warpctrl` pointing at that wrapper is created with `ln -sf`, and only once the user says yes. On macOS a permission error sends the same command through `osascript` with admin rights.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill warpctrl -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/warpctrl/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/warpctrl/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill warpctrl -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/warpctrl/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill warpctrl -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/warpctrl/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dominikmartn/harp resources/bundled/skills/warpctrl
```

2. **Manually: put the files in place**
- File: `.github/skills/warpctrl/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill warpctrl -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dominikmartn/harp --path resources/bundled/skills/warpctrl
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/warpctrl/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dominikmartn/harp/tree/HEAD/resources/bundled/skills/warpctrl/SKILL.md

## When to use it
- open a file in the running Warp from the agent
- split a pane and stage text in the input buffer
- switch theme or jump to a settings page
- read the active window, tab and session first
- link `warpctrl` into `/usr/local/bin`

## Example prompts
- Open `src/main.rs` in a new Warp tab.
- Split the current pane vertically and focus it.
- Which Warp instance is active, and which window is in front?

## Similar
- [cli-for-agents](https://affpapa.org/en/nevibecode/skills/cli-for-agents.md) — skill · 1400 installs
- [cmux-cli](https://affpapa.org/en/nevibecode/skills/cmux-cli.md) — skill · 908 installs
- [tmux](https://affpapa.org/en/nevibecode/skills/tmux.md) — skill · 8500 installs
- [cate-cli](https://affpapa.org/en/nevibecode/skills/cate-cli.md) — skill · ★ 2248 repo stars
- [warp-delegate](https://affpapa.org/en/nevibecode/skills/warp-delegate.md) — skill · 3100 installs
- [cmux](https://affpapa.org/en/nevibecode/skills/cmux.md) — skill · 10200 installs

From the same set: [dominikmartn/harp](https://affpapa.org/en/nevibecode/by/dominikmartn/harp.md) — 62 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
