360 Secure SkillHub
360 安全技能中心

Evolution State Analyzer

读取 memory_graph.jsonl 对进化过程做元分析:检测无改进的重复循环、统计各基因成功率、聚类失败原因、报告进化得分趋势,并输出含具体改进建议的 JSON 洞察结果。

wanng-ide
wanng-ide
热度 86.40
最近更新 2026-05-11 17:25:49
分类:数据依赖:代码执行 / 读写文件应用场景:报告撰写 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add evolution-state-analyzer
Metadata
name
evolution-state-analyzer
description
Analyzes the evolution memory graph for stagnation patterns, recurring failures, and success plateaus. Generates actionable insights to guide future evolution cycles.

Evolution State Analyzer

This skill provides meta-analysis of the evolution process itself by examining the memory_graph.jsonl file.

Capabilities

  • Stagnation Detection: Identifies repetitive cycles without improvement.
  • Gene Efficacy Analysis: Tracks which genes yield the highest success rates.
  • Failure Cluster Analysis: Groups failure reasons to pinpoint systemic issues.
  • Trend Reporting: Visualizes evolution score trends over time.

Usage

const analyzer = require('./index');
const insights = await analyzer.analyzeState();
console.log(JSON.stringify(insights, null, 2));

Example Output

{
  "total_cycles": 120,
  "success_rate": 0.75,
  "stagnation_detected": true,
  "top_genes": [
    { "id": "gene_repair_v2", "success_rate": 0.95 },
    { "id": "gene_innovate_v1", "success_rate": 0.40 }
  ],
  "recommendations": [
    "Switch to INNOVATE intent (stagnation streak: 5)",
    "Deprecate gene_innovate_v1 (success rate < 0.5)"
  ]
}