Skip to content
Back to skills

Doctor

ASecurity

Check that this machine has what tminus needs (Python, PDF text extraction, a TeX engine and LaTeX packages) and print exact per-OS fix commands. Use when the user runs /tminus:doctor or a tminus command reports a missing tool.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 24, 2026
ai-agentspythongobash

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add spandan11106/tminus --skill doctor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doctor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Doctor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/spandan11106-doctor/badge)](https://www.skillsdirectory.com/skills/spandan11106-doctor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: doctor
description: "Check that this machine has what tminus needs (Python, PDF text extraction, a TeX engine and LaTeX packages) and print exact per-OS fix commands. Use when the user runs /tminus:doctor or a tminus command reports a missing tool."
argument-hint: "[--install]"
disable-model-invocation: true
allowed-tools: Bash(${CLAUDE_PLUGIN_ROOT}/scripts/tm *), Read, Edit
---

# /tminus:doctor

Run the tminus preflight and help the user fix gaps. Never run `sudo` or a system package manager yourself.

1. Pick the course folder: the current directory if it holds `course.md`, else none. Run each command below on its
   own (no `;`, `&&` or `if` chains) so the pre-approved `tm` calls need no permission prompt.
2. Run, from that folder if there is one:
   `${CLAUDE_PLUGIN_ROOT}/scripts/tm preflight --cache-dir .tminus`
   (without a course folder, drop `--cache-dir .tminus`).
   Show the table to the user as printed. Exit codes: 0 all good, 1 a required item is missing,
   2 usable but optional or PDF-output items are missing.
3. If the arguments contain `--install`, or Python packages are reported missing:
   - Run `${CLAUDE_PLUGIN_ROOT}/scripts/tm preflight --install` (dry run) and show what it will do.
   - Ask the user once to confirm. Only after a yes, run
     `${CLAUDE_PLUGIN_ROOT}/scripts/tm preflight --install --yes`. This installs into the plugin's own
     virtualenv (`~/.cache/tminus/venv`, or `$TMINUS_VENV`), never globally.
   - Re-run step 2.
4. For system-level gaps (TeX, poppler, Python itself), show the printed fix command and ask the user to run it
   themselves (they can type `! <command>` in the prompt). Do not run it for them.
5. Output format: if `recommended format` is `md` and `course.md` exists, ask whether to set `format: md`
   (works with no LaTeX; every command then writes Markdown). If yes, edit the front matter. If the user later
   installs TeX, they can switch back to `format: pdf`.
6. Finish with one line: ready / ready in Markdown mode / blocked on <item>.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.