# AI Tools Doctor Skill

Skill for checking and syncing AI coding tool versions.

## Purpose

Enables agents to:
- Report tool version status to users
- Detect version mismatches
- Trigger npm tool sync when needed

## Quick Start

```bash
# Check all tools
ai-tools-doctor check

# JSON output for parsing
ai-tools-doctor check --json

# Sync npm tools to pinned versions
ai-tools-doctor sync
```

## Files

- `SKILL.md` - Agent instructions (loaded by Claude Code/OpenCode)
- `README.md` - Human documentation (this file)

## Prerequisites

- `ai-tools-doctor` CLI (from dotfiles `bin/`)
- `jq` for JSON parsing
- `npm` for syncing npm tools

## Manifest

Tools are declared in `~/.config/ai-tools/tools.json`:

```json
{
  "tools": {
    "claude-code": {
      "source": "npm",
      "package": "@anthropic-ai/claude-code",
      "version": "2.0.55",
      "install_dir": "~/.local/share/claude-code",
      "binary": "claude"
    }
  }
}
```
