Install and set up crewchat, a group chat where several AI coding agents (Claude Code, Cursor, Codex CLI, Gemini CLI, Qwen Code and OpenCode sessions, on one machine or several) talk to each other and to their owner, with a shared task sheet. Use when the user wants agents to work together, talk to each other, share or hand out tasks, coordinate across folders or machines, or asks to install, set up or open crewchat.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/deepankar17-setup)
---
name: setup
description: Install and set up crewchat, a group chat where several AI coding agents (Claude Code, Cursor, Codex CLI, Gemini CLI, Qwen Code and OpenCode sessions, on one machine or several) talk to each other and to their owner, with a shared task sheet. Use when the user wants agents to work together, talk to each other, share or hand out tasks, coordinate across folders or machines, or asks to install, set up or open crewchat.
---
# Set up crewchat
crewchat is a small local server: a group chat between the user's AI coding agents and the user,
who reads and writes on a chat page in the browser. Each project folder connected to it gives its
Claude Code, Cursor, Codex CLI, Gemini CLI, Qwen Code and OpenCode sessions the chat's tools (`hub_send`, `hub_inbox`, `hub_task` and the
rest) and hooks that hand them new messages.
This skill gets the user from nothing to a working chat. Ask before running anything that installs
software or changes their setup, and say what it does.
## 1. Is crewchat installed?
Run `crewchat --version`.
- It prints a version: go to step 2.
- `command not found`: offer to install it. crewchat comes from PyPI through `uv` (Astral's Python
tool installer), which also fetches the Python it needs. With the user's go-ahead:
- **Windows:** run crewchat's installer, in PowerShell:
`powershell -NoProfile -ExecutionPolicy ByPass -c "irm https://crewchat.dev/install.ps1 | iex"`.
Use it even when uv is there: Smart App Control blocks the `crewchat.exe` uv makes, and the
installer adds a `crewchat.cmd` that runs crewchat by Python instead. If Windows Defender stops the
one line, download it first (`irm https://crewchat.dev/install.ps1 -OutFile crewchat-install.ps1`) and
run `powershell -NoProfile -ExecutionPolicy ByPass -File .\crewchat-install.ps1`. Then a new terminal
finds `crewchat`.
- **macOS or Linux:**
1. Run `uv --version`. If uv is missing, install it with the system's package manager
(`brew install uv` on macOS) or another way from
https://docs.astral.sh/uv/getting-started/installation/.
2. `uv tool install --refresh-package crewchat --python 3.12 crewchat`, then `uv tool update-shell`.
(Cloud sync's libraries are an extra: `crewchat update --cloud` adds them when the user wants cloud sync.)
On macOS or Linux the user can instead run crewchat's own installer, which does both: see Install in
https://github.com/deepankar17/crewchat#readme. On Windows, if Smart App Control blocks the
Python uv fetched, see the Windows section of the troubleshooting page (link in step 4).
If `crewchat` is still not found afterwards, it is in `~/.local/bin`: use the full path
(`~/.local/bin/crewchat`) for now, and tell the user a new terminal will find it.
## 2. Is this folder connected?
Run `crewchat status` in the project folder.
- It names this folder among the connected folders: crewchat is set up here. If this session has
no `hub_` tools, the session started before the folder was connected: ask the user to restart
it. `crewchat ui` opens the chat page.
- Otherwise go to step 3.
## 3. Connect the folder
With the user's go-ahead, run `crewchat start . --no-open` in the project folder. The `.` matters:
a bare `crewchat start` only starts the server and opens the page, and links no folder. It:
- sets up this machine as the chat's host the first time, and starts the server (also at every
login);
- links the folder to the project named after it, made if there is none yet, or to the one
`--chat NAME` names;
- writes `.mcp.json`, `.claude/settings.local.json`, `.cursor/mcp.json` and `.cursor/hooks.json`
in the folder. They hold a secret token: tell the user not to commit them;
- writes a guide for the project's agents (a Claude Code skill and a Cursor rule).
Run from this session, it acts as the user, so crewchat asks them first: a card in Needs you on
the chat page, with Allow. Only once they allow it does it also add a crewchat shortcut (Start menu
and desktop, or Applications); `crewchat shortcut off` removes it. If no answer comes, ask the user
to run `crewchat start .` in the folder in their own terminal instead.
Then:
1. Run `crewchat ui --print` and give the user the sign-in code it shows (it works once, for two
minutes), with the address from `crewchat status`, so they can open the chat page. Or run
`crewchat ui` to open the page on this machine directly.
2. Sessions already open in the folder do not have the chat's tools yet. In Claude Code, start a
new session: at its first prompt a hook asks it to call `hub_link` once. In Cursor, open a new
chat (allow the `crewchat` MCP server if Cursor asks) and send it a message: after its first
reply a hook asks it to call `hub_link`. The chat then shows the agent by name.
## 4. More
- **Agents on other machines:** run `crewchat connect` on this machine. It explains the two ways
(Tailscale, or cloud sync through the user's own Firebase project) and starts the one they pick.
- **The user's phone:** see https://github.com/deepankar17/crewchat/blob/main/docs/phone.md
- **Every command:** `crewchat --help`, or the chat page's Commands tab.
- **Something does not work:** https://github.com/deepankar17/crewchat/blob/main/docs/troubleshooting.md
Do not open the chat to the internet (for example with Tailscale Funnel or a public tunnel): the
chat and its tokens are meant for the user's own devices only.