Skills Monitor 分析仪表盘

{{ data.agent.name }} · 数据截至 {{ data.generated_at[:10] }}

🏥 系统健康度
{{ '%.0f' % data.overview.health_score }}
总评分(满分 100)
可运行率 {{ '%.1f' % data.overview.runnable_rate }}% · {{ data.overview.total_runnable }}/{{ data.overview.total_installed }} Skills
📈 总运行次数
{{ data.overview.total_runs }}
最新周期内运行
上报 {{ data.overview.total_reports }} 份报告 · 最近: {{ data.overview.last_report_at }}
🎯 成功率
{{ '%.1f' % data.overview.success_rate }}%
运行成功比例
平均响应 {{ '%.0f' % data.overview.avg_duration_ms }}ms
活跃 Skills
{{ data.overview.active_skills }}
有运行记录的 Skills
已安装 {{ data.overview.total_installed }} · 可运行 {{ data.overview.total_runnable }}
💖 健康度分析
{{ '%.0f' % data.overview.health_score }} 健康度
📦 已安装 Skills {{ data.overview.total_installed }}
⚡ 可运行 Skills {{ data.overview.total_runnable }}
📊 可运行率 {{ '%.1f' % data.overview.runnable_rate }}%
🕐 最近上报 {{ data.overview.last_report_at }}
📄 累计报告 {{ data.overview.total_reports }} 份
📊 Skill 评分分布
{% if data.skill_rankings %}
{{ data.score_distribution.excellent }}
优秀 (≥90)
{{ data.score_distribution.good }}
良好 (75-89)
{{ data.score_distribution.average }}
一般 (60-74)
{{ data.score_distribution.poor }}
待改善 (<60)
{% else %}
📭

暂无评分数据

需要更多 Skill 运行记录后才能生成评分分布。

{% endif %}
📈 趋势分析(近 {{ data.period_days }} 天)
{% if data.trend %}
{% else %}
📉

暂无趋势数据

至少需要 2 天的上报数据才能展示趋势。请确认定时任务正常运行并上报数据。

{% endif %}
🏆 Skill 性能排行
{% if data.skill_rankings %}
{% for s in data.skill_rankings %} {% endfor %}
# Skill 综合评分 等级 成功率 平均响应 满意度 稳定性
{{ loop.index }} {{ s.skill_id }}
{{ '%.1f' % s.total_score }}
{{ s.grade }} {{ '%.0f%%' % s.success_rate if s.success_rate is not none else '-' }} {{ '%.0f ms' % s.response_time if s.response_time is not none else '-' }} {{ '%.1f/5' % s.satisfaction if s.satisfaction else '-' }} {{ '%.2f' % s.stability if s.stability is not none else '-' }}
{% else %}
🏅

暂无排行数据

多使用 Skills 后将自动生成性能排行。

{% endif %}
📋 报告历史
{% if data.report_history %}
{% for r in data.report_history %}
{{ r.type|upper }} · {{ r.date }}
健康 {{ '%.0f' % r.health_score }} 运行 {{ r.total_runs }} 成功 {{ '%.0f%%' % r.success_rate }}
{% endfor %}
{% else %}
📭

暂无报告

等待 Agent 上报数据。

{% endif %}
🤖 Agent 系统信息
Agent ID
{{ data.agent.agent_id }}
名称
{{ data.agent.name }}
操作系统
{{ data.agent.os_info }}
Python 版本
{{ data.agent.python_version }}
Monitor 版本
{{ data.agent.monitor_version }}
注册时间
{{ data.agent.created_at }}
最近心跳
{{ data.agent.last_heartbeat }}
最近上报
{{ data.overview.last_report_at }}
🔄 报告同步保障
当前状态:{{ data.report_sync.status_label }} · 首次诊断 {{ '已补齐' if data.report_sync.has_initial_diagnostic else '缺失' }}
首次诊断
{{ data.report_sync.first_diagnostic_date or '-' }}
最新诊断
{{ data.report_sync.latest_diag_date or '-' }}
近 7 日日报
{{ data.report_sync.recent_daily_count }}
累计日报
{{ data.report_sync.daily_count }}
累计诊断
{{ data.report_sync.diagnostic_count }}
首次触发
{{ data.first_diagnostic.trigger if data.first_diagnostic else '-' }}
💡 推荐安装 Skills
{% if data.recommendations %}
{% if data.overview.total_installed == 0 %} 当前未检测到已安装 skills,已按官方 TOP10 精选 3 个推荐,并展示选择逻辑。 {% else %} 已按安装结构、使用频率和评分表现生成推荐,优先补足能力短板。 {% endif %}
{% for rec in data.recommendations[:6] %}
{{ rec.name }}
{{ rec.category }} · {{ rec.slug }}
{{ '%.0f' % rec.recommendation_score }}
{{ rec.reason_label or rec.reason_type }}
{{ rec.reason_detail }}
{% if rec.selection_logic %}
{{ rec.selection_logic }}
{% endif %}
{% endfor %}
{% else %}
💡

暂无推荐

当前安装结构较完整,或尚未生成推荐数据。

{% endif %}
🏥 最近诊断报告
{% if data.diagnostic_summary and data.diagnostic_summary.markdown %}
日期: {{ data.diagnostic_summary.date }} · 健康度: {{ '%.0f' % data.diagnostic_summary.health_score }} · 触发: {{ data.diagnostic_summary.trigger or '-' }}
{% if data.diagnostic_summary.issues %}
发现问题
    {% for item in data.diagnostic_summary.issues[:4] %}
  • {{ item }}
  • {% endfor %}
{% endif %} {% if data.diagnostic_summary.suggestions %}
行动建议
    {% for item in data.diagnostic_summary.suggestions[:4] %}
  • {{ item }}
  • {% endfor %}
{% endif %}
{{ data.diagnostic_summary.markdown[:1800] }}
{% else %}
🔍

暂无诊断报告

运行 skills-monitor diagnose 或等待定时任务触发诊断。

{% endif %}