agent-doctor

Validate API credentials, MCP servers, SSH reachability, and tool readiness.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill agent-doctor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-doctor
Source: https://github.com/m2ai-portfolio/m2ai-skills-pack/tree/main/skills/agent-doctor
Command: npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill agent-doctor

SYSTEM DOCUMENTATION & REQUIREMENTS

Run a comprehensive health check on all connected services, API credentials, MCP servers, tools, and external dependencies. Validates that everything the agent needs is reachable and authenticated before the user hits a failure. Use as a startup diagnostic or on-demand when things feel broken.

What problem does it solve?

Quickly verify that all essential connections, credentials, and tooling are available and correctly configured, reducing surprise failures during operation.

Core Features & Use Cases

  • Dependency discovery & validation: checks keys, servers, and tool reachability.
  • Phase-based health checks: runs multi-phase assessment including API keys, MCP servers, SSH connectivity, and HTTP reachability.
  • Remediation guidance: provides actionable steps when issues are detected.

Quick Start

Run a startup health check to verify that all dependencies and credentials are reachable before starting an agent session.

Frequently Asked Questions about agent-doctor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate API credentials and MCP server availability before starting an agent?

Run a startup health check to validate API credentials and MCP server availability. This phase-based diagnostic assesses all external dependencies, ensuring tools and services are reachable and authenticated before operation begins.

What is an agent dependency health check and when do I need to run one?

An agent dependency health check identifies and validates external services, credentials, and tools needed for operation. Run it during startup or on-demand when the agent feels broken to catch misconfigurations and unreachable services.

Can I use this to diagnose SSH reachability and HTTP connection issues for my agent?

Yes, you can use this on-demand to diagnose SSH reachability and HTTP connection issues. The multi-phase assessment checks API keys, MCP servers, SSH connectivity, and HTTP reachability across your connected services.

Does the health check provide remediation guidance when expired credentials or misconfigurations are detected?

Yes, the health check provides actionable remediation guidance when expired credentials or misconfigurations are detected. It identifies the specific issue and offers steps to resolve problems with keys, servers, and tool reachability.

What's the best way to catch expired API credentials and unreachable MCP servers before they cause agent failures?

The best way to catch expired API credentials and unreachable MCP servers is running a comprehensive pre-operation health check. This validates that all essential connections, credentials, and tooling are correctly configured, reducing surprise failures.