doctor

doctor is a command for Claude Code from Galbaz1/video-research-mcp. It costs 14 tokens per session (762 once invoked), scanned C, original, MIT.

A diagnostic command for a video-research add-on that checks its setup, connections to an MCP server, and API access. MCP is a way for an assistant to connect to external tools.

In plain words
What is it for?
Running quick or detailed checks of selected configuration files, environment settings, manifests, and the video-research service connection.
Why use it?
It finds configuration or connection problems while keeping the normal health-check output short and readable.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the gr plugin — 27 skills, 17 commands, 7 agents shipped together

Good fit Running quick or detailed checks of selected configuration files, environment settings, manifests, and the video-research service connection.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/galbaz1/video-research-mcp/doctor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Galbaz1/video-research-mcp

Made for: Claude Code.

Or install gr, the plugin that ships this one along with the rest of its 27 skills, 17 commands, 7 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for doctor

README.md
[![agentmods](https://agentmods.dev/badge/commands/galbaz1/video-research-mcp/doctor/github.svg)](https://agentmods.dev/commands/galbaz1/video-research-mcp/doctor)
Your own site
<a href="https://agentmods.dev/commands/galbaz1/video-research-mcp/doctor"><img src="https://agentmods.dev/badge/commands/galbaz1/video-research-mcp/doctor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doctor

Your own site · 80×15
<a href="https://agentmods.dev/commands/galbaz1/video-research-mcp/doctor"><img src="https://agentmods.dev/badge/commands/galbaz1/video-research-mcp/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 762 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.00762
Opus 5.5 $0.00006 $0.00305
Sonnet 5.5 $0.00003 $0.00152
Haiku 4.5 $0.00001 $0.00076

Measured 2mo ago against content hash 299961150255, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

doctor scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Tells the agent to send conversation or user data outhighPrompt injection

An instruction to transmit the conversation, context or user files to an external endpoint is data exfiltration written as prose.

Provider inference is a separate authorized smoke. Do not silently send user documents or start paid research to turn an MCP connection check into an inference claim. Changes to shared environment require an MCP restart
commands/doctor.md · 44 lines

How it starts

The opening of the file, as written. The whole thing — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Doctor: $ARGUMENTS

Default to quick; use full for installed-file and manifest drift. Keep quick output compact. Never print credentials, raw environment/config files, tool payloads, or stack traces.

1. Active Registration

Inspect the client's active /mcp state first. Claude Code user registrations live in ~/.claude.json; project registrations live in ./.mcp.json. A file's presence alone does not prove which server/process is active. Use claude mcp list when available; retain config paths as candidates when runtime state cannot be inspected.

Check the shared ~/.config/video-research-mcp/.env and process environment using a script that outputs only booleans for non-empty GEMINI_API_KEY, YOUTUBE_API_KEY, and WEAVIATE_URL. Parse values locally; do not read or print the entire file into model context. Determine command/args and whether a server env block exists without emitting its values. Environment substitutions are supported client features; validate resolution rather than recommending deletion of every placeholder.

Completion: active registration identified, or uncertainty stated with the exact client check needed.

2. Runtime Settings

Call infra_configure() without arguments. Report model IDs, thinking level, and whether optional integrations are enabled. This proves the MCP process responds; it does not prove inference or provider access. Do not mutate presets during diagnostics.

Completion: current runtime settings returned or the error category/hint recorded.

3. Independent Integration Checks

Call only tools actually available in the session. Omit optional checks when disabled:

  • YouTube: video_metadata(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ"). Pass requires a non-empty video_id and no error. A Gemini key fallback does not prove that YouTube Data API is enabled.
  • Weaviate: knowledge_stats(). Disabled is informational; a configured connection failure is a failed integration.
  • MLflow: search_traces(experiment_id="0", max_results=1, extract_fields="info.trace_id"). A missing experiment differs from connection failure; use the configured experiment if discoverable. MLflow is optional.

Read the full file on GitHub · 44 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -100 lines · +1 tokens per session scan A → C 299961150255
  2. 3mo ago First seen · 144 lines · 13 tokens per session scan A 1e7d9ea0c4e8

Subscribe to this mod's changes

doctor is a command published in the GitHub repository Galbaz1/video-research-mcp (23 stars, last pushed 10d ago), licensed MIT. It adds 14 tokens to every session and 762 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent to send conversation or user data out). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

doctor compared with commands from other repositories

doctor next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doctorGalbaz1/video-research-mcpCommand2310d agoMITC14Claude Code
eg-fix-bugvshvedov/elephant-goldfishCommand10427d agoMITA23Claude Code
umt-doctorMarkgatcha/universal-mcp-toolkitCommand1624d agoMITA16Claude Code
safe-decompilesalingnh/android-reverse-engineering-mcpCommand42mo agoApache-2.0A16Claude Code
mosaic-agent-shaderMosaicXR-AI/mosaic-bridgeCommand1218d agononeA21Claude Code
latent-fixphuongrealmax/code-guardianCommand911mo agononeA0Claude Code
setup-video-visionjordanrendric/claude-video-visionCommand1.5k1mo agoMITA20Claude Code