CLI Reference

CLI Reference

All commands are available via the kyber binary.

Global options

FlagDescription
--version, -vShow version and exit
--helpShow help

Commands

kyber onboard

Initialize configuration and workspace. Creates ~/.kyber/config.json (settings), ~/.kyber/.env (secrets with 600 permissions), and ~/.kyber/workspace/ with default template files.

kyber agent

Start an interactive chat session in the terminal.

FlagDescription
-m, --messageSend a single message and exit
kyber agent                        # interactive mode
kyber agent -m "Hello from Kyber"  # single message

kyber gateway

Start the gateway (agent + all enabled chat channels + cron + heartbeat). Warns on startup if config.json still contains plaintext API keys.

FlagDescription
-p, --portOverride gateway port (default: 18790)
-v, --verboseEnable debug logging

kyber dashboard

Start the web dashboard.

FlagDescription
--hostOverride bind address (default: 127.0.0.1)
--portOverride port (default: 18890)
--show-tokenPrint the full auth token on startup

kyber status

Show current configuration: provider, model, enabled channels, workspace path, and secrets file status.

kyber show-dashboard-token

Print the dashboard auth token to stdout. Useful for copying into a browser or script without starting the dashboard.

kyber migrate-secrets

Migrate API keys and tokens from config.json to ~/.kyber/.env. Blanks secret fields in the JSON file and sets file permissions to 600. Safe to run multiple times — skips if already clean.

kyber channels status

Show the connection status of all configured chat channels.

kyber channels login

Link a WhatsApp account by scanning a QR code. Starts the Node.js bridge and displays the QR in the terminal.

Skills commands

kyber skills list

List all skills from workspace, managed installs, and built-in.

kyber skills add

Install a skill from a source (URL, GitHub repo, or local path).

kyber skills remove

Remove a managed skill by name.

kyber skills update-all

Update all managed skills to their latest versions.

Search for skills on skills.sh.

Cron commands

kyber cron list

List all scheduled cron jobs.

kyber cron add

Add a new scheduled job.

FlagDescription
--nameJob name
--messageMessage to send to the agent
--everyRun every N seconds
--cronCron expression (alternative to --every)
--deliverDeliver output to a chat channel
--toChat ID to deliver to
--channelChannel name (telegram, discord, etc.)

kyber cron remove

Remove a scheduled job by ID.

kyber cron remove <job-id>

kyber cron enable

Enable or disable a scheduled job.

kyber cron run

Manually trigger a scheduled job immediately.

Restart commands

kyber restart gateway

Restart the gateway service. Uses launchctl on macOS and systemctl --user on Linux.

kyber restart dashboard

Restart the dashboard service. Uses a detached process to allow the restart to complete gracefully.

Security commands

kyber setup-clamav

Install and configure ClamAV for malware scanning. Detects your OS and package manager, installs ClamAV, configures both freshclam.conf and clamd.conf, creates the socket directory, enables system services (clamd daemon + freshclam updater), and downloads the latest virus signature database.

Idempotent — re-running fixes broken installs. The final output reflects actual service status: if clamd fails to start, it tells you honestly instead of claiming success.

The daily scan cron job is registered automatically at startup. No manual scheduling needed.

See the Security Center guide for more details.