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

cyaipro

v1.0.5

Published

CYAI API 配置工具 — 一键配置 OpenClaw/Clawdbot、Claude Code、Codex、Hermes、Opencode

Downloads

164

Readme

cyaipro - CYAI API 配置工具

一键配置 OpenClaw/Clawdbot、Claude Code、Codex CLI、Hermes Agent、Opencode 连接 CYAI API 节点。

默认节点:

https://api.cyai.pro

CYAI 是 new-api 单入口,配置时使用根地址即可,不需要手动添加 /claude/codex/v1

快速开始

npx cyaipro@latest

按提示输入 CYAI API Key,选择要配置的工具和模型即可。

非交互配置 OpenClaw(Claude + GPT,默认 Claude Opus 4.8):

npx cyaipro@latest preset-openclaw --api-key "你的 CYAI API Key" --model claude-opus-4-8 --test false

测速

npx cyaipro@latest speed-test

常用预设

配置 Claude Code:

ANTHROPIC_AUTH_TOKEN="你的 CYAI API Key" npx cyaipro@latest preset-claude

配置 Codex CLI:

OPENAI_API_KEY="你的 CYAI API Key" npx cyaipro@latest preset-codex-cli --model chat-latest

配置 Hermes:

npx cyaipro@latest preset-hermes

配置 Opencode:

npx cyaipro@latest preset-opencode --api-key "你的 CYAI API Key" --model claude-opus-4-8

OpenClaw 一键配置并把 GPT 设为主模型:

npx cyaipro@latest preset-codex --api-key "你的 CYAI API Key" --model chat-latest --test false

OpenClaw

OpenClaw 配置完成后,如 Gateway 已经运行,请重启:

openclaw gateway restart

测试:

openclaw agent --agent main -m "你好,只回复 OK"

手动配置参考

Claude:

{
  "provider": "anthropic",
  "base_url": "https://api.cyai.pro",
  "api": "anthropic-messages",
  "api_key": "<你的 CYAI API Key>",
  "model": {
    "id": "claude-opus-4-8",
    "name": "Claude Opus 4.8"
  }
}

OpenAI/GPT:

{
  "provider": "openai",
  "base_url": "https://api.cyai.pro",
  "api": "openai-completions",
  "api_key": "<你的 CYAI API Key>",
  "model": {
    "id": "chat-latest",
    "name": "ChatGPT Latest"
  }
}