Universal installer for Marrow passive agent setup.
Use it when you want Marrow to detect the local agent/runtime environment and wire the safest passive integration automatically.
npx @getmarrow/install --dry-run
npx @getmarrow/install --yes
npx @getmarrow/install doctordoctor/--doctorchecks whether Marrow is active without writing files.- Generated SDK passive runtime enables workflow gates and value summaries by default.
- Doctor output reports missing env, missing hooks/config, self-test state, and recommended fix.
- OpenClaw-style workspaces
- Codex/agent instruction files such as
AGENTS.md - Claude Code settings and hooks
- Cursor project folders
- MCP config files
- Node projects
- Python projects
npx @getmarrow/install --mcp --dry-run
npx @getmarrow/install --sdk --dry-run
npx @getmarrow/install --both --dry-run
npx @getmarrow/install --md --dry-run--dry-run is the default unless --yes is passed.
.claude/settings.jsonpassive MCP hooks for tool outcomes and prompt context..mcp.jsonwith the Marrow MCP server entry..marrow/passive-runtime.mjsfor SDK passive runtime preload in Node processes..marrow/env.examplewith required environment variables.AGENTS.mdinstructions for agents that rely on markdown/skills..cursor/rules/marrow.mdcwhen a Cursor project is detected.
When MARROW_API_KEY is present, the installer creates a harmless test decision, commits the outcome, and reads /v1/agent/status.
MARROW_API_KEY=mrw_live_xxx npx @getmarrow/install --yesSkip self-test:
npx @getmarrow/install --yes --no-self-testDoctor check:
MARROW_API_KEY=mrw_live_xxx npx @getmarrow/install doctorThis package is intended to be open source and auditable. It prints every file it will touch, requires --yes to write, does not store API keys in project files, and supports MCP-only, SDK-only, both, and markdown-only setups.