Invite people
Each person pastes one message into their AI partner, and their work shows up on your dashboard.
The message for your team
Get started[HeyBoss setup] Paste this whole message into the AI partner you work with (Claude Code, Codex, Cursor, WorkBuddy, ZCode, Kimi Code, pi, OpenClaw, Hermes Agent, ...). It sets everything up in about a minute.
Hi, AI agent. My team uses HeyBoss to keep a record of the work we do with AI. Please connect me:
1. Ask me for my name (shown on the dashboard).
2. Depending on which agent you are, run the matching command, replacing <name> with my answer:
- If you are Claude Code, upload the Claude Code sessions:
curl -fsSL https://heyboss.im/collectors/install.mjs | node - --token hb_yourteam_•••••••• --tool claude-code --name "<name>"
- If you are Codex, upload the Codex sessions:
curl -fsSL https://heyboss.im/collectors/install.mjs | node - --token hb_yourteam_•••••••• --tool codex --name "<name>"
- If you are Cursor, upload the Cursor chats:
curl -fsSL https://heyboss.im/collectors/install.mjs | node - --token hb_yourteam_•••••••• --tool cursor --name "<name>"
- If you are Tencent WorkBuddy, upload the WorkBuddy sessions (CodeBuddy Code: --tool codebuddy):
curl -fsSL https://heyboss.im/collectors/install.mjs | node - --token hb_yourteam_•••••••• --tool workbuddy --name "<name>"
- If you are ZCode (Z.ai), upload the ZCode sessions:
curl -fsSL https://heyboss.im/collectors/install.mjs | node - --token hb_yourteam_•••••••• --tool zcode --name "<name>"
- If you are Kimi Code (Moonshot AI), upload the Kimi Code sessions:
curl -fsSL https://heyboss.im/collectors/install.mjs | node - --token hb_yourteam_•••••••• --tool kimi --name "<name>"
- If you are pi (the pi coding agent), upload the pi sessions:
curl -fsSL https://heyboss.im/collectors/install.mjs | node - --token hb_yourteam_•••••••• --tool pi --name "<name>"
- If you are OpenClaw (formerly Clawdbot), upload the OpenClaw sessions:
curl -fsSL https://heyboss.im/collectors/install.mjs | node - --token hb_yourteam_•••••••• --tool openclaw --name "<name>"
- If you are Hermes Agent (Nous Research), upload the Hermes sessions:
curl -fsSL https://heyboss.im/collectors/install.mjs | node - --token hb_yourteam_•••••••• --tool hermes --name "<name>"
- If you are another tool, drop --tool and the script detects what is installed on this machine:
curl -fsSL https://heyboss.im/collectors/install.mjs | node - --token hb_yourteam_•••••••• --name "<name>"
3. Tell me what the script printed.
4. Once the setup succeeds, send me this link as it is (no need to open it yourself). I will open it to sign in or sign up and join the team, and see my own work trail and daily reports; only I and the team's owners see my records:
https://heyboss.im/join/yourteam.••••••••
The script installs collector hooks plus a background sync that runs every 5 minutes, and records my work from now on; sessions from before the setup are never uploaded (WorkBuddy needs one restart afterwards). It reports the requests I make to you, your closing summary and the time spent, never file contents or your working steps.
When I want to stop reporting later, run curl -fsSL https://heyboss.im/collectors/uninstall.mjs | node -: it removes the collector hooks and the background sync, and tells the dashboard I have removed HeyBoss.This is a sample. Sign in and it becomes the message for your own team.
What happens next
- 1
You send the message to your team
Slack, Teams, WeChat or email all work. Everyone gets the same message.
- 2
Each person pastes it into their AI partner
The agent asks for their name, installs the collector and starts recording from that moment; earlier sessions stay on their machine. About a minute, no technical skills needed.











- 3
Their work shows up on your dashboard
What they did, what they asked the AI for, how it turned out and how long it took. It updates after every AI reply, and a background sync every 5 minutes catches anything else.
Supported AI partners
Claude CodePaste to connect
CodexPaste to connect
CursorPaste to connect
WorkBuddyPaste to connect
CodeBuddy CodePaste to connect
ZCodePaste to connect
Kimi CodePaste to connect
piPaste to connect
OpenClawPaste to connect
Hermes AgentPaste to connect
Gemini CLIConnects through the API
What is collected, in words you can pass on to the team
- Tool, project folder name, session time and length
- A one-line summary (the session title, or the first request)
- Each request the person made to the AI
- The AI's closing summary
- Counts such as turns and token usage
- File contents and code
- The AI's intermediate replies, tool calls and working steps
- Keystrokes, screens, browsing history
- Anything outside an AI session
Advanced: team token and manual setup
This is your team's token
Sign in and your team's own token shows up here.
export HEYBOSS_URL=https://heyboss.im export HEYBOSS_TOKEN=<token>Get started
Install a collector on each machine
Put these environment variables in the person's shell profile, then add one line of config for their tool.
export HEYBOSS_EMPLOYEE=lin.xiao # A unique ID for the person, e.g. lin.xiao export HEYBOSS_NAME='Lin Xiao' # Name shown on the dashboard (optional) export HEYBOSS_TEAM=backend # Their team (optional)
Add Stop and SessionEnd hooks to ~/.claude/settings.json. After every reply the script reads the local session in the background, reduces it to a summary, the requests made and the closing outcome, and reports it without making you wait.
# Download the script
mkdir -p ~/.heyboss && curl -fsSL https://heyboss.im/collectors/claude-code-hook.mjs -o ~/.heyboss/claude-code-hook.mjs
# ~/.claude/settings.json
{
"hooks": {
"SessionEnd": [{
"hooks": [{ "type": "command", "command": "node ~/.heyboss/claude-code-hook.mjs" }]
}]
}
}Background sync
Hooks only see sessions that end cleanly in the front end that runs them. So sync.mjs is scheduled every 5 minutes (launchd on macOS, cron on Linux, Task Scheduler on Windows): it re-reads every session file changed since the last sweep and re-posts it. All-day sessions, Codex inside an IDE and uploads that failed offline are all picked up this way. The one-line paste already includes this.
# Download the script curl -fsSL https://heyboss.im/collectors/sync.mjs -o ~/.heyboss/sync.mjs # crontab -e (macOS: a launchd plist, Windows: schtasks — install.mjs writes these for you) */5 * * * * node ~/.heyboss/sync.mjs >> ~/.heyboss/sync.log 2>&1
Verify
Run once with HEYBOSS_DRY_RUN=1: the script only prints what it would report. When it looks right, remove it, let the AI reply once, and it shows up in the work trail within 30 seconds.
Stop reporting
When a person has their AI partner run this line, the collector hooks and background sync are removed and the dashboard is told they removed HeyBoss; the people page marks them and their earlier records stay. To reconnect, send the message again.
curl -fsSL https://heyboss.im/collectors/uninstall.mjs | node -