Trusty services

From bobmatnyc/claude-mpm · View interactive version

Trusty services is an AI agent skill from the GitHub repository bobmatnyc/claude-mpm. Install and configure trusty-memory and trusty-search for persistent AI memory and semantic code search

How to use this skill

Skill file

Trusty Services

This is a migration subskill. It declares WHAT to install in its

frontmatter. The HOW lives in the parent protocol:

CODE0.

Always load the migration-wizard protocol before executing this skill.

The five-phase wizard (user choice → detect → check → install → verify →

complete) is defined there, not here.

Why install these?

trusty-memory and trusty-search are optional Rust services that give

claude-mpm two capabilities the base install lacks:

/ room / closet / drawer) that survives across sessions. Lets agents

remember context from previous conversations without re-explaining.

with RRF fusion. Drop-in replacement for mcp-vector-search with better

recall on large codebases.

Together they raise the ceiling on what cross-session workflows can

accomplish — but they require Rust, ~2GB disk, and a one-time setup pass,

which is why they ship as a migration skill rather than a default

dependency.

What to expect during install

The protocol's Phase 3 delegates to scripts/install-trusty.sh, which:

  1. Prefers claude-mpm setup trusty-memory trusty-search (the consolidated

command that handles cargo install, launchd plist creation, and

.mcp.json wiring atomically).

  1. Falls back to per-binary claude-mpm setup <name> on older claude-mpm.
  2. Falls back to raw cargo install if claude-mpm is unavailable; in

that case daemon startup and MCP wiring become manual steps.

A typical install takes 3-8 minutes (mostly cargo compile time).

Known gotchas

with xcode-select --install, then retry.

CARGO_HTTP_PROXY and retry.

pkill -f trusty-memory; pkill -f trusty-search and retry.

occupied, the daemons will pick alternates and write the actual ports to

~/.trusty-*/address.json; the health checks in this skill assume the

defaults.

Verification

Phase 4 runs scripts/verify-trusty.sh, which checks:

  1. Both binaries on $PATH.
  2. Both daemons responding to /health.
  3. .mcp.json (if present in CWD) references trusty server entries.
  4. On macOS, launchd plists exist under ~/Library/LaunchAgents/.

Verification must pass completely before Phase 5 records completion. A

partial install (binary present, daemon down) will be re-detected on the

next session and the wizard will offer to repair it.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.