360 Secure SkillHub
360 安全技能中心

YandexGPT Proxy

纯 Node.js 实现的本地 HTTP 代理(默认端口 8444),将 OpenAI 格式的 /v1/models 与 /v1/chat/completions 请求转换为 Yandex Cloud Foundation Models(YandexGPT)调用,并提供安装、启停、状态检查与配置写入脚本,用于把该模型接入 OpenClaw;需自备 Yandex 凭据。

分类:开发
smvlx
smvlx
热度 33.60
最近更新 2026-05-11 17:29:11

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add smvlx/yandexgpt-skill
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
yandexgpt
description
OpenAI-compatible translation proxy for Yandex Cloud Foundation Models (YandexGPT)
version
1.1.0
metadata
{"openclaw":{"emoji":"🦊","homepage":"https://github.com/smvlx/openclaw-ru-skills","os":["darwin","linux"],"requires":{"bins":["node","curl"],"env":["YANDEX_API_KEY","YANDEX_FOLDER_ID"]},"primaryEnv":"YANDEX_API_KEY","configPaths":["~/.openclaw/yandexgpt.env","~/.openclaw/openclaw.json"]}}

YandexGPT Proxy

OpenAI-compatible translation proxy for Yandex Cloud Foundation Models (YandexGPT).

What it does

Runs a local HTTP proxy on port 8444 that accepts OpenAI-format API calls and translates them to the YandexGPT API. Zero external dependencies — pure Node.js.

Supported Models

Model YandexGPT Model URI
yandexgpt gpt://FOLDER_ID/yandexgpt/latest
yandexgpt-lite gpt://FOLDER_ID/yandexgpt-lite/latest
yandexgpt-32k gpt://FOLDER_ID/yandexgpt-32k/latest

Setup

  1. Get a Yandex Cloud API key and folder ID
  2. Save to ~/.openclaw/yandexgpt.env:
    YANDEX_API_KEY=your_api_key
    YANDEX_FOLDER_ID=your_folder_id
    YANDEX_PROXY_PORT=8444
    
  3. Run scripts/setup.sh
  4. Run scripts/start.sh
  5. Run scripts/patch-config.sh to add to OpenClaw config

Endpoints

  • GET /v1/models — List available models
  • POST /v1/chat/completions — Chat completion (OpenAI format)

Scripts

  • scripts/setup.sh — Create env file template
  • scripts/start.sh — Start proxy
  • scripts/stop.sh — Stop proxy
  • scripts/status.sh — Check status
  • scripts/patch-config.sh — Add YandexGPT to openclaw.json