# Control tower

> Control tower is an open-source agent skill for developer tools. Guides a coordinator agent through queueing, batching and landing pull requests on shared. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/wan-huiyan/agent-traffic-control/tree/main/plugins/agent-traffic-control/skills/control-tower
- **Repository:** https://github.com/wan-huiyan/agent-traffic-control
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** control-tower
- **Collection:** https://github.com/wan-huiyan/agent-traffic-control
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill sets out how a session acting as coordinator should run a shared pull request queue, a single shared test machine, a shared laptop and a set of peer agent sessions. It covers batching small pull requests into fewer test runs, dropping duplicate jobs, checking candidates against the current main branch before they join a batch, and taking a written census before anything is marked ready to land.

The guidance is organised as numbered lessons, each with a rule, the reason behind it and a shell check the coordinator can run. Examples include comparing open and merged pull request counts, probing merges with git merge-tree, verifying that a batch's tree is what landed, and keeping shared laptop slots and background wait loops under control. It also points to related skills for stacked pull requests, stale batches and conflicts.

The skill expects a git repository hosted on GitHub with the gh command line tool available, plus a shell environment. It is written for Claude Code and Python-based workflows, and a reference file of war stories is linked from the main document.

## When your agent uses it

> Use when a session is told it is the coordinator of a pull request queue, a shared test machine, a shared laptop and peer agent sessions. Covers batching, duplicate test jobs, the census before a ready flip, turn-taking.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/wan-huiyan/agent-traffic-control/tree/HEAD/plugins/agent-traffic-control/skills/control-tower)
- [License: MIT](https://github.com/wan-huiyan/agent-traffic-control/tree/HEAD/plugins/agent-traffic-control/skills/control-tower)

## Features

- **Batching and test queue:** Rules for cutting the number of test jobs by batching small pull requests and dropping redundant single-file runs.
- **Merge probing against main:** Checks that each candidate merges cleanly into the current main commit before it joins a batch.
- **Landing census:** A written list of every open pull request marked as a member or out with an owner, place and time.
- **Shared laptop etiquette:** Hold files, ordered turn-taking and resource checks for sessions sharing one machine.
- **Process safety checks:** Guidance on stopping only recorded process IDs and on keeping wait loops from matching themselves.
- **Subagent brief rules:** Instructions that stop subagents from submitting jobs to the shared test machine and keep their scratch files separate.

## Good for

- Decide which open pull requests to batch into the next test run
- Check whether a pull request's content already landed on main inside a squash-merged batch
- Find out why a queue has emptied after a main branch landing
- Review how many test jobs can be removed as duplicates before a run
- Close member pull requests after their batch has been squash-merged

## Install

### Claude Code

This skill ships in the `agent-traffic-control` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add wan-huiyan/agent-traffic-control
/plugin install agent-traffic-control@wan-huiyan-agent-traffic-control
```

Or copy only this skill to `~/.claude/skills/control-tower`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/control-tower &&
cp -R "$tmp/plugins/agent-traffic-control/skills/control-tower" ~/.claude/skills/control-tower &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/control-tower` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/control-tower` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/control-tower &&
cp -R "$tmp/plugins/agent-traffic-control/skills/control-tower" ~/.agents/skills/control-tower &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/control-tower` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/control-tower` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/control-tower &&
cp -R "$tmp/plugins/agent-traffic-control/skills/control-tower" ~/.cursor/skills/control-tower &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/control-tower` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/wan-huiyan/agent-traffic-control.git --path plugins/agent-traffic-control/skills/control-tower
```

Or copy the folder to `~/.gemini/skills/control-tower` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/control-tower`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/control-tower &&
cp -R "$tmp/plugins/agent-traffic-control/skills/control-tower" ~/.copilot/skills/control-tower &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/control-tower` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/wan-huiyan/agent-traffic-control.git
```

Then copy `agent-traffic-control/plugins/agent-traffic-control/skills/control-tower` into your agent's skills folder as `control-tower`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Control tower need to work?

It assumes a git repository and the gh command line tool, and it uses shell commands such as git merge-tree, gh pr list and flock. It also expects a shared test machine and peer agent sessions.

### Does Control tower install scripts or change files?

The skill has no scripts. It is a SKILL.md with two files in total, and it gives the coordinator command checks to run rather than running anything itself.

### When is Control tower meant to be used?

When a session has been told it is the coordinator of a pull request queue, a shared test machine, a shared laptop and peer sessions.

### How do I install Control tower in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/control-tower to use it in all your projects, or to .claude/skills/control-tower in one project. Or install the agent-traffic-control plugin, which includes it: /plugin marketplace add wan-huiyan/agent-traffic-control, then /plugin install agent-traffic-control@wan-huiyan-agent-traffic-control.

### Does Control tower run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Control tower?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Control tower?

The closest alternatives to Control tower are Code subagents, Git workflow, Git workflow, Gh stack and Multi agent handoff.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Code subagents](https://ai-powered.com/skills/code-subagents): Code subagents is an open-source agent skill for developer tools.
- [Git workflow](https://ai-powered.com/skills/git-workflow-nabwinsaud): Git workflow is an open-source agent skill for developer tools.
- [Git workflow](https://ai-powered.com/skills/git-workflow-aws-solutions): Git workflow is an open-source agent skill for developer tools.
- [Gh stack](https://ai-powered.com/skills/gh-stack): Gh stack is an open-source agent skill for developer tools.
- [Multi agent handoff](https://ai-powered.com/skills/multi-agent-handoff): Multi agent handoff is an open-source agent skill for developer tools.
- [Git and release ops edho ferdian](https://ai-powered.com/skills/git-and-release-ops-edho-ferdian): Git and release ops edho ferdian is an open-source agent skill for developer tools.
- [Setup matt pocock skills](https://ai-powered.com/skills/setup-matt-pocock-skills): Setup matt pocock skills is an open-source agent skill for developer tools.
- [Git workflow and versioning](https://ai-powered.com/skills/git-workflow-and-versioning): Git workflow and versioning is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/control-tower
