# Pre Demo Doctor Check

> A diagnostic health check that validates agent API keys, tool-use round trips, and task completion before demos.

Pre Demo Doctor Check is a free AI agent skill on Agensi by Mohamed Mostafa Metawea, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Mohamed Mostafa Metawea](https://www.agensi.io/creators/mohamed-mostafa-metawea)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/pre-demo-doctor-check
- Tags: testing, llm-ops, ai-agents, debugging, api

## About this skill

Most demo failures trace back to a broken API key, a wrong model name or brittle tool-calling logic. This skill provides an end-to-end health check to verify your agent stack against live environments before high-stakes releases or investor calls. It moves beyond simple connectivity tests by validating the entire tool-use loop and task management pipeline.

### What it does
- **Connectivity verification** confirms API key validity and model name alignment by asserting specific plain-text responses.
- **Tool-use validation** executes a full round trip to ensure the model correctly invokes tool specs rather than just hallucinating support.
- **Search loop testing** verifies web-search tool integration and handles server-side pauses with resume logic.
- **End-to-end mini goals** runs a minimal real-world task to confirm the task manager creates and completes terminal statuses.
- **Severity reporting** categorizes failures into critical blockers and non-critical warnings with specific remediation steps.

### How it works
1. Trigger the check to run a four-step diagnostic sequence against your live agent API.
2. Review the status of the plain reply and tool-use checks to identify critical connectivity or logic breaks.
3. Analyze optional search and mini-goal outputs to verify non-critical pipeline features.
4. Follow the provided exit codes and WARN remedies to adjust environment variables or keys before deploying.

### Why this beats prompting it yourself
Manual testing is inconsistent and often skips the complex tool-call feedback loop. This skill enforces a code-verified sequence that asserts exact behavior, catching the subtle model failures that a simple "Hello" prompt misses. It ensures your "ready for demo" status is backed by a technical audit, not a guess.

### Use cases
- Verify production readiness five minutes before an investor demo or live call.
- Validate a new model provider or API key swap in the deployment environment.
- Debug tool-calling failures when switching between different LLM families.
- Confirm web search and task orchestration are functional after a CI/CD deploy.

### Known limitations
Does not evaluate output quality or reasoning depth for complex tasks. It only verifies that the pipeline and tool-calling infrastructure are functional at the moment of testing.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Pre Demo Doctor Check skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What specific components of my agent stack does this health check validate?

This skill performs a four-step diagnostic sequence including connectivity verification, a tool-use round trip, web search testing, and a mini-goal end-to-end check to catch failures like broken API keys or hallucinated tool support.

### What do I need to have ready before running this diagnostic?

You need your live agent API and relevant environment variables like API keys or model names, as the skill performs live tests against your actual providers rather than using mocks.

### What kind of feedback will I receive if a test fails?

The skill provides a severity report that categorizes failures into critical blockers or warnings, including specific exit codes and concrete remediation steps to fix your environment variables.

### Does this skill check the quality of my agent's creative writing or reasoning?

This skill focuses on infrastructure functionality and pipeline integrity; it does not evaluate the quality of the model's reasoning or the depth of its output for complex tasks.

### How do I tell my agent to start the health check?

You can prompt your agent to trigger the diagnostic sequence against your live API to verify production readiness or to debug tool-calling logic after switching model providers.

### Will running these tests consume a large amount of my API quota?

The check is designed to be inexpensive, typically requiring about four model calls with small token caps between 50 and 500 tokens to respect daily budget limits on free tiers.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
