AI Agent Hub
Back to plugins
🖥️

dsh-latex-guard

Client Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install Flan246/dsh-latex-guard

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install Flan246/dsh-latex-guard in the DeepSeek Harness terminal to install the plugin; the source repository is available at https://github.com/Flan246/dsh-latex-guard .

About this plugin

Writing a LaTeX paper means wading through compile logs line by line, hand-checking bibliography formatting, and eyeballing whether every citation key actually exists in the .bib file. These small but recurring interruptions eat into creative momentum. dsh-latex-guard bundles compile feedback and literature validation into four lightweight commands, turning tedious manual cross-checking into a single automated pass.

Each command has a clear role: check invokes latexmk to compile the project and emits a structured report of errors, warnings, and undefined citations while auto-detecting the pdflatex, xelatex, or lualatex engine; bib-lint deduplicates entry keys, validates required fields per entry type, and canonicalizes formatting; bib-fill pulls missing fields from Crossref by DOI or title without ever overwriting existing values; cite-audit cross-references citation commands in .tex files against the .bib file, surfacing cited-but-missing and never-cited entries across the full natbib and biblatex macro families. Every command defaults to human-readable output and switches to structured JSON with --json, with clear exit codes that make it straightforward for agents or CI pipelines to consume.

It plugs in as four agent tools inside DeepSeek Harness, runs as a standalone CLI independent of any platform, and ships with a SKILL.md that teaches any compatible agent to drive the CLI. Whether you are producing a course assignment, a journal submission, or a technical manual, and whether your workflow lives in an editor, a terminal, or an agent pipeline, dsh-latex-guard helps you pinpoint LaTeX and BibTeX issues without leaving your current context.

Use Cases

  • Compile a LaTeX project and instantly surface errors, warnings, and undefined citations
  • Lint and fill bibliography entries before journal submission
  • Drive citation auditing and reference completion inside an agent pipeline

Best For

  • Researchers who write papers or textbooks in LaTeX daily
  • Developers who need programmatic reference handling in agent workflows
  • Teams that want LaTeX compile checks and bibliography validation in CI pipelines