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

@vebing-tools/aicoding

v0.0.2

Published

一键配置 OKMCode 到 Codex、OpenCode、OpenClaw

Downloads

202

Readme

@vebing-tools/aicoding

一键配置 OKMCode 到 AI 编程工具(Codex、OpenCode、OpenClaw)。

当前行为

  • 快捷配置入口:默认按覆盖写入处理
  • 默认平台codex + opencode
  • 可选平台openclaw(默认不选中)
  • 测速选线:启动时自动测速 OKMCode 候选线路,可手动切换
  • 写前备份:已有目标文件会先备份,再覆盖写入

这和 aat okm 的快捷配置语义保持一致。

安装

npx

npx @vebing-tools/aicoding

全局安装

npm install -g @vebing-tools/aicoding
aicoding

curl

curl -fsSL https://raw.githubusercontent.com/2ue/anyaitools/main/scripts/aicoding.sh | bash

使用

交互式

npx @vebing-tools/aicoding

直接传入 API Key

npx @vebing-tools/aicoding sk-ant-xxx

指定平台

# 仅配置 Codex + OpenCode
npx @vebing-tools/aicoding sk-ant-xxx -p codex,opencode

# 包含 OpenClaw
npx @vebing-tools/aicoding sk-ant-xxx -p codex,opencode,openclaw

# 所有支持平台
npx @vebing-tools/aicoding sk-ant-xxx -p all

指定 OpenAI Base URL

npx @vebing-tools/aicoding sk-ant-xxx --openai-base-url https://okmcode.com

兼容旧参数

npx @vebing-tools/aicoding sk-ant-xxx --overwrite

--overwrite 仍可使用,但当前版本的快捷入口本身就采用覆盖写入,因此该参数只是兼容旧用法。

写入规则

Codex

  • 写入 ~/.codex/config.toml
  • 写入 ~/.codex/auth.json
  • 覆盖托管配置,写前备份已有文件

OpenCode

  • 写入 ~/.config/opencode/opencode.json
  • 覆盖 provider.okmcode 及快捷配置管理的相关结构
  • 写前备份已有文件

OpenClaw

  • 写入 ~/.openclaw/openclaw.json
  • 写入 ~/.openclaw/agents/main/agent/models.json
  • 端点固定为选中 OpenAI Base URL 的 /v1
  • 写前备份已有文件

配置文件

| 工具 | 文件 | | --- | --- | | Codex | ~/.codex/config.toml / ~/.codex/auth.json | | OpenCode | ~/.config/opencode/opencode.json | | OpenClaw | ~/.openclaw/openclaw.json / ~/.openclaw/agents/main/agent/models.json |

anyaitools 的区别

| 特性 | @vebing-tools/aicoding | @vebing-tools/anyaitools | | --- | --- | --- | | 用途 | 快捷配置 OKMCode | 完整 provider 管理 | | 写入语义 | 快捷覆盖 | 常规管理增量,快捷命令覆盖 | | 适用场景 | 快速落配置 | 日常维护、切换 provider |

建议

  • 只想快速把 OKMCode 落到工具配置里:用 @vebing-tools/aicoding
  • 需要长期维护多个 provider:用 @vebing-tools/anyaitools