skills/mcstatus/SKILL.md
# SKILL.md - Model Configuration Status (mcstatus) ## 触发条件 - `/mcstatus` 命令 - 用户询问模型配备、模型配置、model status、模型列表等 ## 功能 实时生成 Agent + Cron 的模型配置报告,展示当前所有 agent 的主模型/fallback链和所有 cron 任务的模型分配。 ## 执行步骤 ### Step 1: 收集 Agent 模型配置 读取各 agent 的 models.json 获取主模型和 fallback 链: ```bash for agent in main ops code quant data research content market finance pm law product sales batch; do config=$(cat ~/.openclaw/agents/$agent/agent/models.json 2>/dev/null) if [ -n "$config" ]; then echo "=== $agent
npx skillsauth add aaaaqwq/claude-code-skills skills/mcstatusInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
/mcstatus 命令实时生成 Agent + Cron 的模型配置报告,展示当前所有 agent 的主模型/fallback链和所有 cron 任务的模型分配。
读取各 agent 的 models.json 获取主模型和 fallback 链:
for agent in main ops code quant data research content market finance pm law product sales batch; do
config=$(cat ~/.openclaw/agents/$agent/agent/models.json 2>/dev/null)
if [ -n "$config" ]; then
echo "=== $agent ==="
echo "$config" | python3 -c "
import sys,json
d=json.load(sys.stdin)
primary=d.get('primary','inherit')
fallbacks=d.get('fallbacks',d.get('fallback',[]))
print(f' 主模型: {primary}')
print(f' Fallback: {\" → \".join(fallbacks)}')
" 2>/dev/null
fi
done
# 使用 cron list API 获取所有任务
# 然后提取每个 job 的 model 字段
实际使用 cron(action='list') 工具获取完整任务列表,提取每个任务的:
payload.model(显式指定的模型)agentId(所属 agent)name(任务名)enabled(是否启用)schedule(执行时间)按以下格式生成报告:
📊 模型配置总览 | {YYYY-MM-DD HH:MM}
━━━━━━━━━━━━━━━━━━━━
## 🤖 Agent 模型 ({N}个)
| Agent | 主模型 | Fallback |
|-------|--------|----------|
| main | xsc-opus46 | → zai-turbo → kimi → m2.5 → ollama/qwen3.5:9b |
| ... | ... | ... |
## ⏰ Cron 模型分布 ({N}个活跃)
| 模型 | 数量 | 占比 |
|------|------|------|
| zai/glm-5-turbo | X | X% |
| ... | ... | ... |
### 按模型分组
**zai/glm-5-turbo ({N}个)**
- 任务1 (agent, 时间)
- 任务2 (agent, 时间)
**minimax/MiniMax-M2.5 ({N}个)**
- ...
**ollama/qwen3.5:9b ({N}个)**
- ...
### ⚠️ 异常任务
- [任务名]: [原因]
## 📊 成本估算
- 云API任务: X个 ({X}%)
- 本地Ollama任务: X个 ({X}%)
- systemEvent: X个
~/.openclaw/agents/<id>/agent/models.json 实时读取cron(action='list') 实时获取| 全称 | 别名 | |------|------| | xingsuancode/claude-opus-4-6 | xsc-opus46 | | zai/glm-5-turbo | zai-turbo | | minimax/MiniMax-M2.5 | m2.5 | | xingjiabiapi/gemini-3-pro-preview | xjb-g3p | | moonshot/kimi-k2.5 | kimi | | ollama/qwen3.5:9b | ollama/qwen3.5:9b | | zai/glm-5 | glm5 |
testing
通用自媒体文章自动发布工具。支持百家号、搜狐号、知乎、微信公众号、小红书、抖音号六个平台的自动化发布流程。使用Playwright自动化实现平台导航和发布,支持通过storageState管理Cookie实现账号切换。
tools
MCP 服务器智能管理助手。自动检测 MCP 可用性、智能开关、功能问答,提供人性化的 MCP 管理体验。
tools
从GitHub搜索并自动安装配置MCP(Model Context Protocol)服务器工具到Claude配置文件。当用户需要安装MCP工具时触发此技能。工作流程:搜索GitHub上的MCP项目 -> 提取npx配置 -> 添加到~/.claude.json -> 处理API密钥(如有)。
tools
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).