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

openclawapi

v1.3.72

Published

跨平台 OpenClaw/Clawdbot 配置管理工具 - 管理中转地址、模型切换、API Keys、测速优化

Readme

openclawapi - AI 模型配置

配置 OpenClaw 连接 AI 模型(Claude、GPT 等),一条命令搞定。

快速开始

方式一:交互式(推荐新手)

npx openclawapi@latest

按提示选择节点和模型即可。 主菜单已简化为:激活 Claude / 激活 Codex / 测试连接 / 查看配置 / 恢复 / 退出。

方式二:一键配置 Claude

# macOS/Linux
OPENCLAW_CLAUDE_KEY="你的Key" npx openclawapi@latest preset-claude

# Windows PowerShell
$env:OPENCLAW_CLAUDE_KEY="你的Key"; npx openclawapi@latest preset-claude

# Windows CMD
set OPENCLAW_CLAUDE_KEY=你的Key && npx openclawapi@latest preset-claude

方式三:一键配置 Codex

# macOS/Linux
OPENCLAW_CODEX_KEY="你的Key" npx openclawapi@latest preset-codex

# Windows PowerShell
$env:OPENCLAW_CODEX_KEY="你的Key"; npx openclawapi@latest preset-codex

# Windows CMD
set OPENCLAW_CODEX_KEY=你的Key && npx openclawapi@latest preset-codex

方式四:完全自动化(无交互)

# macOS/Linux
OPENCLAW_CLAUDE_KEY="你的Key" npx openclawapi@latest preset-claude --model claude-opus-4-5 --set-primary true --force --test true

# Windows PowerShell
$env:OPENCLAW_CLAUDE_KEY="你的Key"; npx openclawapi@latest preset-claude --model claude-opus-4-5 --set-primary true --force --test true

# Windows CMD
set OPENCLAW_CLAUDE_KEY=你的Key && npx openclawapi@latest preset-claude --model claude-opus-4-5 --set-primary true --force --test true

# macOS/Linux
OPENCLAW_CODEX_KEY="你的Key" npx openclawapi@latest preset-codex --model gpt-5.2 --set-primary true --force --test true

# Windows PowerShell
$env:OPENCLAW_CODEX_KEY="你的Key"; npx openclawapi@latest preset-codex --model gpt-5.2 --set-primary true --force --test true

# Windows CMD
set OPENCLAW_CODEX_KEY=你的Key && npx openclawapi@latest preset-codex --model gpt-5.2 --set-primary true --force --test true

重要说明

  • 一键激活/预设会默认只保留一个中转配置,避免写入过多节点导致混乱
  • 若检测到已有中转配置,会提示确认;使用 --force 将直接覆盖

配置入口(无需记忆)

节点/模型/API 类型配置在:

Service/OpenClawApi/config/API节点设置.md

CLI 会自动读取该文件内的 JSON5 配置块。只需修改这个文件即可。

如需自定义路径,可设置:

OPENCLAW_PRESET_PATH=/path/to/你的配置.md

文档入口

更详细说明在:

Service/OpenClawApi/docs/README.md