### Install CLI and External Skills Source: https://github.com/yoooclaw/cli/blob/master/README.md Install the prerequisite CLI and add skills for specific AI agents. ```bash # 1. Install the CLI (prerequisite) npm install -g @yoooclaw/cli # 2. Install the yoooclaw-cli Skill — Codex + Claude Code npx skills@latest add YoooClaw/skills --skill yoooclaw-cli --global --agent codex --agent claude-code --copy --yes # Install for just one agent: pass a single --agent npx skills@latest add YoooClaw/skills --skill yoooclaw-cli --global --agent claude-code --copy --yes ``` -------------------------------- ### Quickstart for AI Agents Source: https://github.com/yoooclaw/cli/blob/master/README.md Automated initialization and command execution for AI agents. ```bash # 1. Initialize via stdin config injection (no interactive prompts), which also starts the daemon yoooclaw config init --non-interactive --from-file - # 2. Confirm the daemon is running and the tunnel is connected yoooclaw daemon status yoooclaw tunnel status # 3. Stream notification queries (always based on the latest disk data — don't rely on memory) yoooclaw notification summary --app WeChat --from 2026-06-01T00:00:00+08:00 --format json # 4. Install the bundled Skill into the current agent's discovery directory yoooclaw skills install ``` -------------------------------- ### Install via npm Source: https://github.com/yoooclaw/cli/blob/master/README.md Use npx for ephemeral execution or install globally to access the yoooclaw and yc commands. ```bash # No install needed (always pulls the latest version) npx @yoooclaw/cli --help # Global install (provides both the yoooclaw and yc commands) npm i -g @yoooclaw/cli yoooclaw --help yc --help ``` -------------------------------- ### Install via Native Binary Source: https://github.com/yoooclaw/cli/blob/master/README.md Download and install the Go binary directly using the provided shell script. ```bash # Auto-detect platform, download, verify sha256, install to ~/.local/bin curl -fsSL https://raw.githubusercontent.com/YoooClaw/cli/master/scripts/install.sh | sh # Opt in if you want the installer to add its bin directory to your shell PATH curl -fsSL https://raw.githubusercontent.com/YoooClaw/cli/master/scripts/install.sh \ | sh -s -- --modify-path # Pin a version / install directory / force overwrite curl -fsSL https://raw.githubusercontent.com/YoooClaw/cli/master/scripts/install.sh \ | sh -s -- --version 0.2.0-beta.2 --dir ~/bin --force ``` -------------------------------- ### Quickstart for Human Users Source: https://github.com/yoooclaw/cli/blob/master/README.md Initialize the configuration, verify environment readiness, and perform basic queries. ```bash # 1. Interactive first-run wizard: generates config + gateway token and starts the daemon yoooclaw config init # 2. Check auth and environment readiness yoooclaw auth status yoooclaw doctor # 3. Start using it: notification queries read straight from disk, no daemon required yoooclaw notification +today ``` -------------------------------- ### Install Hermes Agent Skill Source: https://github.com/yoooclaw/cli/blob/master/README.md Install a skill specifically for the Hermes agent. ```bash hermes skills install https://raw.githubusercontent.com/YoooClaw/skills/main/yoooclaw-cli/SKILL.md ``` -------------------------------- ### Manage Built-in Skills Source: https://github.com/yoooclaw/cli/blob/master/README.md Commands to list, view, and install skills bundled within the YoooClaw CLI binary. ```bash yoooclaw skills list # List Skills bundled with this package yoooclaw skills targets # View supported agent targets and detection results yoooclaw skills install # Auto-detect the sole agent and copy-install yoooclaw skills install --agent claude yoooclaw skills install --force # Refresh bundled Skills and remove merged legacy names ``` -------------------------------- ### Daemon status JSON output Source: https://github.com/yoooclaw/cli/blob/master/README.md Example of the JSON structure returned by the daemon status command. ```json { "ok": true, "version": "0.3.0", "executable": "/Users/me/.yoooclaw/hermes-plugin/bin/0.3.0/yoooclaw", "profile": "test", "lifecycle": { "owner": "hermes-plugin", "generation": "abc123", "startedAt": "2026-06-18T10:34:07Z" } } ``` -------------------------------- ### Execute CLI Shortcuts Source: https://github.com/yoooclaw/cli/blob/master/README.md Use the '+' prefix for quick operations with smart defaults and table output. ```bash yoooclaw notification +today # Today's notification summary yoooclaw notification +recent # Notifications from the last hour yoooclaw recording +latest # Details of the most recent recording yoooclaw recording +today # Recordings from today's local calendar day yoooclaw light +blink # Light-effect connectivity test (red-strobe-3) yoooclaw lightrule +on # Enable all light-effect rules yoooclaw tunnel +test # Daemon local ingest + auth self-check yoooclaw log +errors # Error-level logs since yesterday ``` -------------------------------- ### Run notification summary for N > 700 Source: https://github.com/yoooclaw/cli/blob/master/skills/yoooclaw-context-query/references/notifications.md Use these commands for larger datasets requiring job-based processing. The create command initializes the job, and the run command executes it. ```bash yoooclaw notification summary-job create --limit N --chunk-size 150 --max-content 120 --format json # Add --from to create when required. yoooclaw notification summary-job run --max-chunks 30 --include-result --format json ``` -------------------------------- ### Manage yoooclaw authentication credentials Source: https://github.com/yoooclaw/cli/blob/master/README.md Demonstrates setting an API key via stdin, managing multiple keys by label, and rotating the gateway token. ```bash # Write the default api-key securely from stdin, stored in the OS keychain echo "ock-xxxx" | yoooclaw auth set-api-key - --keychain # Multi-device/multi-client: manage multiple api-keys by label yoooclaw auth add-api-key - --label phone-a --default yoooclaw auth list-api-keys # Rotate the gateway token, then restart the daemon so it takes effect yoooclaw auth token-rotate yoooclaw daemon restart ``` -------------------------------- ### Manage CLI Profiles Source: https://github.com/yoooclaw/cli/blob/master/README.md Switch between different accounts or devices using the profile commands. ```bash yoooclaw profile list yoooclaw profile create work yoooclaw --profile work notification +today ``` -------------------------------- ### Run Development and Build Commands Source: https://github.com/yoooclaw/cli/blob/master/README.md Use these commands to verify code integrity, perform static analysis, build the project, and verify the CLI binary. ```bash go test ./... go vet ./... scripts/build-go.sh --current dist-native/yoooclaw-darwin-arm64 --help ``` -------------------------------- ### Run notification summary for N ≤ 700 Source: https://github.com/yoooclaw/cli/blob/master/skills/yoooclaw-context-query/references/notifications.md Use these commands for smaller notification summaries. The second variant allows specifying a time bound. ```bash yoooclaw notification summary --limit N --sample 12 --top 8 --format json # With a lower bound: yoooclaw notification summary --from --limit N --sample 12 --top 8 --format json ``` -------------------------------- ### CLI commands for web page management Source: https://github.com/yoooclaw/cli/blob/master/skills/yoooclaw-context-query/references/web-pages.md Standard commands for interacting with the synced-web-page collection. All commands output in JSON format. ```bash yoooclaw synced-web-page storage-path --format json yoooclaw synced-web-page list [--from ] [--to ] --format json yoooclaw synced-web-page search "" --limit --format json yoooclaw synced-web-page path --format json ``` -------------------------------- ### Manage daemon lifecycle Source: https://github.com/yoooclaw/cli/blob/master/README.md Commands to run, stop, and check the status of the yoooclaw daemon with lifecycle metadata. ```bash yoooclaw daemon run-foreground --owner hermes-plugin --generation abc123 yoooclaw daemon stop --owner hermes-plugin --generation abc123 --wait yoooclaw daemon status --format json ``` -------------------------------- ### Image query CLI commands Source: https://github.com/yoooclaw/cli/blob/master/skills/yoooclaw-context-query/references/images.md Standard commands for interacting with image storage and metadata via the CLI. ```bash yoooclaw image storage-path --format json yoooclaw image list --format json yoooclaw image status --format json yoooclaw image path --format json yoooclaw image path --thumbnail --format json ``` -------------------------------- ### Locate and list recordings Source: https://github.com/yoooclaw/cli/blob/master/skills/yoooclaw-context-query/references/recordings.md Commands to retrieve storage paths and lists of recordings with optional filtering. ```bash yoooclaw recording storage-path --format json yoooclaw recording list --format json # Optional filters: yoooclaw recording list --status transcribed --client