logseq-cleanup-math
100 / 100 · Low risk
Fine to try.
Clean up and format LaTeX math in Logseq-Flavored Markdown so KaTeX renders it: unwrap math from code blocks, put `$$` delimiters on their own lines, collapse duplicate or mangled formulas, and use `$inline$` for variables in prose. Use when math in a page renders as literal text, when importing notes whose formulas came through garbled, or when the user asks to fix or format math in the graph. Do not use for non-math LFM formatting (logseq-lfm) or for code blocks that are genuinely code.
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Other copies in this repository
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'logseq-cleanup-math' ] || [ -L ~/.agents/skills/'logseq-cleanup-math' ]; then echo 'A skill folder named logseq-cleanup-math already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/codekiln/logseq-encode-garden' "$d" && git -C "$d" checkout --quiet '7c943feefdb472d96d680c01e15c4bffc297467d' -- '.agents/skills/logseq-cleanup-math' && mkdir -p ~/.agents/skills && cp -R "$d"/'.agents/skills/logseq-cleanup-math' ~/.agents/skills/'logseq-cleanup-math' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'logseq-cleanup-math' ~/.claude/skills/'logseq-cleanup-math' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/codekiln/logseq-encode-garden/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-12 | 7c943fe | 100 |
| 2026-11-08 | e64f204 | 100 |
| 2026-11-06 | f08de64 | 100 |