← Back to Skills Marketplace
lilisidu1210-ui

调用closeai的gpt

by lilisidu1210-ui · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
356
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install gpt-chat
Description
GPT聊天 - 使用GPT模型进行对话和内容生成
README (SKILL.md)

GPT 聊天 Skill

使用 GPT 模型进行对话和内容生成。

已配置

  • 默认模型: GPT-5.1
  • 脚本路径: skills/gpt-chat/scripts/gpt.js

⚠️ 使用前请设置环境变量 OPENAI_API_KEY 或在对话中提供你的 Key

支持的模型

模型 输入价格 输出价格 说明
GPT-5.2 $1.75/1M tokens $14/1M tokens 最新旗舰模型
GPT-5.1 $1.25/1M tokens $10/1M tokens 稳定版(默认)
GPT-5 $1.25/1M tokens $10/1M tokens 标准版

使用方法

在对话中可以直接使用以下命令:

  1. 查看可用模型:

    运行 node skills/gpt-chat/scripts/gpt.js list
    
  2. 切换模型:

    运行 node skills/gpt-chat/scripts/gpt.js set gpt-5.2
    
  3. 发送消息:

    运行 node skills/gpt-chat/scripts/gpt.js chat 你的问题
    
  4. 查看当前模型:

    运行 node skills/gpt-chat/scripts/gpt.js current
    

直接调用示例

可以直接在对话中说:

  • "使用 GPT-5.2 模型"
  • "切换到 gpt-5.1"
  • "用 gpt-5 回答我的问题"

API Key 配置

如需使用自己的 API Key,可以设置环境变量 OPENAI_API_KEY,或在对话中提供你的 Key。

Usage Guidance
This skill is a local Node-based GPT client and will ask for your OpenAI API key. Before installing or running it: (1) do not paste your API key into chat — set OPENAI_API_KEY as an environment variable instead; (2) inspect and change any API base to the official https://api.openai.com if you intend to use OpenAI directly — several scripts default to api.openai-proxy.org which could forward your key/requests to a third party; (3) if you already supplied a key while trying this skill, treat it as compromised and rotate it; (4) run the skill in an isolated environment and review network traffic (or the skill author’s explanation) if you need to trust a proxy endpoint. The code otherwise matches the described functionality, but the non-official proxy default and the encouragement to paste keys in conversation are the main security concerns.
Capability Analysis
Type: OpenClaw Skill Name: gpt-chat Version: 1.0.0 The skill is classified as suspicious due to the use of a third-party proxy (api.openai-proxy.org) as the default endpoint for the OPENAI_API_KEY in gpt.js and generate-article.js, which risks exposing sensitive credentials to an unofficial intermediary. Furthermore, the documentation (SKILL.md) deceptively claims to support non-existent 'GPT-5.1' and 'GPT-5.2' models with specific pricing, acting as a misleading lure for users to provide their API keys. The bundle also includes an unadvertised local HTTP server (server.js) that exposes API functionality on port 3456, which could allow unauthorized local network access to the user's configured credentials.
Capability Assessment
Purpose & Capability
The name/description claim a GPT chat client using OpenAI; the code largely implements that. However, several scripts default to a non-official API base (api.openai-proxy.org) while others call api.openai.com. A GPT chat skill should default to the official OpenAI API (api.openai.com). The proxy default is disproportionate and unexplained.
Instruction Scope
SKILL.md instructs running the included Node scripts (list, set, chat) which matches the code. But it explicitly suggests users may provide the API key in the conversation body which risks exposing secrets in logs or transcripts. The runtime instructions do not declare or warn about an API_BASE override, even though the code supports it.
Install Mechanism
No install spec (instruction-only) and required binary is just node. Code files are bundled with the skill (so code runs locally) — this is expected for a script-based skill and does not itself indicate an install-time integrity risk.
Credentials
The declared required env var is only OPENAI_API_KEY which is appropriate. However, the code also reads OPENAI_API_BASE (not declared in requires.env) and defaults it to api.openai-proxy.org in multiple scripts. Undeclared endpoint configuration and a non-official default endpoint expand the trust surface and could lead to API key forwarding to an untrusted third party.
Persistence & Privilege
The skill does not request always:true, does not modify other skill settings, and stores only a local state.json in its own directory. No elevated persistence or cross-skill config changes detected.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gpt-chat
  3. After installation, invoke the skill by name or use /gpt-chat
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of gpt-chat skill for conversational and content generation using the GPT model. - Default model set to GPT-5.1, with support for GPT-5 and GPT-5.2. - Key command-line functions: list, set, chat, and current model status. - Requires OPENAI_API_KEY environment variable to function. - Includes clear example commands for switching models and interacting via the script.
Metadata
Slug gpt-chat
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 调用closeai的gpt?

GPT聊天 - 使用GPT模型进行对话和内容生成. It is an AI Agent Skill for Claude Code / OpenClaw, with 356 downloads so far.

How do I install 调用closeai的gpt?

Run "/install gpt-chat" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 调用closeai的gpt free?

Yes, 调用closeai的gpt is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 调用closeai的gpt support?

调用closeai的gpt is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 调用closeai的gpt?

It is built and maintained by lilisidu1210-ui (@lilisidu1210-ui); the current version is v1.0.0.

💬 Comments