# Evolution State Analyzer

> Analyzes the evolution memory graph for stagnation patterns, recurring failures, and success plateaus. Generates actionable insights to guide future evolution cycles.

- Skill: `johnalbertini14-glitch/evolution-state-analyzer` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add johnalbertini14-glitch/evolution-state-analyzer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/johnalbertini14-glitch/evolution-state-analyzer/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: johnalbertini14-glitch (https://skillmd.com/u/johnalbertini14-glitch)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/johnalbertini14-glitch/evolution-state-analyzer

---


# 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

```javascript
const analyzer = require('./index');
const insights = await analyzer.analyzeState();
console.log(JSON.stringify(insights, null, 2));
```

## Example Output

```json
{
  "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)"
  ]
}
```

