Source Code
Model Alias Append Skill
Automatically appends model alias to responses with configuration change detection

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
- Intercepts responses before sending
- Determines which model generated the response
- Appends the appropriate model alias
- 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