Skip to main content

Full Command Reference

CommandDescription
mercury upRecommended. Install service + start daemon + ensure running
mercuryStart the agent (same as mercury start)
mercury startStart as background daemon (default)
mercury start --foregroundStart in foreground (interactive) mode. Shorthand: -f
mercury restartRestart a background Mercury process
mercury stopStop a background Mercury process
mercury logsShow last 100 lines of daemon logs
mercury statusShow config, providers, daemon PID, and budget
mercury doctorReconfigure settings — press Enter to keep current values
mercury doctor --platformShow cross-platform terminal/daemon compatibility diagnostics
mercury setupRe-run the setup wizard (same as doctor)
mercury helpShow the full manual (tools, commands, config paths)
mercury service installInstall as system service (auto-start on boot)
mercury service uninstallUninstall the system service
mercury service statusShow system service status
mercury --verboseStart with debug logging on stderr

Skills registry

The mercury skills command tree talks to skills.mercuryagent.sh directly. See the dedicated Skills page for the full surface, examples, and the in-chat / dashboard / Telegram equivalents.

CommandDescription
mercury skills infoRegistry stats and reachability
mercury skills listShow locally installed skills (from ~/.mercury/skills/.index.json)
mercury skills categoriesList all registry categories
mercury skills browse [category] [--page N --limit N]Paginated catalog browse
mercury skills search <query> [--limit N]Full-text search
mercury skills view <id> [--web] [--raw]Render SKILL.md; --web opens the registry page
mercury skills install <ids...> [--force]Install one or many; --force reinstalls same version
mercury skills install --from <urlOrPath>Install from a local file or arbitrary URL
mercury skills update [id]Update all installed skills, or just one
mercury skills remove <id>Uninstall a skill
mercury skills doctorCheck install root, registry connectivity, cache

Shared flags: --json, --registry <url>, -q, -y. Environment overrides: MERCURY_SKILLS_REGISTRY, MERCURY_SKILLS_INSTALL_ROOT.