Text.convert to latex

From causify-ai/helpers · View interactive version

Text.convert to latex is an AI agent skill from the GitHub repository causify-ai/helpers. Convert formulas in text to their Latex equivalent

How to use this skill

Skill file

Goal

Workflow

Convert Mathematical Formulas

and formatting so that they are easily readable

```text

P(M | D) ∝ P(D | M) P(M)

```

```latex

$$

\Pr(M | D) \propto \Pr(D | M)\, \Pr(M)

$$

```

```text

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

```

```latex

$$

a^* = \arg\max_a

\EE_{M | \Pr(M | D)}

\left[

\text{Goal} | do(a), M

\right]

$$

```

Convert Symbols to Latex

```text

X → Y

```

```latex

$X \to U$

```

```text

"If battery low" → seek charging station

```

```text

"If battery low" $\to$ seek charging station

```

Lint the File

```bash

> lint_text.py -i <FILE>

```

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.