Command Reference

Complete list of MUR v2 commands.

Setup

CommandDescription
mur initInteractive setup wizard (models, hooks, config)
mur init --hooksSkip interactive prompt and install hooks automatically

Pattern Management

CommandDescription
mur newCreate a new pattern interactively
mur new --diagram <path>Create pattern with Mermaid/PlantUML attachment
mur pattern show <name>View pattern details and attachments
mur search <query>Semantic + keyword hybrid search
mur pin <name>Pin pattern (never auto-deprecated)
mur mute <name>Mute pattern (skip injection)
mur boost <name>Boost pattern importance (+0.1 default)
mur promote <name>Promote pattern tier (→ project or core)
mur deprecate <name>Deprecate a pattern manually
mur links <name>Show bidirectional pattern connections

Sync & Injection

CommandDescription
mur syncSync patterns to all enabled AI tools
mur inject --query <q>Inject matching patterns for a query (hook integration)
mur contextPreview what would be injected (auto-detects project)
mur context --compactCompact output with fewer patterns
mur context --query <q>Query-specific context
mur context --budget <n>Token budget (default: 2000)
mur context --jsonOutput as JSON instead of formatted text
mur context --scope key=valueFilter by scope (e.g. --scope user=david)

Learning & Feedback

CommandDescription
mur learn extractExtract patterns from session transcripts
mur feedback helpful <name>Mark a pattern as helpful
mur feedback unhelpful <name>Mark a pattern as unhelpful
mur feedback autoAuto-analyze session for contradictions

Lifecycle & Intelligence

CommandDescription
mur evolveRun decay + maturity promotion/demotion
mur evolve --dry-runPreview changes without saving
mur evolve --consolidateFull consolidation (dedup, contradiction, promotion, decay, archival)
mur emergeDetect emergent patterns from cross-session behaviors
mur emerge --threshold 3Set minimum sessions for emergence
mur suggestShow workflow composition & decomposition suggestions
mur suggest --createAuto-create suggested items as drafts
mur gcGarbage collect low-quality patterns
mur gc --autoAuto-archive without prompting

Workflows

CommandDescription
mur workflow listList all workflows
mur workflow show <name>Show workflow details
mur workflow newCreate a new workflow interactively

Session Recording

CommandDescription
mur session startStart recording a session
mur session stopStop recording
mur session recordRecord an event to active session
mur session statusShow active session status
mur session listList past session recordings

Community

CommandDescription
mur community listList community patterns
mur community searchSearch community patterns
mur community publishPublish a pattern
mur community fetchFetch (copy) a community pattern by ID
mur community starStar a community pattern

Exchange (MKEF Format)

CommandDescription
mur exchange import <file>Import a single MKEF YAML file
mur exchange import-allImport all MKEF files from ~/.mur/exchange/
mur exchange export <name>Export a pattern to MKEF format
mur exchange export <name> --dir <path>Export to a specific directory

Dashboard & Stats

CommandDescription
mur statsPattern library statistics
mur dashboardTerminal dashboard (TUI)
mur reindexRebuild vector index from YAML files

Model Registry

Agents and the cost router draw from a provider/model registry at ~/.mur/models.yaml.

CommandDescription
mur model add <name> --provider <p> --model <id>Register a model. API keys go via --secret (env:VAR, keychain:svc/acct, file:/path, cmd:./script) — never stored in plaintext
mur model add ... --tier local|frontierMark a model local (on-device, $0) or frontier (for cost-router escalation)
mur model add ... --input-cost <usd> --output-cost <usd>Set USD-per-1k input/output pricing by hand
mur model add ... --no-fetchSkip the automatic pricing lookup (otherwise input/output cost + context window are auto-filled from the models.dev catalog)
mur model listList registered models
mur model show <name>Show provider, model id, effective input/output cost, and context window
mur model remove <name>Remove a model from the registry
mur model prices refreshRefresh the cached models.dev price catalog (~/.mur/cache/model-prices.json)
mur model prices show <name>Show the resolved pricing for a registered model
mur model migrateImport a legacy model: config block into the registry

MUR Hub Model Library. The Hub desktop app provides a GUI over this registry: connect a cloud provider (Anthropic / OpenAI / DeepSeek / Google / OpenRouter / xAI / custom) with its API key saved to the macOS Keychain, or have it auto-detect local runtimes (Ollama / MLX / LM Studio). It discovers each provider's models via the OpenAI-compatible /v1/models endpoint, auto-fills pricing from models.dev, and adds your selections to the registry — no YAML editing required.

Command Tree

mur
ā”œā”€ā”€ init [--hooks]
ā”œā”€ā”€ new [--diagram <path>]
ā”œā”€ā”€ pattern show <name>
ā”œā”€ā”€ search <query>
ā”œā”€ā”€ pin <name>
ā”œā”€ā”€ mute <name>
ā”œā”€ā”€ boost <name> [--amount N]
ā”œā”€ā”€ promote <name> [--tier project|core]
ā”œā”€ā”€ deprecate <name>
ā”œā”€ā”€ links <name>
ā”œā”€ā”€ sync [--quiet]
ā”œā”€ā”€ inject --query <q> [--project <p>]
ā”œā”€ā”€ context [--compact] [--query <q>] [--budget N] [--json] [--scope key=val]
ā”œā”€ā”€ learn
│   └── extract
ā”œā”€ā”€ feedback
│   ā”œā”€ā”€ helpful <name>
│   ā”œā”€ā”€ unhelpful <name>
│   └── auto
ā”œā”€ā”€ evolve [--dry-run] [--force] [--consolidate]
ā”œā”€ā”€ emerge [--threshold N] [--dry-run]
ā”œā”€ā”€ suggest [--create]
ā”œā”€ā”€ gc [--auto]
ā”œā”€ā”€ exchange
│   ā”œā”€ā”€ import <file>
│   ā”œā”€ā”€ import-all
│   └── export <name> [--dir <path>]
ā”œā”€ā”€ workflow
│   ā”œā”€ā”€ list
│   ā”œā”€ā”€ show <name>
│   └── new
ā”œā”€ā”€ session
│   ā”œā”€ā”€ start
│   ā”œā”€ā”€ stop
│   ā”œā”€ā”€ record
│   ā”œā”€ā”€ status
│   └── list
ā”œā”€ā”€ community
│   ā”œā”€ā”€ list
│   ā”œā”€ā”€ search
│   ā”œā”€ā”€ publish
│   ā”œā”€ā”€ fetch
│   └── star
ā”œā”€ā”€ model
│   ā”œā”€ā”€ add <name> --provider <p> --model <id> [--secret <ref>] [--tier local|frontier]
│   │            [--input-cost <usd>] [--output-cost <usd>] [--no-fetch]
│   ā”œā”€ā”€ list
│   ā”œā”€ā”€ show <name>
│   ā”œā”€ā”€ remove <name>
│   ā”œā”€ā”€ migrate
│   └── prices 
ā”œā”€ā”€ stats
ā”œā”€ā”€ dashboard
└── reindex