← Back to Skills Marketplace
jkyotnfjfbjnknh

Default Model

by jkyotnfjfbjnknh · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
111
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install default-model
Description
Set the default model persistently via /default_model command with Telegram interactive picker
README (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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install default-model
  3. After installation, invoke the skill by name or use /default-model
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: /default_model command to set default model persistently via config file, with Telegram interactive picker
Metadata
Slug default-model
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Default Model?

Set the default model persistently via /default_model command with Telegram interactive picker. It is an AI Agent Skill for Claude Code / OpenClaw, with 111 downloads so far.

How do I install Default Model?

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

Is Default Model free?

Yes, Default Model is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Default Model support?

Default Model is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Default Model?

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

💬 Comments