# __NAME__

Adopt this skill: https://proskills.md/skills/other/ramiro-soler-claude-code-control-room-skills-template

Page: https://proskills.md/skills/other/ramiro-soler-claude-code-control-room-skills-template
This document is the public skill bundle for that page. It contains SKILL.md and every helper file the catalog carries. No login is required.

## File: skills/_template/SKILL.md
size: 857
sha: da96129fb9bb52c654fe6c53fb0256432a1266a2
upstream: https://github.com/ramiro-soler/claude-code-control-room/blob/main/skills/_template/SKILL.md

```text
---
name: __NAME__
description: What this skill covers and WHEN to use it — list the concrete triggers (subsystems, commands, error messages, words the user says). Claude decides whether to load the skill from this line alone, so be specific.
---

# __TITLE__

<!-- ROUTER. Keep this file short (< 12 KB): it is loaded in full every time the skill triggers.
     Detail goes to references/; history goes to references/changelog.md. -->

One paragraph: what this system is and what this skill is for.

## Map of references

| Read this | When the question is about |
|---|---|
| `references/overview.md` | how the system works today: components, data flow, key identifiers |
| `references/changelog.md` | what changed, when and why (decision log, `#NNN` ids) |

## Durable rules

- (short rules that apply to every task in this area, each with its reason)
```

## File: skills/_template/references/changelog.md
size: 420
sha: b2fc681ff782dba81704b93963fec937523e10cb
upstream: https://github.com/ramiro-soler/claude-code-control-room/blob/main/skills/_template/references/changelog.md

```text
# Changelog — decision log

Newest on top, grouped by day. One entry = `**#NNN** · **Title** (date; ids; state in references/<topic>.md) — what, why, gotchas`.
Ids are stable references cited from other files: never renumber or reorder. Next id = highest + 1.
Run `skill-lint` before finishing: parallel sessions can pick the same id.

## YYYY-MM-DD

**#1** · **Skill created** (YYYY-MM-DD) — initial structure.
```

## File: skills/_template/references/overview.md
size: 360
sha: b0b514672235d95b476604b8aa899d9ba2d66e0f
upstream: https://github.com/ramiro-soler/claude-code-control-room/blob/main/skills/_template/references/overview.md

```text
# Overview — current state

How the system works TODAY. Not how it got here (that's the changelog).

For anything that mirrors live state (versions, counts, flags, config values), don't copy the
value — say where it lives and how to read it:

    <what it does, one durable line>.
    ↻ verify: <command / query / file:line that shows the current value>
```

## File: README.md
upstream: https://github.com/ramiro-soler/claude-code-control-room/blob/main/README.md

```text
<p align="center"><img src="docs/banner.svg" alt="Claude Code Control Room: parallel Claude Code sessions, live state and locks, in one screen" width="100%"></p>

[![CI](https://github.com/ramiro-soler/claude-code-control-room/actions/workflows/ci.yml/badge.svg)](https://github.com/ramiro-soler/claude-code-control-room/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE)

**Run several Claude Code sessions in parallel from any browser, phone included, and see at a glance which one is working, which one is waiting for your permission, and who is touching what.**

<p align="center">
  <a href="https://codespaces.new/ramiro-soler/claude-code-control-room?quickstart=1"><img src="docs/cta-try.svg" width="440" alt="Try it in your browser: GitHub Codespaces, free quota, ready in about a minute"></a>&nbsp;&nbsp;<a href="#quick-start"><img src="docs/cta-install.svg" width="320" alt="Install on your server: Quick start"></a>
</p>
<p align="center"><sub>The Codespace's port is private: only your GitHub account can open it. Log in to Claude Code in the first tile and you're running.</sub></p>

![Six sessions in Chat view: one waits for permission and shows the exact command it wants to run, one got a screenshot and a PDF, one is at the shell; the board shows who holds which lock, and any tile flips back to its live terminal](docs/demo.png)

<sub>Staged demo: synthetic conversations for a made-up <code>acme-api</code> project and real <code>slog</code> commands; the state events were fired by hand.</sub>

**The idea: give Claude Code its own machine.** Run it on a VPS or a sandbox box, not on your laptop, let it work with broad permissions there, and drive it from anywhere: your desk, your phone, a train. The worst a session can break is that box, which is what makes long unattended runs and auto mode reasonable. The control room is how you watch and steer it.

Three layers, one idea: **several agents working on the same project without stepping on each other**.

| Layer | Answers | Lives in |
|---|---|---|
| **See** | what is each session doing right now, which one needs me? | the web grid + Claude Code hooks |
| **Coordinate** | who is touching what, right now? who changed what, and from which session? | `slog`: a live board with locks (ephemeral) · `cr-hist`: per-session file history |
| **Remember** | what did we learn, and why did we decide it? | skills in 3 layers + `skill-sync` (durable) |

What you get:

- **A chat view on every tile, with the terminal still underneath.** Each session reads like a chat app (markdown, tables, formulas, diagrams) with every tool call folded into one line showing the **real command**. A permission request is a card with **exactly what Claude wants to run** and one button per option. Paste or drop any file into the message box; what Claude hands you back shows up as one-tap **Download** and **Copy** cards. One tap on **Term** and the real terminal is there, never restarted. See [The Chat view](#the-chat-view).
- **Live state per session**: working, idle, or **waiting for your permission**. It comes from Claude Code's own hook events, not from screen-scraping, so it doesn't break when the CLI's UI changes. A red badge in the top bar takes you straight to the session that needs you, and it clears whether you answer yes, no or Esc (no hook fires on a "no", so the server confirms it on screen; see [below](#the-permission-badge-and-the-no-case)).
- **`slog`, a shared board with hierarchical locks.** Every session can see what the others are doing and claim a resource (`api`) or just part of it (`api:auth`). Each tile shows the locks its session holds. Locks are advisory by default; tie one to files with `--paths` and a hook **enforces** it: other sessions get their edits to those files denied.
- **Every session starts informed**: a SessionStart hook injects the live locks, the recent feed, the files other sessions just changed, the project's notes (done / next / don't redo) and how to hand you files and clips in the Chat view into each new session, also after `/clear` and compaction. Nobody has to remember to run `slog status`.
- **History by session**: every file a session writes is committed on its own, labeled with the session and its transcript id, in a shadow git repo that never touches your project's `.git`. `cr-hist changed` answers "what did the other sessions change?", `cr-hist who <file>` leads to the conversation that made a change.
- **Mode and plan usage at a glance**: each tile shows Claude Code's permission mode (auto / accept edits / plan / manual; **tap it to switch**, like Shift+Tab) and how much context the conversation uses. The top bar shows your plan's **5-hour session and weekly usage** with their reset times, read from a silent status line.
- **Built for the phone**: the Chat view is plain web text, so you select and scroll with your finger; in Term, an on-screen key bar (Esc, arrows, Tab, Ctrl-C), swipe to scroll history, tap-to-jump between sessions. See [On the phone](#on-the-phone).
- **📋 One-tap clip**: the agent puts exact text (a command, a token, a draft) in the clip with `cr-clip` and you copy it with one tap. The **⌄** next to 📋 keeps the last four, since every session shares one clip.
- **🎤 Dictation (optional)**: speech → Whisper → typed into the prompt *without* pressing Enter, with a hallucination filter based on Whisper's per-segment metrics.
- **Skills that survive the session**: a 3-layer structure (router / current state / decision log), a `skill-sync` skill that consolidates each session's findings before it closes, and `skill-lint` to catch what parallel sessions break (duplicate changelog ids, dead pointers, bloated routers).

### In action

<table>
<tr>
<td width="50%" valign="top"><img src="docs/chat-handoff.png" alt="On a phone: Claude's reply shows a chart inline, a Download card for the CSV it exported and a Copy card for the command it put in the clip; one tap copies it, another opens the chart large"><br><b>The agent hands you things.</b> A chart inline, a <b>⬇ Download</b> card for the file it wrote, a <b>📋 Copy</b> card for the command it put in the clip. One tap each, from the phone.</td>
<td width="50%" valign="top"><img src="docs/chat-permission.png" alt="On a phone: a permission card shows the exact kubectl command Claude wants to run, with Yes / Yes, don't ask again / Esc buttons; after Yes, the command runs and Claude reports back"><br><b>Permission, with the real command.</b> The card shows exactly what Claude wants to run and one button per option. Tap <b>1. Yes</b> and it carries on.</td>
</tr>
<tr>
<td colspan="2"><img src="docs/chat-attach.png" alt="On desktop: a screenshot dropped into the message box shows as a preview with a remove button; once sent it's a thumbnail in the message, Claude finds the request id from it in the logs, and the thumbnail opens large in the in-page viewer"><br><b>Show it instead of describing it.</b> Paste (Ctrl-V), drop or 📎 a screenshot or a PDF: it's previewed before you send, stays as a thumbnail in the conversation and opens large in the viewer.</td>
</tr>
</table>

<sub>Staged like the demo above: synthetic conversations, rendered by the real UI.</sub>

No frameworks, no build step, no `npm install`: Python standard library, bash, and one HTML page with its script and stylesheet.

> Community project, not affiliated with or endorsed by Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic.

---

## Try it in one click

The **Try it** button above opens it in GitHub Codespaces: GitHub builds a container with tmux, ttyd and Claude Code, starts the panel and opens it in your browser. The forwarded port is **private**, so you get authentication for free, and the free quota covers dozens of hours a month.

Open it in a **browser tab** (🌐 in the **Ports** tab): VS Code's built-in preview can't show it, because the panel refuses to be embedded in other pages (that's what keeps ot
```
