agentleFS
spandan11106spandan11106/tminus/skills/doctor/SKILL.md

doctor

Skill3 starsChanged 11 days agoMITView on GitHub

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.

96 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use uninstall, cancel and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    uninstall

    Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.

    Also in 6 projects that use this

  • woosikkimSkill

    cancel

    Clear any stale OMC-Slim state

    Also in 4 projects that use this

  • ibahgatSkill

    hud

    Control omi visual HUD profile and keep status output readable in normal, compact, or hidden mode.

    Also in 3 projects that use this

  • ibahgatSkill

    ralplan

    Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.

    Also in 3 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 3 projects that use this

  • Arman-KudaibergenovSkill

    inspect

    Этот скилл MUST быть вызван для анализа и инспекции любого объекта 1С из XML-выгрузки: конфигурация (cf-info), объект метаданных (meta-info), управляемая форма (form-info), схема компоновки данных СКД (skd-info), макет табличного документа MXL (mxl-info), подсистема (subsystem-info), роль и права (role-info). SHOULD вызывать как подготовительный шаг перед любой модификацией объекта. Do NOT использовать для модификации — для изменений используй соответствующие edit/compile скиллы.

    Also in 4 projects that use this

  • +1 more from ibahgat

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 0 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 72 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run the tminus preflight and help the user fix gaps.

    line 11
  2. Very specific:

    Run, from that folder if there is one: ${CLAUDE_PLUGIN_ROOT}/scripts/tm preflight --cache-dir .tminus (without a course folder, drop …

    line 15
  3. Very specific:

    If the arguments contain --install, or Python packages are reported missing:

    line 20
  4. Very specific:

    Run ${CLAUDE_PLUGIN_ROOT}/scripts/tm preflight --install (dry run) and show what it will do.

    line 21
  5. Very specific:

    Ask the user once to confirm.

    line 22

“Common” is measured: kept by at least 6 in 10 of the 72 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/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>.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.