Never reset the database. Write a migration.
prisma migrate reset wipes every row. A schema change ships as a migration, made with prisma migrate dev.
- LearnedDana’s session, Mon
- Served31 sessions, cited in 11
- CheckedPR #503, passed
Harbor gives every coding agent your team’s memory, stops the commands you banned, and reviews every pull request against your rules.Team memory, guardrails and code review for every coding agent you run.
$npx harborloop initSend this to my computerConnects Claude Code, Codex, Cursor and GitHub Copilot. Free for you and one teammate. No card. No end date.
$claude plugin marketplace add gethrbr/harbor-plugins && claude plugin install harbor@harborSend this to my computerThen type /harbor:login in Claude Code to sign in.
$codex plugin marketplace add gethrbr/harbor-plugins && codex plugin add harbor@harborSend this to my computerThen type $harbor:login in Codex to sign in.
What Harbor does
One command connects your coding agents. From then on Harbor works in three places: before a task, while it runs, and on the pull request.
01Memory
What a teammate says once becomes a rule in every session, on every repo, machine and coding agent the team runs.
How it learns02Guardrails
Harbor holds an agent to your rules at the moment it runs a command, and tells it what to do instead.
How guardrails work03Review
A reviewer on each pull request, for bugs and for your team’s rules. It reads your CLAUDE.md, AGENTS.md and .claude/rules whole, from the base branch, so a PR cannot rewrite them.
See a reviewHarbor learns it
Your team already decides how it works, in coding sessions, review threads, Slack and docs. Harbor reads there and keeps each decision as a rule. You set the gate: every rule can wait for a person, or only the ones that need one.
Every session gets it right
Before each prompt, Harbor hands the agent the few rules that fit the task, not the whole rulebook. Dana said it once. Sam, Priya and Lee never have to.
Type handoff where you stop. Type handoff pick in any agent, or hand it to a teammate with handoff @dana.
Claude CodeSam
handoff
Harbor: handoff saved: "Ship the invite email"
CodexSam
handoff pick
Harbor: picked up "Ship the invite email" from Claude Code
handoff @dana
Harbor: handed to Dana. They got a notification and an email.
Claude CodeDana
Sam handed you a task
handoff pick
Harbor: picked up, handed over by Sam
The GitHub App
Harbor comments on the line with a bug, or the line that breaks a rule your team holds, before a reviewer has to. Your reviewers keep the judgment calls.
Keep it true
A memory kept by hand only grows, until nobody trusts it. In Harbor every rule has a source, a state and a record of use, and when the code changes, the rule changes with it, or leaves.
The outcome
We ran the same tasks with and without one saved rule. With it, the agent was right every time and nobody typed a correction.
10 of 10
right on the first try
Without the rule: 0 of 10
0
corrections a person typed
Without the rule: 10
38% less
agent time
52s without, 32s with Harbor
A controlled test, not a customer result. Claude Sonnet 5.5 on a small Node repo, tasks we picked, five runs each way. The token bill came out about even. Your numbers will differ.
Security
Off until you turn it on in a repo.
.env, .pem and other secret files.~/.harbor.harbor off pauses it.harbor uninstall removes it from the machine.Processed by OpenAI and Anthropic, on AWS in us-east-1, encrypted at rest. No SOC 2 report yet. Code review keeps no code. Read the Privacy Policy
Questions
If you only use Claude Code, in one repo, on one machine, its auto memory covers a lot. It stays in that repo on that machine, only Claude Code reads it, and the first 200 lines or 25KB load into every session. Harbor reaches your teammates and their agents, plus your other repos and machines, gives each task only what fits, and shows you which rules an answer cited. It is free to try, and harbor uninstall takes it back out. How auto memory works.
Yes, and it is the most common setup. Keep your CLAUDE.md and auto memory. Harbor adds what they do not do: a lesson one person’s session learns reaches every teammate’s Claude Code in every repo the Space covers, each prompt gets the few rules that fit instead of a whole file, every pull request is checked against the same rules, and each rule shows how often it was served and cited. If your team adds another agent later, it gets the same rules. How a rule reaches the team.
Keep them. They hold what somebody remembered to write, and each tool loads them its own way. Harbor sits beside them: it learns from your team’s sessions, reaches every agent your team uses, and hands over only what fits the task. It never edits your files. How it works with rules files.
No. Before each prompt Harbor hands the agent at most three team rules ranked for that task, plus any your team pinned as always-on, which are capped at five short rules. It adds nothing to your repo, and your CLAUDE.md loads the way it always did. harbor context shows what your machine already loads into every turn. What Harbor counts.
When a teammate’s newer rule reverses an older one, the newer one wins, the old one keeps a Restore button in Knowledge, and its author is told. A rule with an owner waits for that owner instead. When a push deletes a file a rule names, Harbor retires that rule on its own if it belongs to one repo, and flags it as out of date if it reaches more. Anyone who can push can reply @harbor-brain wrong on a pull request to mark a rule disputed for its owner. And every rule shows how often agents were given it and cited it, so you can retire one with evidence, or have unused rules archived after 60, 90 or 180 days. What Harbor counts.
Yes. Connect GitHub in Harbor and turn on Code review, with no command to run and nothing installed on anyone’s machine. From the first pull request it checks the rule files the repo already has: CLAUDE.md, AGENTS.md, Cursor and Copilot rules, and CONTRIBUTING.md. When your team also connects its agents, it checks what they learned too, on private repos. Free includes 10 reviews.
You correct Claude Code in a repo that is on, in words that state something standing, and Harbor saves it to that repo’s Space. Anyone in that Space who has run npx harborloop init can get it from their next session, in Claude Code, Cursor, Codex or Copilot, when it fits the task. On the default setting it goes live on trial with no approval, and you can make lessons wait for a person. One-off fixes and edits you make by hand are not saved. How Spaces work.
You can build one, and then you write the prompt, hold the key and decide which rules it reads. Harbor’s check needs no workflow file. It reads the repo’s rule files from the base branch, so a pull request cannot rewrite the rules it is checked against, adds the rules your team learned on private repos, comments on the line that breaks one, and lets anyone who can push reply @harbor-brain wrong to dispute a rule. How the review works.
Only what it needs, and only from repos you turned on. Your agents send the prompt and your correction, plus the path and up to 800 characters of a file the agent edits or reads, with keys and tokens blanked. Your transcript is not uploaded. The pull request review clones the repo in a short-lived task, sends the changed code to Anthropic to run the review, and keeps no code afterwards. Exactly what Harbor sees.
Free costs nothing for you and one teammate. There is no card and no end date, and you only pay if you ask for a paid plan. It has limits: one source, 1,000 live items, 30 days of history, and 200 correction reads and 10 questions a day. Reach one and your agents keep getting their rules. Every limit, and what happens at it.
No. On your own, a correction follows you to your other repos, agents and machines, and you can read and edit everything Harbor keeps. Add teammates when you want them, and Free covers you and one more.
No. Harbor reads your corrections as you work, and your agent saves what cost it time when a task ends. Start a line with remember: when you want to be sure. If your repo already commits an AGENTS.md or CLAUDE.md, setup asks before sending its rules to review, so nothing you wrote is left behind.
Press Connect your agents and sign up with Google or email. Name your workspace, then run npx harborloop init in your repo. It signs you in through the browser, finds Claude Code, Cursor, Codex and GitHub Copilot on your machine and wires each one with hooks and the MCP server. There is no call and no card. harbor doctor tells you if something is not working. Read the quickstart.
Connect them to Harbor. One setup wires Claude Code, Cursor, Codex and GitHub Copilot to the same memory, so a lesson saved from one can reach the others from their next session. Harbor learns from the work, sets a gate your team controls, gives each session only the rules that fit, and counts which rules got cited. Shared memory for AI coding agents.
Keep what works for you. A homegrown memory has the same parts every time: a hook that captures, a rule for what to keep, a way to pick what each session gets, and pruning when the code moves on. Harbor runs all of them. It saves corrections, review threads and Slack decisions, holds the ones that need a person, hands each prompt at most three ranked rules, and retires or flags a rule when a push deletes the file it names. It is not a notes app: your vault and your docs stay where they are. Where a homegrown setup usually stops is the second person, and Harbor gives every teammate’s agent the same rules, behind the same gate. A second brain, and where it stops.
No. It checks your team’s rules: your repo’s rule files and what Harbor learned from your work, the same rules your coding agents get. It also reviews the code for bugs, so a repo with no rule files is still reviewed. It does not replace tests, CI, security scanners or your reviewers. Other reviewers can follow instructions you write for them, and some learn from their own reviews. A finding gets a comment on its line and never fails the check. It can miss one, and it stays quiet when it cannot confirm it. How the review works.
Yes. A very short correction, or one its model does not read as a rule, is not saved, and nothing is captured outside a repo you turned on. Start the line with remember: to be sure, or add the rule yourself in Knowledge.
Not yet. We measured one controlled test with one agent and one saved rule, and it is on this page with what it leaves out. We have not published a result from a team over time. The way to find out is cheap: Free covers two people, so run it on a real repo with one teammate and read which rules got served and cited. See the test.
Last stop
Every lesson your team learns today stays with one person. Set Harbor up in a few minutes and the next one reaches every session and every pull request.
$npx harborloop initSend this to my computerConnects Claude Code, Codex, Cursor and GitHub Copilot. Free for you and one teammate. No card. No end date.
$claude plugin marketplace add gethrbr/harbor-plugins && claude plugin install harbor@harborSend this to my computerThen type /harbor:login in Claude Code to sign in.
$codex plugin marketplace add gethrbr/harbor-plugins && codex plugin add harbor@harborSend this to my computerThen type $harbor:login in Codex to sign in.