Happy CLI supports all Claude Code flags plus additional Happy-specific flags for enhanced functionality.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/slopus/happy/llms.txt
Use this file to discover all available pages before exploring further.
Happy-Specific Flags
These flags are unique to Happy CLI and control Happy-specific features.—yolo
Shortcut for--dangerously-skip-permissions (bypasses permission prompts).
—chrome
Enable Chrome browser access for this session.—no-chrome
Disable Chrome mode even if it’s enabled by default in settings.—no-sandbox
Disable Happy’s OS-level sandbox for this session.Sandboxing must be configured first using
happy sandbox configure. This flag bypasses the sandbox for a single session.—js-runtime
Specify the JavaScript runtime to use for spawning Claude Code.node, bun
—claude-env
Pass environment variables to Claude Code.KEY=VALUE
—happy-starting-mode
Specify the starting mode for Happy.local: Start in local/terminal moderemote: Start in remote/mobile-controlled mode
—started-by
Indicate how the session was started (internal flag).daemon, terminal
This flag is typically used internally by Happy daemon and not by end users.
Common Claude Code Flags
Happy supports all Claude Code flags. Here are the most commonly used:—help, -h
Show help information.—version, -v
Show version information.—resume
Resume a previous Claude session.—output-format
Specify output format when using--print.
stream-json, text
—verbose
Enable verbose output.—dangerously-skip-permissions
Skip all permission prompts (use with caution).ACP Agent Flags
Flags specific to ACP (Agent Client Protocol) agents like Gemini.—verbose (ACP)
Print raw ACP backend and envelope events.— (double dash)
Delimiter for custom ACP commands.-- is passed directly to the ACP agent command.
Subcommand-Specific Flags
Notify Command
| Flag | Description | Required |
|---|---|---|
-p | Notification message | Yes |
-t | Notification title | No |
Auth Command
| Flag | Description |
|---|---|
--force | Force re-authentication even if already logged in |
Daemon Command
Sandbox Command
Connect Command
anthropic, openai, gemini, etc.
Flag Combinations
Flags can be combined for powerful workflows:Development with Custom API
Safe Testing
Automated Scripting
Resume with Chrome
Flag Precedence
When multiple configuration sources exist, flags take precedence in this order:- Command-line flags (highest priority)
- Environment variables
- Settings file (
~/.happy/settings.json) - Defaults (lowest priority)
Tips and Best Practices
Use --yolo carefully
Use --yolo carefully
The
--yolo flag bypasses all safety checks. Only use it in trusted environments or for well-understood tasks.Chrome mode for web tasks
Chrome mode for web tasks
Enable
--chrome when you need Claude to interact with web content or test web applications.Custom API endpoints
Custom API endpoints
Use
--claude-env ANTHROPIC_BASE_URL to route through proxies or local development servers:Resume sessions efficiently
Resume sessions efficiently
Use
--resume without arguments to get a list of recent sessions to choose from.Combine with Unix tools
Combine with Unix tools
Happy’s
--print --output-format stream-json works great with jq and other CLI tools:All Flags Reference
Session Control
--resume, --print, --output-format, --verboseSafety
--yolo, --dangerously-skip-permissions, --no-sandboxFeatures
--chrome, --no-chrome, --js-runtimeConfiguration
--claude-env, --happy-starting-mode, --settings