Update cheatsheets

This commit is contained in:
ivuorinen
2026-02-25 00:29:31 +00:00
parent b18fed14e8
commit 9cde8e71ca
20 changed files with 478 additions and 34 deletions

View File

@@ -13,6 +13,6 @@ source: https://github.com/tldr-pages/tldr.git
`az logout`
- Log out a specific username:
- Log out a specific user:
`az logout --username {{alias@example.com}}`

38
tldr/hf Normal file
View File

@@ -0,0 +1,38 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# hf
> Interact with Hugging Face Hub.
> Login, manage local cache, download, or upload files.
> More information: <https://huggingface.co/docs/huggingface_hub/guides/cli>.
- Login to Hugging Face Hub:
`hf auth login`
- Display the name of the logged in user:
`hf auth whoami`
- Log out:
`hf auth logout`
- Print information about the environment:
`hf env`
- Download files from a repository and print out the path (omit filenames to download entire repository):
`hf download --repo-type {{repo_type}} {{repo_id}} {{filename1 filename2 ...}}`
- Upload an entire folder or a file to Hugging Face:
`hf upload --repo-type {{repo_type}} {{repo_id}} {{path/to/local_file_or_directory}} {{path/to/repo_file_or_directory}}`
- Scan cache to see downloaded repositories and their disk usage:
`hf cache ls`

View File

@@ -5,38 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# huggingface-cli
> Interact with Hugging Face Hub.
> Login, manage local cache, download, or upload files.
> More information: <https://huggingface.co/docs/huggingface_hub/guides/cli>.
> This command is an alias of `hf`.
- Login to Hugging Face Hub:
- View documentation for the original command:
`huggingface-cli login`
- Display the name of the logged in user:
`huggingface-cli whoami`
- Log out:
`huggingface-cli logout`
- Print information about the environment:
`huggingface-cli env`
- Download files from a repository and print out the path (omit filenames to download entire repository):
`huggingface-cli download --repo-type {{repo_type}} {{repo_id}} {{filename1 filename2 ...}}`
- Upload an entire folder or a file to Hugging Face:
`huggingface-cli upload --repo-type {{repo_type}} {{repo_id}} {{path/to/local_file_or_directory}} {{path/to/repo_file_or_directory}}`
- Scan cache to see downloaded repositories and their disk usage:
`huggingface-cli scan-cache`
- Delete the cache interactively:
`huggingface-cli delete-cache`
`tldr hf`

22
tldr/lesskey Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# lesskey
> Customize keybindings for `less`.
> Note: This command has been deprecated.
> More information: <https://manned.org/lesskey>.
- Compile key bindings from a source file:
`lesskey {{path/to/lesskey_file}}`
- Compile key bindings and write to a specific output file:
`lesskey {{[-o|--output]}} {{path/to/output}} {{path/to/lesskey_file}}`
- Display version:
`lesskey {{[-V|--version]}}`

View File

@@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> A personal AI assistant that you run on your own devices.
> Some subcommands such as `onboard`, `agent`, `doctor`, etc. have their own usage documentation.
> See also: `zeroclaw`.
> More information: <https://docs.openclaw.ai/cli>.
- Run the onboarding wizard to set up the gateway and channels:

43
tldr/zeroclaw Normal file
View File

@@ -0,0 +1,43 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw
> Fast, small, and fully autonomous AI assistant infrastructure.
> Some subcommands such as `onboard`, `models`, `service`, etc have their own usage documentation.
> See also: `openclaw`.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- Initialize workspace and configuration (quick setup):
`zeroclaw onboard --api-key {{api_key}} --provider {{openrouter|anthropic|openai|...}}`
- Run the full interactive onboarding wizard:
`zeroclaw onboard --interactive`
- Send a single message to the AI agent:
`zeroclaw agent {{[-m|--message]}} "{{Hello, ZeroClaw!}}"`
- Start interactive chat mode:
`zeroclaw agent`
- Start the gateway server (default: 127.0.0.1:8080):
`zeroclaw gateway`
- Start full autonomous runtime (gateway + channels + heartbeat):
`zeroclaw daemon`
- Check system status:
`zeroclaw status`
- Run diagnostics:
`zeroclaw doctor`

37
tldr/zeroclaw-agent Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw agent
> Start the AI agent loop for interacting with ZeroClaw.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- Send a single message to the AI agent:
`zeroclaw agent {{[-m|--message]}} "{{Hello, ZeroClaw!}}"`
- Start interactive chat mode:
`zeroclaw agent`
- Send a message with a specific provider:
`zeroclaw agent {{[-m|--message]}} "{{Hello}}" {{[-p|--provider]}} {{anthropic}}`
- Send a message with a specific model:
`zeroclaw agent {{[-m|--message]}} "{{Hello}}" --model {{anthropic/claude-sonnet-4-20250514}}`
- Send a message with custom temperature:
`zeroclaw agent {{[-m|--message]}} "{{Hello}}" {{[-t|--temperature]}} {{0.5}}`
- Send a message and attach a hardware peripheral:
`zeroclaw agent {{[-m|--message]}} "{{Hello}}" --peripheral {{nucleo-f401re:/dev/ttyACM0}}`
- Display help:
`zeroclaw agent {{[-h|--help]}}`

33
tldr/zeroclaw-channel Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw channel
> Manage channels (Telegram, Discord, Slack, etc.) for ZeroClaw.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- List all configured channels:
`zeroclaw channel list`
- Start all configured channels:
`zeroclaw channel start`
- Run health checks for configured channels:
`zeroclaw channel doctor`
- Add a new channel:
`zeroclaw channel add {{telegram|discord|whatsapp|slack|webhook|...}} '{{json_config}}'`
- Remove a channel:
`zeroclaw channel remove {{channel_name}}`
- Display help:
`zeroclaw channel {{[-h|--help]}}`

37
tldr/zeroclaw-cron Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw cron
> Manage scheduled tasks for ZeroClaw.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- List all scheduled tasks:
`zeroclaw cron list`
- Add a new scheduled task with a cron expression:
`zeroclaw cron add "{{* * * * *}}" "{{command}}"`
- Add a one-shot delayed task:
`zeroclaw cron once {{30m|1h|1d|...}} "{{command}}"`
- Remove a scheduled task:
`zeroclaw cron remove {{task_id}}`
- Pause a scheduled task:
`zeroclaw cron pause {{task_id}}`
- Resume a paused task:
`zeroclaw cron resume {{task_id}}`
- Display help:
`zeroclaw cron {{[-h|--help]}}`

29
tldr/zeroclaw-daemon Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw daemon
> Start the full autonomous runtime for ZeroClaw (gateway + channels + heartbeat).
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- Start the daemon on default port (8080):
`zeroclaw daemon`
- Start the daemon on a specific port:
`zeroclaw daemon {{[-p|--port]}} {{8080}}`
- Start the daemon on a random available port:
`zeroclaw daemon {{[-p|--port]}} 0`
- Start the daemon on a specific host:
`zeroclaw daemon --host {{0.0.0.0}} {{[-p|--port]}} {{8080}}`
- Display help:
`zeroclaw daemon {{[-h|--help]}}`

17
tldr/zeroclaw-doctor Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw doctor
> Run diagnostics for ZeroClaw daemon, scheduler, and channel freshness.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- Run diagnostics:
`zeroclaw doctor`
- Display help:
`zeroclaw doctor {{[-h|--help]}}`

29
tldr/zeroclaw-gateway Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw gateway
> Start the gateway server for ZeroClaw (webhooks and API).
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- Start the gateway on default port (8080):
`zeroclaw gateway`
- Start the gateway on a specific port:
`zeroclaw gateway {{[-p|--port]}} {{8080}}`
- Start the gateway on a random available port:
`zeroclaw gateway {{[-p|--port]}} 0`
- Start the gateway on a specific host:
`zeroclaw gateway --host {{0.0.0.0}} {{[-p|--port]}} {{8080}}`
- Display help:
`zeroclaw gateway {{[-h|--help]}}`

17
tldr/zeroclaw-hardware Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw hardware
> Discover and introspect USB hardware for ZeroClaw.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- List available USB hardware devices:
`zeroclaw hardware discover`
- Display help:
`zeroclaw hardware {{[-h|--help]}}`

View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw integrations
> Browse and manage 50+ integrations for ZeroClaw.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- Show details about a specific integration:
`zeroclaw integrations info {{Telegram|Discord|Slack|WhatsApp|Matrix|...}}`
- Display help:
`zeroclaw integrations {{[-h|--help]}}`

21
tldr/zeroclaw-migrate Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw migrate
> Migrate data from other agent runtimes to ZeroClaw.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- Preview migration from OpenClaw without writing data:
`zeroclaw migrate openclaw --dry-run`
- Migrate memory from OpenClaw workspace:
`zeroclaw migrate openclaw`
- Display help:
`zeroclaw migrate {{[-h|--help]}}`

25
tldr/zeroclaw-models Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw models
> Manage provider model catalogs for ZeroClaw.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- Refresh and cache models for the default provider:
`zeroclaw models refresh`
- Refresh models for a specific provider:
`zeroclaw models refresh --provider {{openrouter}}`
- Force live refresh ignoring cached models:
`zeroclaw models refresh --force`
- Display help:
`zeroclaw models {{[-h|--help]}}`

29
tldr/zeroclaw-onboard Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw onboard
> Initialize workspace and configuration for ZeroClaw.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- Quick setup with API key and provider:
`zeroclaw onboard --api-key {{api_key}} --provider {{openrouter}}`
- Run the full interactive wizard:
`zeroclaw onboard --interactive`
- Reconfigure channels/allowlists only (fast repair flow):
`zeroclaw onboard --channels-only`
- Quick setup with specific memory backend:
`zeroclaw onboard --api-key {{api_key}} --provider {{openrouter}} --memory {{sqlite}}`
- Display help:
`zeroclaw onboard {{[-h|--help]}}`

33
tldr/zeroclaw-service Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw service
> Manage the ZeroClaw background service (launchd/systemd user service).
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- Install the daemon service:
`zeroclaw service install`
- Start the daemon service:
`zeroclaw service start`
- Stop the daemon service:
`zeroclaw service stop`
- Check service status:
`zeroclaw service status`
- Uninstall the daemon service:
`zeroclaw service uninstall`
- Display help:
`zeroclaw service {{[-h|--help]}}`

29
tldr/zeroclaw-skills Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw skills
> Manage user-defined skills for ZeroClaw.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- List installed skills:
`zeroclaw skills list`
- Install a skill from a GitHub URL:
`zeroclaw skills install https://github.com/{{user}}/{{repo}}`
- Install a skill from a local path:
`zeroclaw skills install {{path/to/skill}}`
- Remove an installed skill:
`zeroclaw skills remove {{skill_name}}`
- Display help:
`zeroclaw skills {{[-h|--help]}}`

17
tldr/zeroclaw-status Normal file
View File

@@ -0,0 +1,17 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# zeroclaw status
> Show the full system status for ZeroClaw.
> More information: <https://github.com/zeroclaw-labs/zeroclaw#quick-start>.
- Show system status:
`zeroclaw status`
- Display help:
`zeroclaw status {{[-h|--help]}}`