evo-latex-syntax-validation

SkillDev tools

Validates extracted LaTeX formulas for syntax correctness and produces fixed versions of problematic formulas. Focuses on typos/syntax errors only.

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-syntax-validation 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-syntax-validation/SKILL.md and read by ahel’s review.

Validates and fixes LaTeX formula syntax issues.

Key Functions

  • validate_latex_formula(formula) - Check for syntax issues
  • check_balanced_braces(formula) - Check {} balance
  • check_balanced_brackets(formula) - Check [] balance
  • fix_left_right_delimiters(formula) - Balance \left/\right
  • fix_broken_commands(formula) - Fix OCR typos in commands
  • detect_and_fix_all(formula) - Full validation and fix pipeline

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-latex-syntax-validation/scripts')
from utils import detect_and_fix_all, validate_latex_formula

fixed, was_changed, issues = detect_and_fix_all(formula)
if was_changed:
    print(f"Fixed: {issues}")

Signals

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