evo-latex-formula-extraction

SkillDocs & knowledge

Extracts display math formulas from marker-pdf Markdown output, strips equation numbers/tags/trailing punctuation, and organizes them for output.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the evo-latex-formula-extraction skill

What this skill tells your AI

The instructions your AI receives, as published by openlair/openskill in tasks-evolved/latex-formula-extraction/environment/skills/evo-latex-formula-extraction/SKILL.md and read by ahel’s review.

Extracts display math formulas from marker-pdf Markdown output and cleans them.

Key Functions

  • extract_display_formulas(markdown_text) - Extract all $$...$$ blocks
  • strip_equation_numbering(formula) - Remove \tag{}, \label{}, etc.
  • strip_trailing_punctuation(formula) - Remove trailing commas, periods, etc.
  • normalize_formula(formula) - Full cleanup pipeline
  • format_output(formulas, fixed_formulas) - Format for markdown output

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-latex-formula-extraction/scripts')
from utils import extract_display_formulas, normalize_formula, format_output

formulas = extract_display_formulas(markdown_text)
cleaned = [normalize_formula(f) for f in formulas]
output = format_output(cleaned)

Signals

GitHub stars
89
Forks
4
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
evo-latex-formula-extraction
Source
github.com/openlair/openskill