Skip to content
Back to skills

Doctor

ASecurity

Checks and repairs the TARS install and workspace. Use when the user says "check TARS install", "diagnose TARS", "TARS setup is not working", "local TARS helper", "/doctor".

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentspythongosql

Works with

  • mcp

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add ajayjohn/tars-work-assistant --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/ajayjohn-doctor/badge)](https://www.skillsdirectory.com/skills/ajayjohn-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: 'Checks and repairs the TARS install and workspace. Use when the user says "check TARS install", "diagnose TARS", "TARS setup is not working", "local TARS helper", "/doctor".'
user-invocable: true
triggers:
  - "/doctor"
  - "check TARS install"
  - "diagnose TARS"
  - "TARS setup is not working"
  - "local TARS helper"
help:
  purpose: |-
    Run a nontechnical install check for the required local TARS helper, workspace path, write permission, and optional search enhancements.
  use_cases:
    - "Check whether TARS is installed correctly"
    - "Recover from a failed welcome setup"
    - "Confirm a moved workspace still works"
  scope: setup,diagnostics,recovery
---

# Doctor: check TARS install

<!-- tars:preflight -->
**Extension pre-flight (required).** Before this workflow reads sources, calls a provider, or briefs a subagent: call `mcp__tars_vault__resolve_extension` with the skill and mode, then read every id in `load` to the end with `mcp__tars_vault__read_extension` (page with `offset` until `complete` is true) and follow it. Resolve providers with `mcp__tars_vault__resolve_capability` and branch on `resolution` (`resolved`, `unresolved`, `ambiguous`). A subagent brief either includes the loaded extension instructions or states that the main agent makes all provider calls.
<!-- tars:preflight:end -->

Use when setup fails, TARS cannot write to the workspace, or the user asks
whether the install is healthy. The user is often nontechnical and mid-failure:
the first answer is short, plain and ends with what to do next. Technical
detail goes under `Details`, only when needed.

## Check and repair

Call `mcp__tars_vault__runtime_info(repair=true)`. Pass `vault` only when the
user named a folder; otherwise the helper uses the active workspace. Do not ask
before repairing: every repair is safe and reversible (restore a missing schema,
upgrade an older schema to the installed plugin's while keeping the workspace's
own additions, register the install pointer, move stray `.bak` files into `_system/backups/`,
re-index notes edited outside TARS, rename schema-key synonyms after a
snapshot). Report `repairs` in one short block.

| Result | Say |
|---|---|
| `required_runtime: "ok"` | the local TARS helper is connected |
| `required_runtime: "error"` | the recovery message below |
| `optional_search: "degraded"` | semantic search enhancements are unavailable; setup and keyword search still work |

Missing `fastembed` or `sqlite-vec` is never a setup blocker.

When the helper is connected and a workspace is known, summarise: the active
workspace path, whether `_system/install.yaml` exists, whether the workspace is
writable, and whether setup looks complete.

Two checks need one answer from the user, in the same turn:

- **`schema_keys` needs a decision.** Call `mcp__tars_vault__migrate_keys`
  (plan only) and show one table: type, key, notes, sample values, recommended
  action (keep adds the key to the schema; drop removes it, and the value stays
  in the snapshot and changelog). Ask once: "Apply these?" On yes, call
  `migrate_keys(apply=true, approved=true, accept_recommended=true,
  decisions={...any the user changed})`. Never leave the keys for lint to keep
  reporting.
- **`install_pointer` records another workspace.** Ask once which folder is the
  user's workspace; if it is this one, call
  `runtime_info(vault=<this folder>, register_install=true)`. TARS never
  switches the pointer without that answer, because the pointer decides where
  every later write lands.

## Missing local helper

When `runtime_info` is unavailable, never name raw tool names. Say:

```markdown
I can't safely finish TARS setup because the local TARS helper is not connected.

This helper creates and checks the workspace in the background. This is not an Obsidian, calendar, task, email, or chat issue. Those integrations are optional.

Try this:
1. Make sure the TARS plugin is enabled in Claude.
2. Restart Claude so the local helper starts.
3. Run `/doctor` again, or ask "check my TARS install."
4. When the check passes, run `/welcome`.

Details: TARS needs Python 3.10+ and the bundled `tars-vault` helper. It does not require the Python `mcp` package for first setup. Semantic search packages are optional and can be added later.
```

If the user is in a code checkout and asks for technical help, suggest
`python3 scripts/doctor.py --workspace "<path to your TARS workspace>"`.

## Closeout

- Check passed: "TARS is ready. If this is your first run, use `/welcome`, or
  just say "set up TARS.""
- Warnings only: setup can continue; name the feature that is degraded.

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.