~ / rigs / qiaojinxia / okapi

qiaojinxia/okapi

🦀 Rust 写的 AI API 中转网关:一个入口兼容 OpenAI / Claude / Gemini,统一接入 OpenAI、Anthropic、Gemini、Azure、Bedrock、Vertex;倍率计费每一分钱可解释,渠道池路由、管理后台 + 用户门户,Claude Code / Codex 直连,可从 new-api 迁移。LLM API gateway in Rust: OpenAI/Anthropic/Gemini-compatible, 6 provid

↗ GitHub ★ 2 AGPL-3.0 updated 17d ago project Cursor
field: AI / ML
share on X
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
CONTEXT TAX · EVERY TURN
~379 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details
Quality 0/100 Guardrails v2

Copy this rig

$ git clone --depth 1 https://github.com/qiaojinxia/okapi

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit qiaojinxia/okapi/.cursor/skills/add-provider .claude/skills/add-provider
$ npx degit qiaojinxia/okapi/.cursor/skills/billing-safety-review .claude/skills/billing-safety-review
$ npx degit qiaojinxia/okapi/.cursor/skills/i18n-audit .claude/skills/i18n-audit

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Bash(rm -rf *)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Bash(git reset --hard*)",
      "Bash(rm -rf /*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr create *)",
      "Bash(git reset --hard:*)",
      "Bash(npm publish:*)",
      "Bash(git rebase *)"
    ]
  }
}

Skills (3)

Cursor rules (4)

00-project · alwaysbilling-safetyfrontendrust-backend

Similar rigs

copied ✓