memhub
v0.46.2XTrace MemHub team memory in Codex: automatic session capture, situated directive recall, artifact sync, plus skills for setup, login, onboarding, artifact upload, session import, search, handoff, spec-driven development, Rulebook rule authoring (create-rule) and rules proposed from CLAUDE.md + past sessions in one run (rules-from-sessions), and PR babysitting. A rule lives in a RULEBOOK — a container with its own membership, so it reaches exactly the people that book binds; the authoring skills resolve which book it lands in and offer to create one when there is none. Run the memhub:setup skill once to install the compatibility hooks bridge on Codex 0.148-0.149.
By XTrace1 GitHub starsUpdated 3 hours ago
Directory evidence
- Runtimes
- Codex, Claude Code, and Agent Plugins
- Parsed components
- 10 skill or MCP entries
- Source updated
- Sep 3, 2026
- Manifest status
- Canonical path parsed
The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →
Install memhub for Codex and Claude Code
codex plugin marketplace add XTraceAI/agent-plugins
codex plugin marketplace upgrade xtrace-plugins
codex plugin add memhub@xtrace-pluginsPaste and run these commands in a terminal with Codex. They add and refresh the xtrace-plugins catalog, then install this plugin.
Compatibility: the page URL and API slug “memhub” remain stable.
- Codex:
memhub@agent-plugin-marketplace→memhub@xtrace-plugins
The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.
Get the source manually
git clone https://github.com/XTraceAI/agent-pluginsClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/memhub/.
Plugin files
├── .codex-plugin/plugin.json├── .claude-plugin/plugin.json├── plugin.json├── skills/handoff-session/SKILL.md├── skills/import-session/SKILL.md├── skills/login/SKILL.md├── skills/onboard/SKILL.md├── skills/pr-babysit/SKILL.md├── skills/save-artifact/SKILL.md├── skills/search-memory/SKILL.md├── skills/setup/SKILL.md├── skills/spec/SKILL.md└── .mcp.json
Included Skills9
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 read-only with the teammate along with the repo room where per-turn capture already extracted the 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 script — any size, no token-by-token re-emit.
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-auth memhub"). Provisions the plugin's own OAuth token — which is SEPARATE from the /mcp connector's login — and verifies it works.
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 overview, and proves proactive recall on the repo's own symbols — then reports an activation funnel.
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 after `gh pr create`). Designed as the body of a self-paced /loop — one poll→fix→push pass per invocation; the final pass writes the memory and ends the loop.
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 or re-emit file contents.
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.
Use when the user asks to set up, repair, or verify the installed MemHub host integration, especially Codex automatic capture, PreToolUse directive recall, hook installation, or capture health. Installs the Codex user-hooks compatibility bridge idempotently while preserving unrelated hooks, then checks plugin authentication and reports the one required trust step.
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 are versioned artifacts in the repo's shared agent brain; every revision carries a rationale and is diffable.
MCP servers1
- url
- https://api.memhub.xtrace.ai/mcp-server/mcp
Plugin manifests3
{
"name": "memhub",
"description": "XTrace MemHub team memory in Codex: automatic session capture, situated directive recall, artifact sync, plus skills for setup, login, onboarding, artifact upload, session import, search, handoff, spec-driven development, Rulebook rule authoring (create-rule) and rules proposed from CLAUDE.md + past sessions in one run (rules-from-sessions), and PR babysitting. A rule lives in a RULEBOOK — a container with its own membership, so it reaches exactly the people that book binds; the authoring skills resolve which book it lands in and offer to create one when there is none. Run the memhub:setup skill once to install the compatibility hooks bridge on Codex 0.148-0.149.",
"version": "0.46.2",
"author": {
"name": "XTrace",
"email": "[email protected]"
},
"homepage": "https://memhub.xtrace.ai",
"repository": "https://github.com/XTraceAI/agent-plugins",
"skills": "./skills/",
"interface": {
"displayName": "MemHub",
"shortDescription": "Team memory for Codex",
"capabilities": [
"Read",
"Write"
]
},
"hooks": "./hooks/codex-hooks.json"
}{
"name": "memhub",
"description": "Auto-capture Claude Code sessions into MemHub team memory. A Stop hook ships each turn as it happens — sending only the transcript bytes written since the last successful flush, so a session is captured even if it never reaches a clean exit — alongside flushes on commit/PR events (PostToolUse hooks) and a SessionEnd backstop. The memhub MCP runs tool-aware (agentic) extraction of facts, episodes, and artifacts with watermark-based delta dedup, batching extraction so per-turn capture doesn't fragment episodes. A PreToolUse hook surfaces situated team directives (lessons/procedures) before each Edit/Write/Bash by firing the memhub recall_directives symbol-tripwire on the in-flight call and injecting any hits as context (a client-side precision gate drops directives whose triggers don't concretely match the call, e.g. an over-broad repo-name trigger). Ships eleven skills: plugin install/health (setup), plugin authentication with its own hook credential (login), repo brain creation and seeding (onboard), terminal artifact uploads (save-artifact), on-demand session import (import-session), team-memory recall (search-memory), teammate session handoff (handoff-session), spec-driven development on versioned spec artifacts (spec), Rulebook rule authoring (create-rule), rules proposed from CLAUDE.md and past sessions in one run (rules-from-sessions), and PR babysitting (pr-babysit) — a hook arms a self-paced loop after `gh pr create` that fixes review-bot findings and saves the fixing process to the repo's agent brain. Rules live in RULEBOOKS — containers with their own membership, so a rule reaches exactly the people its book binds, and one person can be bound by several (their org's book plus their team's): the authoring skills resolve which book a rule lands in and offer to create one when there is none, the hooks cache every book that binds you, and when two books fire on one call the wider book's rule is the one the per-call cap keeps. A PostToolUse hook (artifact-sync) matches each edited file against the repo-local .claude/artifact-map.json and, on a hit, injects the exact save_artifact call that VERSIONS the linked artifact — so a corrected conclusion supersedes the stale one instead of competing with it in semantic retrieval; /memhub:spec writes those links at init/revise time. Sessions are named with the title Claude Code generates, and route into the repo's own agent brain via a per-user room cache (~/.config/memhub-plugin/rooms.json, never written into the repo) — resolved once by /memhub:onboard and read by every writer, including the two automatic capture paths, so team memory lands in the repo's room instead of personal memory.",
"version": "0.46.2",
"hooks": "./hooks/claude-hooks.json",
"author": {
"name": "XTrace",
"email": "[email protected]"
},
"homepage": "https://memhub.xtrace.ai",
"keywords": [
"memory",
"memhub",
"xtrace",
"session-capture"
]
}{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "memhub",
"description": "XTrace MemHub team memory: search_memory / save_artifact / import_conversation MCP tools plus skills for setup, login, onboarding, artifact upload, session import, team-memory recall, session handoff, spec-driven development, Rulebook rule authoring (create-rule) and rules proposed from CLAUDE.md + past sessions in one run (rules-from-sessions), and PR babysitting. A rule lives in a RULEBOOK — a container with its own membership, so it reaches exactly the people that book binds; the authoring skills resolve which book it lands in and offer to create one when there is none. Session auto-capture ships through the host-native plugin layer (hooks are outside the Agent Plugins spec).",
"version": "0.46.2",
"author": {
"name": "XTrace",
"email": "[email protected]"
},
"homepage": "https://memhub.xtrace.ai",
"repository": "https://github.com/XTraceAI/agent-plugins",
"keywords": [
"memory",
"memhub",
"xtrace",
"team-memory",
"session-capture"
]
}For maintainers
If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.
[memhub on Agent Plugins Marketplace](https://pluginsmp.com/plugins/memhub)