← 返回 Skills 市场
jkyotnfjfbjnknh

Default Model

作者 jkyotnfjfbjnknh · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
111
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install default-model
功能描述
Set the default model persistently via /default_model command with Telegram interactive picker
使用说明 (SKILL.md)

Default Model Plugin

Set the default model persistently via /default_model command. Changes are written to the config file and survive gateway restarts.

Features

  • /default_model — Show current default model from config
  • /default_model \x3Cmodel> — Set default model (e.g. /default_model openrouter/xiaomi/mimo-v2-pro)
  • Telegram interactive picker — Tap provider → model → auto-persist

How it works

  • Writes to agents.defaults.model.primary in the OpenClaw config file
  • New sessions will use the configured default model
  • Current session model is unchanged (use /model for session-level override)

Installation

openclaw plugins install clawhub:default-model

Source

https://github.com/jkyotnfjfbjnknh/openclaw-default-model

安全使用建议
This plugin appears to do exactly what it says: present a model picker and persist the chosen model to the OpenClaw config. Before installing: (1) verify the full source — the index.ts in the prompt was truncated, so review the complete file in the referenced repository to confirm there are no hidden network calls or unexpected behavior; (2) confirm you trust the plugin author/repository (the URL in SKILL.md should be inspected); (3) remember the plugin will change a global default (agents.defaults.model.primary), so restrict who can invoke it (it uses requireAuth and checks authorization, but confirm your gateway's auth rules); (4) test in a non-production environment first. If you want extra assurance, ask for the untruncated full source or run a code review focused on any remaining lines not shown.
功能分析
Type: OpenClaw Skill Name: default-model Version: 1.0.0 The skill bundle implements a utility to persistently change the default AI model in the OpenClaw configuration. It uses the official SDK methods (loadConfig and writeConfigFile) to modify the 'agents.defaults.model.primary' setting and includes appropriate authorization checks (requireAuth) to ensure only authorized users can trigger the change. No suspicious data exfiltration, obfuscation, or malicious execution patterns were found in index.ts or SKILL.md.
能力评估
Purpose & Capability
Name/description, SKILL.md, and index.ts show a single, coherent purpose: read available model providers from the runtime config and persist a chosen model to agents.defaults.model.primary. The plugin reads and writes the OpenClaw config, which is exactly what this feature requires. No unrelated binaries or credentials are requested.
Instruction Scope
Runtime instructions and code only read config, build provider/model lists, present interactive Telegram UI, authorize the sender, and write the updated config. The code uses requireAuth and checks ctx.auth.isAuthorizedSender for interactive changes, which constrains who can change the global default. All referenced files/paths are within the OpenClaw config domain and match the documented behavior.
Install Mechanism
There is no download/install script or external installer. package.json points to the bundled extension (index.ts). No URLs, extract steps, or third‑party packages are being pulled at install time in the provided manifests.
Credentials
The skill declares no required environment variables, credentials, or config paths beyond accessing the OpenClaw runtime config (which is necessary to implement its functionality). No sensitive credentials are requested or referenced.
Persistence & Privilege
The plugin intentionally writes to the global OpenClaw config to persist the default model; this matches its purpose. It does not set always:true. Because it modifies a global config value, installing it grants the plugin the ability to change default behavior for new sessions — that is expected but should be considered before installation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install default-model
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /default-model 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: /default_model command to set default model persistently via config file, with Telegram interactive picker
元数据
Slug default-model
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Default Model 是什么?

Set the default model persistently via /default_model command with Telegram interactive picker. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 111 次。

如何安装 Default Model?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install default-model」即可一键安装,无需额外配置。

Default Model 是免费的吗?

是的,Default Model 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Default Model 支持哪些平台?

Default Model 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Default Model?

由 jkyotnfjfbjnknh(@jkyotnfjfbjnknh)开发并维护,当前版本 v1.0.0。

💬 留言讨论