@crescenthq/moon
v0.0.5
Published
CLI Tool for sharing your agent sesh with Moon!
Downloads
58
Readme
moon
Tool for sharing your coding agent sessions with Moon (Claude Code and OpenClaw).
Installation
npm install -g @crescenthq/moonOr use directly with npx
npx @crescenthq/moon shareCommands
moon share
Share a session.
# Interactive: pick a session from a list
moon share
# Share a specific session
moon share --sessionId abc123
# Share OpenClaw sessions
moon share --agent openclaw
# Non-interactive with JSON output (for scripts)
moon share --jsonOptions:
| Option | Description |
|--------|-------------|
| --agent <name> | Session source agent (claude-code or openclaw) |
| --sessionId <id> | Share a specific session |
| --title <title> | Custom title |
| --visibility <v> | public, unlisted, or private |
| --quiet | Skip prompts (uses defaults) |
| --json | Output JSON |
moon share status <sessionId>
Check if a session is being shared.
moon share status abc123 --json
# {"sharing":true,"url":"https://..."}moon login
Authenticate with Moon.
moon config
Manage CLI configuration.
# Get a value
moon config get sharing.mode
# Set a value
moon config set sharing.mode autoSharing modes:
| Mode | Behavior |
|------|----------|
| off | Manual sharing only (default) |
| prompt | Remind to use /share on session start |
| auto | Automatically share all sessions |
Files
Configuration and state are stored in ~/.config/moon/:
config.json— User preferencessync-state.json— Session sync tracking
