Reintersect for coding agents
Claude Code, Codex, Cursor and OpenCode, with your team in the loop.
Your coding agent forgets everything when the session ends. Your team doesn't have to.
This plugin gives Claude Code, Codex, Cursor and OpenCode what your team already discussed, decided and learned on Reintersect, and sends back what the agent figures out along the way. Reintersect is where that discussing and deciding happens, and where the team hands work to agents. The plugin puts that record inside the agent on your machine.
One sign-in covers every host on the machine, because they all run the same binary against the same token file.
Install
Claude Code
Requires Claude Code 2.1.283 or later.
Install for yourself across all projects (the default user scope):
claude plugin marketplace add reintersect/agent-plugins
claude plugin install reintersect@reintersect
To use Reintersect only in a particular repository or work project, run these commands from that project's root directory instead:
claude plugin marketplace add reintersect/agent-plugins
claude plugin install reintersect@reintersect --scope local
Local scope enables the plugin for you in that project through .claude/settings.local.json. For a setup shared with collaborators, use --scope project instead, which records the plugin in .claude/settings.json.
If you're switching an existing user-scope installation to local scope, first run claude plugin uninstall reintersect@reintersect --scope user --keep-data, then use the local install commands above. Start a new Claude Code session in the project and check claude plugin list to confirm the scope. See Claude Code's installation scopes for details.
Codex
Requires Codex CLI 0.158.0 or later.
codex plugin marketplace add reintersect/agent-plugins
codex plugin add reintersect@reintersect
Finish setup in Codex:
- Run
$reintersect:login and choose your Reintersect workspace.
- Open
/hooks in the Codex CLI and review and trust Reintersect's hooks. Codex requires this separately from installing the plugin; automatic recall and capture stay off until you do it.
- Start a new session and run
$reintersect:status to verify the workspace, tools and capture. An enabled capture setting alone does not mean the hooks are running.
Codex asks you to review hooks again if their definition changes.
Cursor
cursor-agent plugin marketplace add https://github.com/reintersect/agent-plugins
cursor-agent plugin install reintersect@reintersect
OpenCode
Add the package and its MCP server to opencode.json, in the project or in ~/.config/opencode/opencode.json:
{
"plugin": ["@reintersect/opencode"],
"mcp": {
"reintersect": {
"type": "local",
"command": ["npx", "-y", "@reintersect/opencode", "mcp"]
}
}
}
Sign in
Run $reintersect:login in Codex, /reintersect:login in Claude Code, or /reintersect-login in OpenCode. It opens your browser and prints the URL, so it works over SSH too. Pick a workspace on the consent page; that choice binds this machine. Cursor has no slash commands, so sign in from a terminal instead:
node ~/.cursor/plugins/*/reintersect/dist/reintersect-agent.mjs login
If you'd rather use a key, set REINTERSECT_API_KEY to a rei_… key from Settings → Developer → API keys, and the browser step goes away.
What happens in a session
Claude Code and Codex recall relevant memory on every prompt, including short follow-ups. During tool work they refresh in the background at most once a minute. Foreground prompt hooks have a four-second deadline; failures leave the host free to continue.
Each response contains at most 4,000 characters, with at most 1,000 used by personal and repository profiles. The plugin supplies new or changed facts, retires facts and profiles that are no longer current or accessible, and restores context after compaction, resume, clear and fork. Subagents have separate delivery records. Memories are dated evidence with provenance, not instructions that override your task.
Cursor keeps its session-start injection. OpenCode keeps its session-start and first substantial prompt behavior. Both use the shared capture and upload fixes.