npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

trip-openclaw-install

v1.2.1

Published

CLI tool for installing and configuring OpenClaw settings

Readme

trip-openclaw-install

OpenClaw 配置安装工具,通过交互式命令行向导完成模型接入和插件安装。

环境要求

  • Node.js >= 18.0.0
  • 已安装 OpenClaw(插件安装功能需要)

安装

方式一:npx 直接运行(推荐,无需安装)

npx trip-openclaw-install

方式二:全局安装后使用

npm install -g trip-openclaw-install
trip-openclaw-install

方式三:克隆本仓库本地运行

git clone <repo-url>
cd trip-openclaw-install
npm install
npm start

使用方式

完整向导(默认)

一次性完成所有配置,包括模型接入和插件安装:

npx trip-openclaw-install
# 或
npx trip-openclaw-install setup

向导步骤:

  1. 检测 / 指定配置文件路径
  2. 选择并配置模型服务商(输入 API Key)
  3. 选择并安装可选插件

单独配置模型

npx trip-openclaw-install model

按提示选择服务商并输入 API Key,配置会自动合并写入配置文件。

支持的模型服务商:

| 选项 | 名称 | API 地址 | 默认模型 | |------|------|----------|----------| | 1 | 公司内部 FAI | https://trip-llm.alibaba-inc.com/api/fai/v1 | fai/qwen3.5-plus | | 2 | 阿里云百炼 | https://coding.dashscope.aliyuncs.com/v1 | bailian/qwen3.5-plus |

FAI 可用模型:

  • qwen3.5-plus(默认)
  • kimi-k2.5

阿里云百炼可用模型:

  • qwen3.5-plus(默认)
  • qwen3-max-2026-01-23
  • qwen3-coder-next
  • qwen3-coder-plus
  • MiniMax-M2.5
  • glm-5
  • glm-4.7
  • kimi-k2.5

单独安装插件

npx trip-openclaw-install plugins

通过多选菜单选择插件,回车确认后自动执行安装。

可用插件:

| 插件 | 包名 | 功能 | |------|------|------| | 钉钉连接器 | @soimy/dingtalk | 通过钉钉机器人与 OpenClaw 对话 |


配置 Tools 权限

npx trip-openclaw-install tools

读取当前配置中的 tools.profile 并展示,选择新值后保存并自动重启 OpenClaw。

可选 Profile:

| 值 | 说明 | |----|------| | messaging | 消息对话模式 | | coding | 代码开发模式 | | full | 完整功能模式 |


配置文件

工具按以下顺序检测现有配置文件,若均不存在则自动创建:

  1. ~/.openclaw/openclaw.json
  2. ~/.config/openclaw/openclaw.json

配置采用 深度合并(merge) 策略,不会覆盖已有的其他配置项。

FAI 配置示例(写入后):

{
  "models": {
    "mode": "merge",
    "providers": {
      "fai": {
        "baseUrl": "https://trip-llm.alibaba-inc.com/api/fai/v1",
        "apiKey": "<your-api-key>",
        "api": "openai-completions",
        "models": [
          { "id": "qwen3.5-plus", ... },
          { "id": "kimi-k2.5", ... }
        ]
      }
    }
  },
  "agents": {
    "defaults": {
      "model": { "primary": "fai/qwen3.5-plus" }
    }
  },
  "gateway": { "mode": "local" }
}

命令速查

用法:npx trip-openclaw-install [命令]

命令:
  setup     完整交互式配置向导(默认)
  model     仅配置模型接入
  plugins   仅安装插件
  tools     配置 Tools 权限
  --help    显示帮助信息