# evoscientist/evoskills architecture

> Architecture diagram of the GitHub repository evoscientist/evoskills, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-08-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/evoscientist/evoskills
- Repository: https://github.com/evoscientist/evoskills

## Overview

#### Purpose and Entry Points
EvoSkills is a repository of installable, agent-oriented knowledge packs for EvoScientist and compatible coding agents. The primary interface is declarative skill documentation: each `skills/<name>/SKILL.md` defines an operational workflow, supported by templates, references, and occasionally executable scripts. Repository-level orientation and installation are in `README.md`; skill authoring conventions are in `skills/README.md`.

#### Core Research Lifecycle
The main composition is a research-to-publication pipeline:
1. generate and rank research directions,
2. plan and execute experiments,
3. draft, review, and present results,
4. retain learned strategies for later cycles.
The foundational stages are `skills/research-ideation/SKILL.md`, `skills/paper-planning/SKILL.md`, `skills/experiment-pipeline/SKILL.md`, and `skills/paper-writing/SKILL.md`.

#### Persistent Evolution Boundary
`evo-memory` is the cross-cycle state layer. It distinguishes ideation and experimentation memory and governs Idea Direction Evolution, Idea Validation Evolution, and Experiment Strategy Evolution. Upstream ideation and experiment workflows consume prior memory; completed cycles update it. Its schemas and protocols live in `skills/evo-memory/SKILL.md`, `skills/evo-memory/references/memory-schema.md`, and `skills/evo-memory/references/ese-protocol.md`.

#### Experiment Execution and Quality Gates
Experiment work is structured around stage budgets, logs, diagnosis, and code refinement rather than a shared runtime service. `experiment-pipeline` provides staged execution and handoff artifacts; `experiment-craft` handles failure-driven iteration; `experiment-iterative-coder` applies plan/code/evaluate/refine loops. Key artifacts are `skills/experiment-pipeline/SKILL.md`, `skills/experiment-craft/SKILL.md`, and `skills/experiment-iterative-coder/SKILL.md`.

#### Literature Discovery and Field Mapping
Two script-backed skills provide external-research boundaries. `paper-navigator` searches, fetches, traverses citations, evaluates papers, and finds related code through academic and developer services. `paper-graph` turns retrieved paper metadata into lineage reports, with host-agent LLM reasoning and edge-audit stages. Main entry points: `skills/paper-navigator/scripts/literature_report.py`, `skills/paper-navigator/scripts/fetch_paper.py`, `skills/paper-graph/scripts/cli.py`, and `skills/paper-graph/scripts/pipeline.py`. Material services include Semantic Scholar, arXiv, Hugging Face, GitHub, Jina Reader, and DeepXiv.

#### Production Artifacts: Papers, Figures, and Slides
Writing and communication are independent skill packs connected by artifacts, not application APIs. Paper drafting uses LaTeX assets in `skills/paper-writing/SKILL.md` and `skills/paper-writing/assets/paper-skeleton.tex`; review includes a JavaScript-based five-aspect evaluator at `skills/paper-review/scripts/five_aspect_review.js`. Figure generation/auditing is Python-oriented via `skills/paper-figures/scripts/validate_figure.py`. Slide generation has two paths: workflow guidance in `skills/academic-slides/SKILL.md`, and Gemini-backed PPTX generation/review in `skills/nano-banana/scripts/generate_ppt.py` and `skills/nano-banana/scripts/serve_viewer.py`.

#### Runtimes, Integrations, and Distribution
The repository is primarily Markdown plus templates, with Python utilities where `requirements.txt` exists (`skills/paper-navigator/requirements.txt`, `skills/paper-graph/requirements.txt`, `skills/nano-banana/requirements.txt`) and one Node-compatible review script. MCP server manifests under `mcp/*.yaml` expose optional agent tools for search, paper retrieval, documentation, and SSH; examples include `mcp/arxiv.yaml`, `mcp/exa.yaml`, and `mcp/context7.yaml`. CI validates skill structure with `github/scripts/validate_skills.py` through `.github/workflows/validate-skills.yml`.

Main entry points: [`skills/paper-writing/SKILL.md`](https://github.com/evoscientist/evoskills/blob/main/skills/paper-writing/SKILL.md) (Paper writing), [`skills/research-ideation/SKILL.md`](https://github.com/evoscientist/evoskills/blob/main/skills/research-ideation/SKILL.md) (Research ideation), [`skills/evo-memory/SKILL.md`](https://github.com/evoscientist/evoskills/blob/main/skills/evo-memory/SKILL.md) (Evo memory), [`skills/experiment-pipeline/SKILL.md`](https://github.com/evoscientist/evoskills/blob/main/skills/experiment-pipeline/SKILL.md) (Experiment pipeline)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_lifecycle["Research Lifecycle"]
  node_ideation["Research ideation<br/>skill pack<br/>[SKILL.md]"]
  node_paper_planning["Paper planning<br/>skill pack<br/>[SKILL.md]"]
  node_experiment_pipeline["Experiment pipeline<br/>skill pack<br/>[SKILL.md]"]
  node_experiment_craft["Experiment craft<br/>skill pack<br/>[SKILL.md]"]
  node_iterative_coder["Iterative coder<br/>skill pack<br/>[SKILL.md]"]
end

subgraph group_memory["Evolution Memory"]
  node_evo_memory[("Evo memory<br/>stateful skill pack<br/>[SKILL.md]")]
  node_memory_schema["Memory schema<br/>schema reference<br/>[memory-schema.md]"]
  node_ese_protocol["ESE protocol<br/>protocol reference<br/>[ese-protocol.md]"]
end

subgraph group_discovery["Literature Discovery"]
  node_paper_navigator{{"Paper navigator<br/>Python CLI"}}
  node_paper_fetch["Paper fetcher<br/>Python utility<br/>[fetch_paper.py]"]
  node_paper_graph{{"Paper graph pipeline<br/>Python pipeline<br/>[pipeline.py]"}}
  node_research_services(("Research services<br/>external APIs"))
end

subgraph group_production["Publication Artifacts"]
  node_paper_writing["Paper writing<br/>skill pack<br/>[SKILL.md]"]
  node_paper_skeleton["LaTeX paper skeleton<br/>template<br/>[paper-skeleton.tex]"]
  node_paper_review{{"Five-aspect review<br/>Node.js evaluator"}}
  node_figure_validation["Figure validation<br/>Python utility<br/>[validate_figure.py]"]
  node_academic_slides["Academic slides<br/>skill pack<br/>[SKILL.md]"]
  node_ppt_generation{{"Gemini PPTX generation<br/>Python utility<br/>[generate_ppt.py]"}}
end

subgraph group_distribution["Distribution &amp; Tooling"]
  node_repo_readme["Repository orientation<br/>Markdown guide<br/>[README.md]"]
  node_skill_authoring["Skill conventions<br/>Markdown guide<br/>[README.md]"]
  node_mcp_manifests["MCP tool manifests<br/>YAML manifests<br/>[arxiv.yaml]"]
  node_skill_validation{{"Skill structure CI<br/>GitHub Actions validation"}}
end

node_repo_readme -->|"orients contributors"| node_skill_authoring
node_skill_authoring -.->|"defines pack conventions"| node_ideation
node_ideation -->|"ranked directions"| node_paper_planning
node_paper_planning -->|"experiment plan"| node_experiment_pipeline
node_experiment_pipeline -->|"failures and logs"| node_experiment_craft
node_experiment_craft -->|"refinement work"| node_iterative_coder
node_iterative_coder -->|"validated results"| node_paper_writing
node_paper_writing -->|"uses"| node_paper_skeleton
node_paper_writing -->|"draft for review"| node_paper_review
node_paper_writing -->|"figures for audit"| node_figure_validation
node_paper_writing -->|"results for presentation"| node_academic_slides
node_academic_slides -.->|"optional deck generation"| node_ppt_generation
node_ideation -.->|"reads prior directions"| node_evo_memory
node_experiment_pipeline -->|"reads and updates outcomes"| node_evo_memory
node_evo_memory -->|"uses"| node_memory_schema
node_evo_memory -->|"governs strategy evolution"| node_ese_protocol
node_paper_navigator -->|"queries"| node_research_services
node_paper_fetch -->|"retrieves papers"| node_research_services
node_paper_navigator -->|"retrieved metadata"| node_paper_graph
node_paper_graph -->|"lineage reports"| node_ideation
node_mcp_manifests -.->|"optional agent access"| node_research_services
node_skill_validation -->|"checks conventions"| node_skill_authoring

click node_repo_readme "https://github.com/evoscientist/evoskills/blob/main/README.md"
click node_skill_authoring "https://github.com/evoscientist/evoskills/blob/main/skills/README.md"
click node_ideation "https://github.com/evoscientist/evoskills/blob/main/skills/research-ideation/SKILL.md"
click node_paper_planning "https://github.com/evoscientist/evoskills/blob/main/skills/paper-planning/SKILL.md"
click node_experiment_pipeline "https://github.com/evoscientist/evoskills/blob/main/skills/experiment-pipeline/SKILL.md"
click node_experiment_craft "https://github.com/evoscientist/evoskills/blob/main/skills/experiment-craft/SKILL.md"
click node_iterative_coder "https://github.com/evoscientist/evoskills/blob/main/skills/experiment-iterative-coder/SKILL.md"
click node_paper_writing "https://github.com/evoscientist/evoskills/blob/main/skills/paper-writing/SKILL.md"
click node_paper_skeleton "https://github.com/evoscientist/evoskills/blob/main/skills/paper-writing/assets/paper-skeleton.tex"
click node_evo_memory "https://github.com/evoscientist/evoskills/blob/main/skills/evo-memory/SKILL.md"
click node_memory_schema "https://github.com/evoscientist/evoskills/blob/main/skills/evo-memory/references/memory-schema.md"
click node_ese_protocol "https://github.com/evoscientist/evoskills/blob/main/skills/evo-memory/references/ese-protocol.md"
click node_paper_navigator "https://github.com/evoscientist/evoskills/blob/main/skills/paper-navigator/scripts/literature_report.py"
click node_paper_fetch "https://github.com/evoscientist/evoskills/blob/main/skills/paper-navigator/scripts/fetch_paper.py"
click node_paper_graph "https://github.com/evoscientist/evoskills/blob/main/skills/paper-graph/scripts/pipeline.py"
click node_paper_review "https://github.com/evoscientist/evoskills/blob/main/skills/paper-review/scripts/five_aspect_review.js"
click node_figure_validation "https://github.com/evoscientist/evoskills/blob/main/skills/paper-figures/scripts/validate_figure.py"
click node_academic_slides "https://github.com/evoscientist/evoskills/blob/main/skills/academic-slides/SKILL.md"
click node_ppt_generation "https://github.com/evoscientist/evoskills/blob/main/skills/nano-banana/scripts/generate_ppt.py"
click node_mcp_manifests "https://github.com/evoscientist/evoskills/blob/main/mcp/arxiv.yaml"
click node_skill_validation "https://github.com/evoscientist/evoskills/blob/main/.github/workflows/validate-skills.yml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_ideation,node_paper_planning,node_experiment_pipeline,node_experiment_craft,node_iterative_coder toneBlue
class node_evo_memory,node_memory_schema,node_ese_protocol toneAmber
class node_paper_navigator,node_paper_fetch,node_paper_graph,node_research_services toneMint
class node_paper_writing,node_paper_skeleton,node_paper_review,node_figure_validation,node_academic_slides,node_ppt_generation toneRose
class node_repo_readme,node_skill_authoring,node_mcp_manifests,node_skill_validation toneIndigo
```

## Components

### Research Lifecycle

Composable skill packs drive research from ideas through publication.

- [Research ideation](https://github.com/evoscientist/evoskills/blob/main/skills/research-ideation/SKILL.md): skill pack · Generates and ranks research directions. · `skills/research-ideation/SKILL.md`
- [Paper planning](https://github.com/evoscientist/evoskills/blob/main/skills/paper-planning/SKILL.md): skill pack · Turns directions into research and paper plans. · `skills/paper-planning/SKILL.md`
- [Experiment pipeline](https://github.com/evoscientist/evoskills/blob/main/skills/experiment-pipeline/SKILL.md): skill pack · Stages execution with budgets, logs, and handoff artifacts. · `skills/experiment-pipeline/SKILL.md`
- [Experiment craft](https://github.com/evoscientist/evoskills/blob/main/skills/experiment-craft/SKILL.md): skill pack · Uses failures to guide experimental iteration. · `skills/experiment-craft/SKILL.md`
- [Iterative coder](https://github.com/evoscientist/evoskills/blob/main/skills/experiment-iterative-coder/SKILL.md): skill pack · Runs plan, code, evaluate, and refine loops. · `skills/experiment-iterative-coder/SKILL.md`

### Evolution Memory

Cross-cycle state and evolution protocols.

- [Evo memory](https://github.com/evoscientist/evoskills/blob/main/skills/evo-memory/SKILL.md): stateful skill pack · Cross-cycle ideation and experiment memory with evolution rules. · `skills/evo-memory/SKILL.md`
- [Memory schema](https://github.com/evoscientist/evoskills/blob/main/skills/evo-memory/references/memory-schema.md): schema reference · Defines ideation and experimentation memory. · `skills/evo-memory/references/memory-schema.md`
- [ESE protocol](https://github.com/evoscientist/evoskills/blob/main/skills/evo-memory/references/ese-protocol.md): protocol reference · Defines experiment strategy evolution. · `skills/evo-memory/references/ese-protocol.md`

### Literature Discovery

Script-backed external research and field mapping.

- [Paper navigator](https://github.com/evoscientist/evoskills/blob/main/skills/paper-navigator/scripts/literature_report.py): Python CLI · Searches, fetches, evaluates papers, citations, and related code. · `skills/paper-navigator/scripts/literature_report.py`
- [Paper fetcher](https://github.com/evoscientist/evoskills/blob/main/skills/paper-navigator/scripts/fetch_paper.py): Python utility · `skills/paper-navigator/scripts/fetch_paper.py`
- [Paper graph pipeline](https://github.com/evoscientist/evoskills/blob/main/skills/paper-graph/scripts/pipeline.py): Python pipeline · Builds lineage reports with LLM reasoning and edge audits. · `skills/paper-graph/scripts/pipeline.py`
- **Research services**: external APIs · Semantic Scholar, arXiv, Hugging Face, GitHub, Jina Reader, and DeepXiv.

### Publication Artifacts

Independent paper, review, figure, and slide workflows.

- [Paper writing](https://github.com/evoscientist/evoskills/blob/main/skills/paper-writing/SKILL.md): skill pack · Drafts papers with LaTeX assets. · `skills/paper-writing/SKILL.md`
- [LaTeX paper skeleton](https://github.com/evoscientist/evoskills/blob/main/skills/paper-writing/assets/paper-skeleton.tex): template · `skills/paper-writing/assets/paper-skeleton.tex`
- [Five-aspect review](https://github.com/evoscientist/evoskills/blob/main/skills/paper-review/scripts/five_aspect_review.js): Node.js evaluator · `skills/paper-review/scripts/five_aspect_review.js`
- [Figure validation](https://github.com/evoscientist/evoskills/blob/main/skills/paper-figures/scripts/validate_figure.py): Python utility · `skills/paper-figures/scripts/validate_figure.py`
- [Academic slides](https://github.com/evoscientist/evoskills/blob/main/skills/academic-slides/SKILL.md): skill pack · Guidance for presenting research results. · `skills/academic-slides/SKILL.md`
- [Gemini PPTX generation](https://github.com/evoscientist/evoskills/blob/main/skills/nano-banana/scripts/generate_ppt.py): Python utility · Generates and reviews presentation decks. · `skills/nano-banana/scripts/generate_ppt.py`

### Distribution & Tooling

Installation, optional tools, and repository validation.

- [Repository orientation](https://github.com/evoscientist/evoskills/blob/main/README.md): Markdown guide · Installation and repository entry point. · `README.md`
- [Skill conventions](https://github.com/evoscientist/evoskills/blob/main/skills/README.md): Markdown guide · Authoring conventions for skill packs. · `skills/README.md`
- [MCP tool manifests](https://github.com/evoscientist/evoskills/blob/main/mcp/arxiv.yaml): YAML manifests · Optional agent tools for search, retrieval, docs, and SSH. · `mcp/arxiv.yaml`
- [Skill structure CI](https://github.com/evoscientist/evoskills/blob/main/.github/workflows/validate-skills.yml): GitHub Actions validation · Validates skill structure before integration. · `.github/workflows/validate-skills.yml`

## Connections

- Repository orientation → Skill conventions: orients contributors
- Skill conventions → Research ideation: defines pack conventions
- Research ideation → Paper planning: ranked directions
- Paper planning → Experiment pipeline: experiment plan
- Experiment pipeline → Experiment craft: failures and logs
- Experiment craft → Iterative coder: refinement work
- Iterative coder → Paper writing: validated results
- Paper writing → LaTeX paper skeleton: uses
- Paper writing → Five-aspect review: draft for review
- Paper writing → Figure validation: figures for audit
- Paper writing → Academic slides: results for presentation
- Academic slides → Gemini PPTX generation: optional deck generation
- Research ideation → Evo memory: reads prior directions
- Experiment pipeline → Evo memory: reads and updates outcomes
- Evo memory → Memory schema: uses
- Evo memory → ESE protocol: governs strategy evolution
- Paper navigator → Research services: queries
- Paper fetcher → Research services: retrieves papers
- Paper navigator → Paper graph pipeline: retrieved metadata
- Paper graph pipeline → Research ideation: lineage reports
- MCP tool manifests → Research services: optional agent access
- Skill structure CI → Skill conventions: checks conventions
