---
title: "memhub"
description: "MemHub team memory for coding agents. Your sessions are saved to your memory automatically, your team keeps a shared brain of specs and docs, team rules warn or block the agent at the moment they apply (Claude Code and C"
canonical: https://agentpluginsdirectory.com/plugins/memhub
last-updated: 2026-11-13
---

# memhub
MemHub team memory for coding agents. Your sessions are saved to your memory automatically, your team keeps a shared brain of specs and docs, team rules warn or block the agent at the moment they apply (Claude Code and Codex; shell commands, file reads, edits and command results on Cursor), and MCP tools let the agent search and save team memory.
## Package we checked
The manifest we fetched is plugins/memhub/plugin.json in XTraceAI/agent-plugins. The plugin root is the directory that holds that file. Its $schema is https://agent-plugins.org/schemas/1.0.0/plugin.schema.json. The manifest lists 17 skills and 1 MCP server (memhub). Stored mcp.json transports: memhub streamable-http.
- Slug: memhub
- Publisher: XTrace
- Repository: https://github.com/XTraceAI/agent-plugins
- Manifest: plugins/memhub/plugin.json
- Version: 0.151.0
- License: Apache-2.0
- Category (editorial): agent-tooling
- Skills: 17 (companion, create-rule, handoff-session, import-session, link-pr, login, onboard, pr-babysit, repos, rewind, save-artifact, search-memory, spec-check, spec-maintain, spec-work, spec, start-rulebook)
- MCP servers: 1 (memhub)
- Stars: 2
- Repository created: 2026-06-09
- Repository last pushed: 2026-11-12
- Publisher type: Organization
- Listing: https://agentpluginsdirectory.com/plugins/memhub
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What memhub does, in the publisher's words

MemHub gives coding agents shared team memory: interactive MCP tools for searching and saving knowledge, automatic session capture, situated directive recall, and workflows for artifacts, specs, handoffs, rules, and PR review. The same memhub plugin supports Claude Code, OpenAI Codex, and Cursor through each host's native plugin system.

This repository publishes the memhub plugin to all three hosts. It also contains the Claude Code-only fleet plugin for coordinating parallel agents.

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/XTraceAI/agent-plugins/HEAD/README.md

## Skills

- companion
- create-rule: Use when the user wants to create a team engineering rule for the Rulebook (e.g. "/memhub:create-rule", "add a rule that we never force-push", "make a rule for this mistake", "make it actually stop me"). Pins a when-X-then-Y sentence, drafts a deterministic check, and files it for review through th…
- handoff-session: Use when the user wants to hand off the current session/work to a teammate via MemHub (e.g. "hand this off to Alice", "handoff this session to Bob", "share my context with Carol so she can pick this up", "pass this work to X"). Creates a shareable agent brain holding a handoff brief, and shares it…
- import-session: Use when the user asks to import, upload, or save a Claude Code, Codex, or Cursor session/conversation/transcript into MemHub or team memory (e.g. "import this session into memhub", "save session <id> to memhub", "put that conversation in an agent brain"). Ships the transcript via a terminal upload…
- link-pr
- login: Use when the user wants to authenticate or re-authenticate the MemHub plugin, or when memory capture is not working because of auth (e.g. "log in to memhub", "memhub login", "authenticate memhub", "memhub says I'm not authenticated", "my sessions aren't being saved", "capture stopped working", "re-…
- onboard: Use when a new user wants to set up MemHub / an agent brain for their repo, or asks to "onboard", "get started", "set up my brain", or "seed a brain from my work". Crosses the empty-brain cold start: creates the repo's agent brain, seeds it from a real Claude Code session, shows the compiled overv…
- pr-babysit: Use when a PR should be babysat to green, poll its review bots (Cursor bugbot, OpenAI Codex) and CI, fix the real findings, push, and when clean save a PR review record to the repo's MemHub room (e.g. "babysit this PR", "watch PR 14 and fix the bot findings", or auto-armed by the memhub hook right…
- repos
- rewind
- save-artifact: Use when the user asks to save, store, or upload a file/document/spec to MemHub or team memory as an artifact (e.g. "save this spec to memhub", "store this doc as an artifact", "version this design doc in memhub"). Uploads the file's bytes via a terminal script, never call save_artifact directly o…
- search-memory: Use when the user asks what the team knows, decided, discussed, or saved about a topic, or wants to check MemHub/team memory (e.g. "what do we know about X", "did we decide on Y", "search memhub for Z", "is there a spec for W"). Read-only: searches facts, episodes, artifacts, and documents.
- spec-check
- spec-maintain
- spec-work
- spec: Use when the user wants spec-driven development backed by team memory, create, revise, drift-check, or report on a spec held in MemHub (e.g. "start a spec for X", "save this as the team spec", "revise the spec", "did the spec change under me?", "what's the status of the retry-policy spec?"). Specs…
- start-rulebook

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.

## MCP servers

- memhub: transport: streamable-http; url: https://api.memhub.xtrace.ai/mcp-server/mcp

Read from the plugin's own mcp.json. Environment variable names only, never values.
