New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

clawd-models

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clawd-models

CLI tool to manage OpenClaw model configurations

latest
npmnpm
Version
1.0.7
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

clawd-models

CLI tool to manage OpenClaw model configurations.

Quick Start Flow

Setup Flow

Prerequisite

Install and Setup openclaw firstly

# setup openclaw
openclaw setup 

# or configure it interactively 

openclaw configure

Refer to https://github.com/openclaw/openclaw

Installation

npm i -g clawd-models

Refer to https://github.com/qidu/clawd-models

Usage

clawd-models <command> [--bot <openclaw|clawdbot|moltbot>]
# clawd-models help

Global Options:

  • --bot <bot-id> - Target bot (openclaw, clawdbot, moltbot). Also saves as default for future commands.
  • --clear-bot - Clear the default bot setting

Bot Priority (when --bot not specified):

  • Saved preference (if set via previous --bot use)
  • Auto-detect: openclaw → clawdbot → moltbot

Config Locations:

  • OpenClaw: ~/.openclaw/openclaw.json
  • ClawdBot: ~/.clawdbot/clawdbot.json
  • MoltBot: ~/.moltbot/moltbot.json
  • Preferred bot: ~/.clawd-models/bot

Default Bot Priority: openclawclawdbotmoltbot (auto-selected if not specified via --bot)

Commands

Core

CommandDescription
initInitialize OpenClaw configuration with defaults
viewView current configuration file and path
editEdit configuration in default editor
import -f <file>Import configuration from a JSON config file of openclaw
exportExport configuration to stdout

Provider Management

CommandDescription
providers:add -n <name> -u <url> [-k <api-key>]Add a new model provider
providers:remove -n <name>Remove a model provider
providers:listList all configured providers
Should add a provider firstly, then add a model (refer to next section).

Model Management

CommandDescription
models:add -p <provider> -i <model-id> --name <name>Add a model to a provider
models:remove -p <provider> -i <model-id>Remove a model from a provider
models:list [--provider <name>]List all configured models
models:testTest the default model configuration by sending a test message

Use agents:set-default in next section or refer to openclaw models set to set a default model for 'main' and all agents.

Refer to openclaw agent --agent main -m <message> to test the default model and agent.

Agent Management

CommandDescription
agents:add -i <id>Add a new agent
agents:remove -i <id>Remove an agent
agents:listList all configured agents
agents:set-default -a <agent> -m <provider>/<model-id>Set default model for an agent type
Refer to openclaw agents and openclaw agent --help for more.

Gateway Management

CommandDescription
gateway:viewView the Gateway
gateway:refresh-tokenRefresh(regenerate) gateway auth token
Refer to openclaw gateway status for more.

Auth Profile Management

CommandDescription
auth:add-profile -n <name>Add an auth profile
auth:profilesList auth profiles configured

Configuration Location

~/.openclaw/openclaw.json or ~/.clawdbot/clawdbot.json or ~/.moltbot/moltbot.json

Keywords

openclaw

FAQs

Package last updated on 10 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts