Launches an interactive onboarding session that creates a recipe, validates the provisioning script, and sets up a workspace for the target repo. Runs Claude Code with a specialized persona that guides you through each step.Documentation Index
Fetch the complete documentation index at: https://docs.murmur.dev/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
directory | string | no | Path to the project root. Default: current directory. |
--name | string | no | Recipe name. Default: derived from the git remote (slugified repo name). |
--workspace-name | string | no | Workspace name. Default: inherited from murmur.yaml, or falls back to the recipe name. |
--environment | string | no | Target environment. Default: discovered or prompted during the session. |
--placement | string | no | Target placement. Default: discovered or prompted during the session. |
--overwrite | bool | no | Replace an existing recipe and workspace with the same name without prompting. Default: false. |
Prerequisites
murmur init checks these prerequisites before starting:
- Project root — The directory contains at least one recognized project marker (
.git,go.mod,package.json,pyproject.toml,Cargo.toml,Gemfile, orMakefile). - Claude Code —
claudeis on yourPATH. Install withnpm install -g @anthropic-ai/claude-code. - Claude authentication —
claude auth statussucceeds. Runclaude auth loginif not. - MCP server — The murmur MCP server is configured in Claude Code. Run
claude mcp add murmur -- murmur mcpif not. - murmur setup — A valid
.murmur/murmur.yamlexists. Runmurmur setupfirst.
What it does
The onboarding session runs as an interactive Claude Code conversation. The persona drives a workflow that:- Inspects the repo to understand languages, frameworks, and build tools.
- Creates a provisioning script (
.murmur/provisioning.sh) that installs dependencies and prepares the environment. - Validates the script by running a bake-iterate-fix loop until the image builds cleanly.
- Creates the recipe and workspace in the catalog.
- Optionally runs a smoke test by spawning a test agent.
murmur init persists the workspace name to murmur.yaml so that murmur spawn uses it by default.
The onboarding session runs on your machine, not in a sandbox. Read-only operations and writes to
.murmur/ are auto-approved. Other operations prompt you for confirmation.Examples
Onboard the current repo
Onboard a different directory
Onboard with explicit names
Replace an existing recipe and workspace
Errors
| Code | Meaning | What to do |
|---|---|---|
no project detected | The target directory has no recognized project marker. | Run murmur init from a project root, or pass the project directory as an argument. |
claude not found | Claude Code is not installed. | Install with npm install -g @anthropic-ai/claude-code. |
claude not authenticated | Claude Code is not logged in. | Run claude auth login. |
murmur MCP server not configured | The murmur MCP server is not registered with Claude Code. | Run claude mcp add murmur -- murmur mcp. |
not configured — run: murmur setup | No .murmur/murmur.yaml found. | Run murmur setup to create the config file. |
Related
- Recipes — what a recipe defines
- Workspaces — concept overview
- Agent personas — how personas guide agent behavior
murmur setup— configure your developer profile (prerequisite)murmur spawn— start an agent in the workspace created by init- Catalog: recipe — the recipe resource
- Catalog: workspace — the workspace resource