Skip to content

xtraceai/memhub

v0.133.0Apache-2.0

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 and file reads on Cursor), and MCP tools let the agent search and save team memory.

create-rule

Use when the user wants to create an 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 the memhub create_rule tool — a rule that advises and a rule that stops the command are filed the same way, and a reviewer turns either one on.

Read SKILL.md at the source

Pinned to revision 38fcebbb5125, so it is the text this page describes rather than whatever the author pushed since.

Pre-approved tools experimental

Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.

  • Bash(python3 "${CLAUDE_PLUGIN_ROOT}/skills/start-rulebook/scripts/mine_sessions.py" *)
  • Bash(python3 "${CLAUDE_PLUGIN_ROOT}/scripts/rulebook_verify.py" *)
  • Bash(python3 "${CLAUDE_PLUGIN_ROOT}/scripts/rulebook_hook.py" book-path *)
  • Bash(python3 "${CLAUDE_PLUGIN_ROOT}/scripts/rulebook_paths.py")
  • Bash(python3 "${CLAUDE_PLUGIN_ROOT}/scripts/rulebook_conflicts.py" *)
  • Bash(git remote get-url origin)
  • Write(//tmp/*.json)
  • Edit(//tmp/*.json)
  • Edit(//tmp/*/pretest-base/**)
  • Edit(//var/folders/**/pretest-base/**)
  • Read
  • Task
  • Agent
  • AskUserQuestion
  • mcp__plugin_memhub_memhub__list_rules
  • mcp__plugin_memhub_memhub__create_rule
  • mcp__plugin_memhub_memhub__list_rulebooks
  • mcp__plugin_memhub-staging_memhub__list_rules
  • mcp__plugin_memhub-staging_memhub__create_rule
  • mcp__plugin_memhub-staging_memhub__list_rulebooks

Files

Every link opens the file at its source, pinned to the revision this page describes.