onehop-codex-config
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "onehop-codex-config":https://skillpi.com/zh/skills/deepskill-da5dff0300ded6f376a126f1e303e4fd50dd1af245c7317fadb4382abae59e15。安装前核对上游来源和版本:https://skillhub.cn/skills/user_28f82bea/codex-config。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
OneHop Codex 模型配置管理:通过聊天完全管理 OneHop Codex 模型配置,支持四种模式:列出、同步、切换和状态。可列出远程支持的模型,将每个模型配置同步到 ~/.codex/onehop,通过复制已保存的模型配置到 ~/.codex/config.toml 实现切换,并通过实时模型测试显示当前模型状态。
介绍来源: third_party · user_28f82bea · 1.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: "onehop-codex-config"
description: "Manage OneHop Codex model configs entirely through chat. Support four modes: list, sync, switch, and status. List remote supported models, sync one config per model into ~/.codex/onehop, switch by copying a saved model config to ~/.codex/config.toml, and show current model status with a live model test."OneHop Codex Config
中文简要说明
这是一个用来管理 OneHop 模型配置的小工具,不需要手动改文件,也不需要记命令。
怎么开始用
第一步,先把你的 OneHop 地址和密钥发到聊天里。
格式可以直接这样写:
baseurl https://api.onehop.ai/v1
api-key 你的密钥
或者这样写也可以:
https://api.onehop.ai/v1 你的密钥
只有先提供 baseurl 和 api-key,这个 skill 才能去读取模型列表、同步配置、检测当前模型状态。
第二步,再告诉它你要做什么。
你可以在聊天里直接说:
list:看看 OneHop 支持哪些模型,也看看本地已经保存了哪些模型配置sync:把 OneHop 支持的模型同步到本地,每个模型生成一个配置文件,并自动备份当前默认配置switch 模型名:切换到你想用的模型status:查看当前正在使用哪个模型,并做一次真实连通测试
如果你是第一次用,可以按这个顺序:
- 先发送
baseurl和api-key - 再用
list看模型 - 然后用
sync同步配置 - 再用
switch 模型名切换模型 - 最后用
status检查是否生效
一个完整例子:
baseurl https://api.onehop.ai/v1
api-key xxxxx
list
sync
switch openai/gpt-5.5
status
整个过程都可以直接在聊天窗口里完成。
Use this skill when the user wants to manage OneHop-backed Codex model configs without manually editing files or running commands.
All operations must be performed interactively in the chat window. Do not ask the user to run shell commands or invoke scripts manually.
Chat modes
-
listBehavior:- Probe
{base_url}/models - Filter models that support
openai_responsesand text output - Show the compatible remote model list in chat
- Show the local saved config files under
~/.codex/onehop/
- Probe
-
syncBehavior:- Probe
{base_url}/models - Filter compatible models
- Generate one config file per compatible model under
~/.codex/onehop/<model-slug>.config.toml - Back up the current default config
~/.codex/config.tomlinto~/.codex/onehop/backup-config-MM-DD-HH-MM-SS-ffffff.toml - Report which files were created
- Probe
-
switchBehavior:- Find the saved config matching the requested model name
- Back up the current default config to
~/.codex/onehop/backup-config-MM-DD-HH-MM-SS-ffffff.toml - Copy the requested model config to
~/.codex/config.toml - Confirm which model is now active
-
statusBehavior:- Read the current default config
~/.codex/config.toml - Show the current model, provider, and configured base URL
- Run one live question against the current model using the provided
base_urlandapi_key - Report the response as a real connectivity and model-use check
- Read the current default config
Natural triggers
- If the user asks to “列出模型” or says
list, uselist - If the user asks to “同步配置” or says
sync, usesync - If the user directly gives a model name, treat that as
switch - If the user asks “现在在用什么模型” or says
status, usestatus
Default policy
- Prefer
minimax/minimax-m3 - If
minimax/minimax-m3is unavailable, fall back toopenai/gpt-5.4 - If neither exists, choose the first model that supports
openai_responsesand text output - Set
model_reasoning_effort = "high"
File layout
- Default Codex config:
~/.codex/config.toml - Managed OneHop model configs:
~/.codex/onehop/<model-slug>.config.toml - Default-config backups:
~/.codex/onehop/backup-config-MM-DD-HH-MM-SS-ffffff.toml
Internal implementation
The bundled Python script is only an internal implementation detail:
$CODEX_HOME/skills/onehop-codex-config/scripts/generate_onehop_codex_config.py
If CODEX_HOME is unavailable:
~/.codex/skills/onehop-codex-config/scripts/generate_onehop_codex_config.py
The user must never be told to run this script directly.
Output template
Generated config content should look like:
model_provider = "OneHop-MM-DD-HH-MM-SS-ffffff"
model = "<selected_model>"
model_reasoning_effort = "high"
disable_response_storage = true
[model_providers."OneHop-MM-DD-HH-MM-SS-ffffff"]
name = "OneHop"
base_url = "<base_url>"
wire_api = "responses"
requires_openai_auth = true
experimental_bearer_token = "<api_key>"
Notes
- Do not invent model support. Probe
/models. - For
list, show both remote-compatible models and local-saved configs. - For
sync, generate one local config per compatible model unless the user asks for a subset. - For
switch, overwrite only~/.codex/config.toml, and always back it up first. - For
status, include a real live model test, so status also covers the old “check” behavior. - Managed config filenames must use sanitized model slugs, for example
openai-gpt-5-4.config.toml. - Keep the config content timestamped inside the file by using
model_provider = "OneHop-MM-DD-HH-MM-SS-ffffff".
当前收录版本
1.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供完整的 OneHop Codex 模型配置管理功能,覆盖 list/sync/switch/status 四种核心操作
- 解决用户在模型配置管理中的实际痛点,无需手动编辑文件或记忆命令
亮点
- 触发词覆盖合理,支持中英文自然语言触发
- 四种模式边界清晰,不易与其他 Skill 重叠
亮点
- 文档结构清晰,包含完整的使用说明和示例
- frontmatter 完整,文件布局说明详细
待提升项
-
异常处理覆盖不全 原报告严重程度:轻微
未明确说明网络异常、认证失败等场景的处理机制
改进建议:建议在文档中补充常见异常的处理说明,如网络超时、API 认证失败等情况的应对策略
亮点
- 包含配置备份机制,确保操作可回退
- 工具来源明确,参数处理规范
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 14, 20, 26, 29, 42 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- api.onehop.ai
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。