text.convert_to_latex

SkillDev tools

Convert formulas in text to their Latex equivalent

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 text.convert_to_latex skill

What this skill tells your AI

The instructions your AI receives, as published by causify-ai/helpers in .claude/skills/text.convert_to_latex/SKILL.md and read by ahel’s review.

  • Convert formulas to Latex leaving the structure of the text exactly the same

  • Use the rules and conventions in .claude/skills/latex.rules.md

Step 1: Convert Mathematical Formulas

  • Convert mathematical formulas to Latex without changing their meaning and formatting so that they are easily readable
    • Bad

      P(M | D) ∝ P(D | M) P(M)
      
    • Good

      $$
      \Pr(M | D) \propto \Pr(D | M)\, \Pr(M)
      $$
      
    • Bad

      a* = argmax_a E_{M~P(M|D)}[Goal | do(a), M]
      
    • Good

      $$
      a^* = \arg\max_a
        \EE_{M | \Pr(M | D)}
        \left[
          \text{Goal} | do(a), M
        \right]
      $$
      

Step 2: Convert Symbols to Latex

  • Convert symbols into Latex ones, together with variables if needed:
    • Bad
      X → Y
      
    • Good
      $X \to U$
      
  • If there are expressions then leave them unchanged
    • Bad
      "If battery low" → seek charging station
      
    • Bad
      "If battery low" $\to$ seek charging station
      

Step 3: Lint the File

  • After the conversion run the command:
    > lint_text.py -i <file>
    

Signals

GitHub stars
145
Forks
159
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
text-convert-to-latex
Source
github.com/causify-ai/helpers