Documentation
Start with the three steps. Everything after them is reference: open what you need, or jump there from the outline.
Quickstart
Three steps, about five minutes. Shown here with Claude Code.
1Connect your agent
Run this once in a terminal:
claude mcp add --transport http --scope user pairharbor https://pairharbor.com/api/mcpThen type
/mcpin Claude Code and sign in. Using another app? Other ways to connect.N Plan "Mobile Rewrite" W Port the login flow W Write the migration script N Audit push notifications Proposals until you approve 2Ask for a plan
Create a workspace and invite your team. Then tell your agent:
You sayPost the project "Mobile Rewrite" in my Acme workspace from BRIEF.md, then plan it. Show me who covers each task before you file them.
The tasks arrive as proposals. Approve the ones you want.
The queue assigned W Wen Wen's token Build box done, with a report: "Wen via Build box" 3Work the queue
A task belongs to a person. They do it, or their agent does: an agent acts as its owner, and the history names both.
Anyone on the team saysTake my next PairHarbor task, do it, and complete it with a report.
On this page
Connect your agent
PairHarbor is served at one address. Connect your agent to it once, then say what you want in plain words: the agent picks the tool and makes the call as you. Same safety filters, same membership rules, same limits as the website.
https://pairharbor.com/api/mcpThe address is the same for everyone. The only choice is how the agent proves it is you: you sign in, or it sends a token.
Sign in: when you are at the keyboard
No token to paste and nothing to install. Add the address, sign in to PairHarbor in your browser and press Allow.
claude mcp add --transport http --scope user pairharbor https://pairharbor.com/api/mcpRun it once in a terminal, then type /mcp in Claude Code and sign in. --scope user makes it available in every project on this machine.
The connection shows up in Settings as an agent named after the app, and deleting it there ends the connection. Its access renews itself while you use it and lapses after 90 days without use.
Send a token: machines that work alone
A build box, a CI job or a repo shared by a team cannot open a browser and sign in. Give it a token instead:
- Get a token. In Settings, under Agents, create an agent for this machine and press New token. It is shown once: copy it, and never commit it.
- Send it to the same address, in the
Authorizationheader.
claude mcp add --transport http --scope user pairharbor https://pairharbor.com/api/mcp --header "Authorization: Bearer ph_your_token"Run it once in a terminal, with your token in place of ph_your_token.
Either way, that is the whole setup. Every request sample below opens on a “Claude Code / Codex” tab with the sentence to type.
What the agent can do
- Your cloud:
whoami,get_my_cloud,update_my_cloud,add_skills,remove_skills - Workspaces and projects:
list_workspaces,get_workspace_usage,list_workspace_projects,post_workspace_project,post_public_project,update_public_project,delete_workspace_project - Tasks:
list_my_tasks,list_workspace_tasks,get_task,create_task,approve_task,claim_task,update_task,complete_task,suggest_assignees,wait_for_tasks
Every tool acts as you, and task history names the agent whose token was used. The one thing it will not do is turn a résumé or a brief into skills: that stays in the signed-in app, and the tools take ready-made skills.
Plan a project by asking
Ask for the plan first, then for the filing:
Plan the project "<title>" in my <workspace> workspace on PairHarbor.
Read its brief, skills and terms, suggest who covers each task, and show me
the plan. When I say "file them", create the tasks.Tasks an agent files are proposals until a member approves them, unless the workspace runs unattended mode.
The npm package
pairharbor-mcp on npm (Node 20 or newer) holds the same tools as a program that runs on your machine. Connecting an agent no longer needs it. It is there for two things:
- The worker.
pairharbor-workerpulls your assigned tasks and works them with nobody watching. See Letting a machine work alone. - A client that cannot connect to an address. Have it start
npx -y pairharbor-mcpwithPAIRHARBOR_TOKENset in its environment.
API
Plain HTTP for scripts and CI: tokens, tasks, webhooks and limits.
Everything the agent does, you can do with plain HTTP. Handy for scripts, CI and anything that is not an MCP client. One token, one header, and you only ever see your own account and the workspaces you belong to.
Get a token
- In Settings, under Agents, create an agent named after the machine (“Work laptop”, “Build box”) and press New token.
- Copy the
ph_...value right away. It is shown once; we keep only a hash. - Lost or leaked? Revoke it in the same list. You can hold up to 5.
Send it on every request: Authorization: Bearer ph_your_token
Your cloud
GET /api/v1/cloud returns your skill cloud: title, skills with depth and category, estimated years, scoring version and last update.
Show me my PairHarbor cloud: title, skills with their depth, and years.Needs the connection from Connect your agent. The agent calls the tool as you.
{
"title": "John D. · AI Engineering Leader",
"skills": [
{ "name": "Postgres Tuning", "depth": 0.72, "category": "engineering" },
{ "name": "Team Leadership", "depth": 0.55, "category": "trait", "manual": true }
],
"years": 8,
"version": 2,
"updatedAt": "2026-07-31T10:00:00.000Z"
}PUT /api/v1/cloud replaces the skills, and the title if you send one. Good for keeping PairHarbor in step with a skills file you maintain elsewhere. A skill you leave out is removed; a skill you send back keeps what PairHarbor knows about it beyond name, depth and category (how recently you used it, and that you added it by hand).
Replace my PairHarbor cloud with these skills and call it "My imported cloud":
Rust 0.8 engineering, Causal Inference 0.6 domain, Team Leadership 0.5 trait.Needs the connection from Connect your agent. The agent calls the tool as you.
Every write goes through the same wash:
- Categories are engineering, domain, product, craft and trait.
- Depths are clamped to 0–1.
- Names pass the safety filter: no emails, credentials or personal data.
- The depth budget rescales the result when your years are known.
So read the response: it is the cloud as stored, which may not be exactly what you sent.
Workspaces and projects
GET /api/v1/me # who this token belongs to
GET /api/v1/workspaces # Public first, then your company workspaces
GET /api/v1/projects # your public projects
POST /api/v1/projects # { title, skills, brief?, list?, teamMin?, teamMax?, startsOn?, endsOn?, ... }
PATCH /api/v1/projects # { handle, brief } set or clear ("") a public brief
GET /api/v1/workspaces/<id>/projects # a company workspace's projects (members only)
POST /api/v1/workspaces/<id>/projects # { title, skills, brief?, teamMin?, teamMax?, startsOn?, endsOn? }
DELETE /api/v1/workspaces/<id>/projects?id=<projectId> # poster or adminPublic comes first in the list on purpose, so “which workspace am I in” always has an answer. A public project gets a public page: it stays unlisted unless you pass list: true, and its brief is shown there. Deleting one is done in the app.
Tasks
Projects split into tasks. These routes take your signed-in session or one of your agents' tokens, so people and their machines share one API.
GET /api/v1/tasks?status= # your inbox, across workspaces
GET /api/org/<id>/tasks?projectId=&status= # a workspace's tasks
POST /api/org/<id>/tasks # { projectId, title, description?, skills, assignee?, dueOn? }
GET /api/org/<id>/tasks/<taskId> # one task with its history
PATCH /api/org/<id>/tasks/<taskId> # { claim: true } | { status } | { assignee } | { report, artifacts } | { approve: true } | edits
POST /api/org/<id>/tasks/suggest # { skills } -> members ranked by coverageA task is due on the project's end date unless you say otherwise. When it is completed, its skills join the assignee's cloud: new ones at a modest depth, existing ones a little deeper.
Letting a machine work alone
An agent is a machine you run. Its tokens act as you, and everything it does is recorded under its name. Nobody is watching it, so a few rules keep things calm:
- Proposals first. A task created through a token stays out of every inbox until a member approves it (
PATCH { "approve": true }, optionally with another assignee) or rejects it. Approving works signed in or through a token. A token acts as its owner, so an agent holding yours can approve too: the step is a pause for review, not a lock. - Deleting takes a person. No token can delete a task.
- Unattended mode. A workspace admin can switch it on (Members, Automation) so agent-filed tasks go live at once. The history records the auto-approval.
- The worker.
pairharbor-worker, in the npm package, pulls your assigned tasks, hands each to a handler (Claude Code on a repository branch, an Android emulator, or your own module) and reports back done or blocked. The Set up panel in Settings shows the commands. - No polling.
GET /api/v1/tasks/wait?since=&timeout=holds the line and answers the moment one of your tasks changes. The MCP tool iswait_for_tasks; the worker uses it between passes. - Borders hold. An agent belongs to one person and goes only where that person can. One token serves all your workspaces, and there are no agents for hire to workspaces their owner is not in. That is on purpose.
Webhooks: we call you
A webhook is a URL of yours that PairHarbor calls the moment something happens to a task. Instead of your server asking “anything new?” every minute, it gets a knock on the door.
What people use them for:
- Tell the team chat that Diego just finished the Espresso suite.
- Start a build or a deploy when a task is marked done.
- Wake a bot that lives on a server and has no terminal to sit in.
- Mirror tasks into the tracker or dashboard you already use.
Set one up. A workspace admin opens Members, Automation, pastes an HTTPS URL and gets a signing secret, shown once. From then on, every task event in that workspace is sent there as a JSON POST:
| task.proposed | An agent filed a task. It is waiting for a member to approve it. |
| task.created | A task went live straight away: a person made it, or unattended mode is on. |
| task.assigned | The assignee changed: someone was assigned, claimed it, or handed it over. |
| task.status | The status changed: approved, in progress, blocked and so on. |
| task.done | Someone finished it. The report and its links ride along. |
POST https://your-server.example/pairharbor
X-PairHarbor-Event: task.done
X-PairHarbor-Signature: sha256=3b1f...
{
"event": "task.done",
"at": "2026-09-28T16:02:11.000Z",
"workspace": { "id": "..." },
"task": {
"id": "...", "projectId": "...", "title": "Espresso smoke suite",
"status": "done", "assignee": "...", "dueOn": "2026-09-28",
"report": "PASS. Two regressions filed.", "artifacts": [ ... ]
},
"actor": "...",
"via": "Lab PC"
}actor is the account that made the change and via is the agent it came through, or null when a person did it on the site.
Check that it is really us. The signature is an HMAC-SHA256 of the raw body, keyed with your secret. Recompute it and compare before you trust anything:
import { createHmac, timingSafeEqual } from "node:crypto";
// rawBody: the request body exactly as received, before any JSON parsing
function fromPairHarbor(rawBody, signatureHeader, secret) {
const expected = "sha256=" + createHmac("sha256", secret).update(rawBody).digest("hex");
const a = Buffer.from(expected);
const b = Buffer.from(signatureHeader ?? "");
return a.length === b.length && timingSafeEqual(a, b);
}The fine print:
- One try per event, a 5 second wait, no retries. Nothing is lost when a call misses: the task is the source of truth, so list the tasks to catch up.
- The Automation card shows each endpoint's last result, so a dead URL is easy to spot.
- HTTPS only, no private addresses. A Free workspace gets 1 endpoint, Team and Pro get 5.
- Company workspaces only. The Public workspace has no webhooks.
Limits and errors
A workspace's plan (see pricing) sets how many members it admits, how many webhooks it may register, and how many tasks agents may complete per month. Tasks people complete are never counted. GET /api/org/<id>/billing (MCP: get_workspace_usage) says what is left, so a planner can pace itself.
| 401 | Missing or invalid token. Check the Authorization header. |
| 404 | GET cloud: you have no cloud yet. Build one in the app first. |
| 400 | PUT cloud: empty or invalid skills, or malformed JSON. |
| 429 | Daily write limit reached: 100 writes per token per day. |
| 402 | The workspace has used its monthly allowance of agent completions (code "quota"). A person can still finish the task, or an admin can upgrade. |
Worked examples
The same loop, twice: post a project, split it into tasks, people take them, reports come back. First a company with twelve testers. Then just you and Claude Desktop, in ten minutes, for real.
A company round: 12 Android testers for 14 days
Nadia, twelve phones, two weeks. Start here to see the whole loop.
Meet Nadia. She runs QA at Trailhead, a maps startup that does not exist. Release 4.2 ships in two weeks and she wants it hammered on twelve real phones first. The names are made up; every feature is real.
1. The workspace
Nadia creates a workspace called Trailhead and shares the invite link. It only admits trailhead.app addresses, so colleagues get in and nobody else does. Each tester builds a skill cloud from their résumé and ticks “Share my skill cloud with Trailhead” on the Members page. Sharing is off by default, and without it the matcher cannot see you.
2. The project
She pastes the brief on the Projects tab and PairHarbor pulls out the skills it needs. From an agent or the API it is one request:
Post a project in my Trailhead workspace on PairHarbor titled
"Android release 4.2: 14-day device test" with skills: Android 0.8 engineering,
Mobile QA 0.9 craft, Bug Reproduction 0.8 craft, Regression Testing 0.7 craft,
Espresso 0.5 engineering, Google Play 0.5 domain.Needs the connection from Connect your agent. The agent calls the tool as you.
She also sets the terms: twelve people, the 15th to the 28th. The card now reads “12 people · 14 days from Sep 15 · 0 of 12 committed”, and Build team ranks every shared cloud, so she can see who is strong on Espresso and who has never touched it.
3. Splitting it into tasks
Twelve people for fourteen days is too much to hand out by hand, so Nadia asks Claude:
Plan the project "Android release 4.2: 14-day device test" in my
Trailhead workspace on PairHarbor. Read its brief, skills and terms,
check who covers what, and show me the plan before filing anything.Claude reads the project, asks the matcher who fits what, and comes back with one task per person and no tester named twice:
1. Pixel 8 (Android 15): install, sign-in, cloud upload, share -> Priya 92%
2. Galaxy S24 (One UI 7): same flow plus dark mode and rotation -> Marcus 88%
3. Low-end device (Android 12, 3 GB): cold start under 4 s -> Wen 81%
4. Tablet layout (Tab S9): Harbor grid and project dialogs -> Ana 77%
5. Espresso smoke suite: run nightly, file regressions -> Diego 85%
6. Offline and flaky-network behaviour on any device -> Lena 74%
...
Say "file them" and I will create the twelve tasks as proposals, due Sep 28.She asks for one change and says “file them”. Twelve proposals appear, and nothing is assigned yet, because a machine filed them. Nadia approves ten, swaps one assignee (Wen is on holiday, so Omar gets the low-end phone), rejects a duplicate and adds a daily triage task of her own.
4. The work gets done, three ways
- Priya uses the website. She sets her task to In progress, spends a week with the Pixel, then marks it Done with a report and links to three bugs.
- Marcus talks to Claude Desktop.“What PairHarbor tasks do I have?” A week later: “complete it: dark mode fine, rotation loses the search text, filed as TH-311”. The history shows the same entries, with “via Marcus's laptop” next to each.
- Diego lets a machine do it. He starts the worker on the lab PC that has the emulator.
npx -p pairharbor-mcp pairharbor-worker \
--handler android-emulator --workspace TrailheadIt installs the build named in the task, runs a stress pass, reads the crash log and reports PASS or FAIL with screenshots. When Nadia assigns a re-test after a fix, the worker picks it up within a second. Nobody touches the lab PC.
5. What Nadia sees
The Tasks dialog is her status board: who has what, what is blocked and why, and what is overdue, in red. Lena marks her task blocked with “test build 4.2.3 crashes on launch”, and everyone can read the reason. Each task's history names every person and machine that touched it.
On day fourteen everything is done, with a bonus. Each finished task added its skills to the tester's own cloud, so Omar now has “Android” on his profile from work he actually did, and ranks higher next time.
Going further
Running this every release? Turn on unattended mode so Claude's tasks skip the approval step, and add a webhook so each finished task shows up in the team chat. Both are in the API section above.
A public task from Claude Desktop, start to finish
Ten minutes, just you and Claude Desktop. Tick the steps as you go.
Ten minutes, one account, nothing but Claude Desktop. You post a public project for testing the PairHarbor Android app, define a task, take it yourself and hand in the results. Each step is one sentence to type, and we name the tool Claude calls so you can see what happened.
House rules of the Public workspace
- Only the project's owner defines tasks. Created through Claude, a task is a proposal until the owner approves it.
- Anyone signed in can see a public project's open tasks (the Tasks button on its page) and claim one. Nobody gets assigned by someone else, and one account holds at most five unfinished tasks on other people's projects.
- Reports, links and history stay between the owner and whoever did the task.
- Agents can complete up to 50 tasks a month across one owner's public projects. Tasks people complete are never counted.
0. Connect Claude Desktop
In Claude Desktop, open Settings, Connectors, Add custom connector, and paste https://pairharbor.com/api/mcp. Sign in to PairHarbor when the browser opens and press Allow. Then check the connection:
Who am I on PairHarbor, and which workspaces can I act in?Claude calls whoami and list_workspaces and answers with your account and a list that starts with Public.
1. Post the project
Post a public project on PairHarbor called "PairHarbor Android app: test round".
Brief: we are testing the Android app (package com.pairharbor.app) on real
phones before it goes to Google Play production. Testers install it, sign in,
build or open a skill cloud, and report what broke.
Skills: Android 0.6 engineering, Mobile QA 0.8 craft, Bug Reproduction 0.7 craft,
Attention to Detail 0.6 trait. It is a short remote project ending in 14 days.
Keep it unlisted for now and give me the link.Claude calls post_public_projectand returns a link like pairharbor.com/u/ab12cd34. The last part is the project's handle, and tasks hang off it. Unlisted means only people with the link see the page.
2. Define the task
Create a task under that project in the Public workspace:
"Install the app and run the first-launch checklist".
Description: 1) install the app from the Play testing link, 2) confirm it opens
full screen with no browser address bar, 3) sign in with Google, 4) open My cloud
and rotate the 3D cloud, 5) open a shared link to pairharbor.com and confirm it
opens in the app, 6) press Back from each screen. Report phone model, Android
version, and anything that failed, with screenshots.
Skills: Mobile QA 0.8 craft, Android 0.5 engineering. Leave it unassigned.Claude calls create_task with workspace publicand the project's handle. The task comes back as proposed: it exists, but nobody else can see it yet.
3. Approve it
Approve that task so it is open.Claude calls approve_task. Now every signed-in visitor sees it under Tasks on the project page and could claim it. This is the step that makes work Claude filed real, and it is always yours.
4. Take the task
Claim that task for me and mark it in progress.Claude calls claim_task, then update_task. Ask “what PairHarbor tasks do I have?” and it shows up in your inbox (list_my_tasks), marked Public.
5. Do the work
This part happens on your phone, not in Claude. Run the six checks and note what you see. Stuck? Say so instead of guessing: “mark the task blocked: the testing link says the app is not available for my account” puts the reason where the owner will read it.
6. Hand in the results
Complete the task with this report: Pixel 8, Android 15. Installed from the
testing link, opened full screen, Google sign-in worked, cloud rotated smoothly.
One problem: Back from the Harbor closed the app instead of returning to My cloud.
Attach https://example.com/screenshots as "Screenshots".Claude calls complete_task. The task is done, the report and the link are stored with it, and its skills are added to your own cloud as evidence of work you did.
7. Read it back
Show me that task with its full history.Claude calls get_task and lists every step with its time and the agent that made it: proposed, approved, claimed, in progress, done, reported. The same history is on the web: open the project page, press Tasks and select the task.
With other people
You just played both parts. In a real round you stop after step 3 and send the project link to your testers. Each one signs in, presses Tasks, claims a task and reports there, or asks their own Claude to do it. You see their reports; they never see each other's. Need private briefs, named assignees or more than 50 agent completions a month? Run it in a company workspace, like Nadia did.
How skill clouds are weighted
Why your biggest sphere is your biggest sphere.
Every skill has a depth from 0 to 1, shown as a score out of 10. Bigger sphere, deeper skill.
- Depth comes from evidence.Built from a résumé, depth reflects what the text shows, not what you claim. Long, senior, repeated work scores high; a single mention scores low. Roughly: 2 is an interest, 5 working knowledge, 8 deep experience, 9.5 expert across many contexts.
- There is a budget.A cloud's total depth is capped at
min(18, 3 + 1.1 × years). Go over and everything is scaled down. Nobody is 10/10 in a hundred things, so adding skills dilutes the rest. - Skills you add yourself. You state your years with it and the depth is
0.15 + 0.09 × years, kept between 1.5 and 9.5 out of 10. About 4 years is working knowledge, about 7 is deep. It is marked as added by hand, and the budget still applies. - Versions. Each cloud remembers which scoring method built it. When the method improves, older clouds show a rebuild notice so scores stay comparable.
Embed a cloud in your website
Put your 3D cloud on your own site or a GitHub README.
Every published cloud has a bare, iframe-friendly page at /u/<handle>/embed: just the 3D scene and a small PairHarbor mark. Publish your cloud with the share button on My cloud, take the handle from the link (the part after /u/) and paste this into your site:
<iframe
src="https://pairharbor.com/u/YOUR_HANDLE/embed"
width="100%"
height="480"
style="border: 0; border-radius: 12px"
loading="lazy"
title="My skill cloud"
></iframe>Want it to keep its shape on phones? Wrap it in an aspect-ratio box:
<div style="aspect-ratio: 16 / 9; max-width: 900px">
<iframe
src="https://pairharbor.com/u/YOUR_HANDLE/embed"
width="100%"
height="100%"
style="border: 0; border-radius: 12px"
loading="lazy"
title="My skill cloud"
></iframe>
</div>- Add
?mode=genesisto play the Genesis animation: your skills gathering into orbit like a young solar system. - It shows what the public page shows, nothing more, and it is live: edits appear by themselves and unpublishing in Settings switches it off.
- Published is enough. It does not need to be listed in the Harbor.
- Works anywhere iframes do: Notion, WordPress, your own site. Browsers without WebGL get a plain fallback.
GitHub READMEs and other iframe-free zones
GitHub and dev.to strip iframes but render images. Your cloud's preview card is an image, so this Markdown gives you a clickable card that lands on the live 3D cloud:
[](https://pairharbor.com/u/YOUR_HANDLE)GitHub caches images for a few hours, so edits take a while to show there.
Questions the docs don't answer? See the privacy policy for how data is handled, or the terms.