Validate a package path or config path.
codex-plugin-doctor check .
codex-plugin-doctor check . --runtime
codex-plugin-doctor check . --json --output report.json
codex-plugin-doctor check --config ~/.codex/config.tomlShow a detailed explanation for a specific finding identifier.
codex-plugin-doctor explain plugin.manifest.missing_fieldList supported validation rules and severities.
codex-plugin-doctor rules| Flag | Purpose |
|---|---|
--runtime |
enable runtime probe checks |
--json |
emit machine-readable JSON |
--markdown |
emit Markdown summary |
--output <path> |
write report to file |
--config <path> |
validate from explicit config path |
--timeout <ms> |
override runtime probe timeout |
--strict |
fail on warnings as well as failures |
- missing manifest fields
- invalid paths
- missing referenced files
- missing
SKILL.md - low-quality descriptions
- broken asset and script references
- invalid command definition
- missing env vars
- suspicious hard-coded secrets
- startup crash
- timeout
- tool discovery failure
- malformed tool metadata
- context bloat
- verbose schemas
- overexposed tool surfaces
- secret leakage risk
- dangerous command patterns
- unsafe working directory patterns
{
"id": "mcp.runtime.tools_list_timeout",
"severity": "fail",
"category": "runtime",
"title": "Tool discovery timed out",
"message": "The MCP server started but did not return tools within the configured timeout.",
"impact": "Users may see the package install successfully but no usable tools will appear.",
"evidence": {
"timeoutMs": 8000,
"stderrPreview": "Starting server..."
},
"recommendedFix": "Reduce startup cost or raise the default readiness timeout."
}pass: no issue detectedwarn: issue is non-blocking but likely harmfulfail: issue should block release
Base score starts at 100.
- subtract
20per fail - subtract
7per warn - cap minimum score at
0
The score is a prioritization aid, not a compliance claim.
- keep titles short and specific
- explain user impact in plain language
- do not hide evidence
- recommend the next concrete fix