
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
openclawapi
Advanced tools
配置 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
FAQs
跨平台 OpenClaw/Clawdbot 配置管理工具 - 管理中转地址、模型切换、API Keys、测速优化
We found that openclawapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.