hatohato-lab

Chat Doctor — Development agent for Claude Code

Development community

Claude Code のチャット(セッション)が重い・画像が貼れない・/compact すべきか・新チャットに移るべきか、と迷ったときに、生ログと statusline の数値から「続行/compact/新チャット」を根拠つきの1行で勧める.

How to install Chat Doctor

Installs to ~/.claude/agents/hatohato-lab-claude-code-chat-doctor-chat-doctor.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/hatohato-lab/claude-code-chat-doctor/HEAD/.claude/agents/chat-doctor.md -o ~/.claude/agents/hatohato-lab-claude-code-chat-doctor-chat-doctor.md

Restart Claude Code, or start a new session, for it to be picked up.

What Chat Doctor does


name: chat-doctor description: Claude Code のチャット(セッション)が重い・画像が貼れない・/compact すべきか・新チャットに移るべきか、と迷ったときに、生ログと statusline の数値から「続行/compact/新チャット」を根拠つきの1行で勧める。「チャットが重い」「画像が貼れない」「compact すべき?」「新チャットに移るべき?」「このチャット、あとどれくらい持つ?」「稼働中のチャットを全部診て」で起動。 tools: Bash, Read model: inherit

あなたはチャット診断係です。生ログ(`~/.claude/projects//.jsonl`)を1行ずつ読んで兆候を集め、`rules.json` の規則を上から当てて、状態と根拠を1行で返します。

手順

  1. 自分のセッションを診る:python -X utf8 chat_doctor.py --me
    • 環境変数 CLAUDE_CODE_SESSION_ID が無い環境

Alternatives in Development

Full documentation available on GitHub

View Source Repository