360 Secure SkillHub
360 安全技能中心

Model Alias Append

该 Skill 通过 openclaw hook 拦截响应,依据 openclaw.json 中 agents.defaults.models 的 alias 映射在回复末尾追加模型别名;同时实时监控配置文件变化,变更时显示更新提示,并保持原有回复标签与格式。

分类:自动化
ccapton
ccapton
热度 56.50
最近更新 2026-05-11 15:52:12

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ccapton/model-alias-append
兼容性
OpenClaw 专属
联网要求
不联网
数据出网
数据不出本机
Metadata
name
model-alias-append
version
1.0.2
description
Automatically appends the model alias to the end of every response with integrated hook functionality and configuration change detection. Use when transparency about which model generated each response is needed. Use when: providing model transparency, tracking which model generated responses, monitoring configuration changes, or ensuring response attribution.
license
MIT

Model Alias Append Skill

Automatically appends model alias to responses with configuration change detection

Model Alias Example

Key Features

  • 🔍 Automatic Detection - Identifies the model used for each response
  • 🏷️ Alias Appending - Adds model alias from openclaw config agents.defaults.models.{yourModelDict}.alias format like the config below
"agents": {
  "defaults": {
    "model": {
      "primary": "gemma3:27b-local",
      "fallbacks": [ "qwen" ]
    },
    "models": {
      "ollama-local/gemma3:27b": {
        "alias": "gemma3:27b-local"
      },
      "qwen-portal/coder-model": {
        "alias": "qwen"
      }
    }
  }
}
  • 🔄 Real-time Monitoring - Watches for configuration changes
  • 📢 Update Notifications - Shows when config changes occur
  • 🛡️ Format Preservation - Maintains reply tags and formatting

Install

npx clawhub@latest install model-alias-append

How It Works

  1. Intercepts responses before sending
  2. Determines which model generated the response
  3. Appends the appropriate model alias
  4. Shows update notices when configuration changes

Setup

No additional configuration needed - reads from your existing openclaw.json

Output Example

Your response content...

[Model alias configuration updated] // This line will not appear until openclaw.json modified

gemma3:27b-local