DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-skill-pdf-math

z

dsh-skill-pdf-math

Discovered

dsh-skill-pdf-math

dsh-skill-pdf-math

A DeepSeek Harness skill for reading mathematics out of PDFs and formula screenshots without guessing.

Why

Vision models misread formulas in predictable ways: a \mathcal{L} becomes \angle, a summation subscript j=1 becomes \cdot, a tall bracket turns into [[[. Most of that is unnecessary, because a LaTeX-produced PDF stores formulas as positioned text, not images — glyphs, baselines, sizes and font names are all there.

So the skill teaches one rule:

read the text layer first, let formula OCR supply the structure, and cross-check the two.

What it adds

  • pdf_formula.py — turns a PDF region into readable (approximate) LaTeX by restoring sub/superscripts from baseline offsets, plus a small TeX cmex10 operator table.
  • --probe — decides whether a page's formulas are extractable text or images.
  • --crosscheck — compares the OCR result against the text layer's letters and their fonts (cmsy10's L is \mathcal{L}), so a wrong glyph is named instead of merely suspected.
  • --verify — re-recognises with a different crop and resolution; disagreement is reported.

Measured on four numbered equations from a real paper:

rendermean similarityexact
400 dpi0.9412/4
600 dpi0.9773/4

--check requires the optional rapid_latex_ocr runtime; without it the text-layer channel still works and the skill says so instead of failing.

Install

dsh plugin --profile <name> add dsh-skill-pdf-math

or install it from the DSH plugin marketplace. The skill registers itself as pdf-math and is model-invocable.

Notes

  • Registration is wrapped in a try/catch: a broken asset can disable the skill, never the host application.
  • Paths are injected at run time, so the published package contains no machine-specific paths.

License

MIT

Comments

Loading…

Similar plugins

dsh-smart-charts

by hherosoul

smart charts

Automation & monitoringManifest valid

★ 20

↓ 295/wk

MIT

Python

Sep 29, 2026

dsh plugin --profile agent add dsh-smart-charts

by xsoc1

DSH adaptation of the math-research Codex plugin marketplace: rigorous-open-math-research, manage-math-research-program, math-research-workflow, lean-verify as DeepSeek Harness skills.

Workflow & AutomationTools & CapabilitiesManifest valid

★ 3

MIT

Python

Sep 9, 2026

dsh plugin --profile web add math-research-dsh

by Zh0uHX

在 DSH 设置中搜索、安装和管理 Skills.sh 技能

Development & InfrastructureManifest valid

★ 1

MIT

TypeScript

Sep 22, 2026

dsh plugin --profile web add dsh-skills

by Uersx

dsh-dashscope-tool-adapter

Manifest valid

★ 0

TypeScript

Aug 18, 2026

dsh plugin --profile web add dsh-dashscope-tool-adapter

by mi-lu-uncle

DSH skill manager plugin: /skills, /skills-uninstall, /skills-update, /skills-doctor

Manifest valid

★ 0

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add @mi-lu-uncle/dsh-skill-console

by aminuoshi-378

能让dsh连上飞书,cli+skills实现

Manifest valid

★ 0

MIT

Python

Oct 18, 2026

dsh plugin --profile web add dsh-lark-cli