doctor

doctor is a command for Claude Code from indranilbanerjee/digital-marketing-pro. It costs 57 tokens per session (738 once invoked), scanned A, original, MIT.

A readiness check that shows which campaign-audit and launch-campaign actions can run in the current setup and which require a connector or other configuration.

In plain words
What is it for?
Use it to inspect all actions, check one action or channel, view a summary, or receive machine-readable results.
Why use it?
It reveals setup gaps before you try an action and provides a short hint for resolving blocked items.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the digital-marketing-pro plugin — 154 skills, 18 commands, 24 agents shipped together

Good fit Use it to inspect all actions, check one action or channel, view a summary, or receive machine-readable results.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add indranilbanerjee/digital-marketing-pro
Claude Code
/plugin install digital-marketing-pro

Made for: Claude Code.

Or install digital-marketing-pro, the plugin that ships this one along with the rest of its 154 skills, 18 commands, 24 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/indranilbanerjee/digital-marketing-pro/doctor/github.svg)](https://agentmods.dev/commands/indranilbanerjee/digital-marketing-pro/doctor)
Your own site
<a href="https://agentmods.dev/commands/indranilbanerjee/digital-marketing-pro/doctor"><img src="https://agentmods.dev/badge/commands/indranilbanerjee/digital-marketing-pro/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/indranilbanerjee/digital-marketing-pro/doctor"><img src="https://agentmods.dev/badge/commands/indranilbanerjee/digital-marketing-pro/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 738 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00057 $0.00738
Opus 5 $0.00028 $0.00369
Sonnet 5 $0.00011 $0.00148
Haiku 4.5 $0.00006 $0.00074

Measured 12d ago against content hash 27fccf6317f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

doctor scanned grade A with 0 findings 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/doctor.md · 54 lines

How it starts

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

/digital-marketing-pro:doctor — Per-Action Readiness Check

Resolves every action in the campaign-audit and launch-campaign skill surfaces against the currently configured connectors and reports which mode each one is in:

Mode What it means
real Action runs end-to-end with no external API. Always available.
manifest_ready A matching connector is configured; the action returns the exact HTTP request manifest for the orchestrator (Claude via MCP) to execute.
stub_unconfigured No matching connector is configured; the action returns a structured stub plus a copy-paste setup hint.

Quick examples

/digital-marketing-pro:doctor                              # full readiness map for default brand
/digital-marketing-pro:doctor --brand acme                 # for a named brand
/digital-marketing-pro:doctor --action inventory --channel google_ads
/digital-marketing-pro:doctor --summary                    # one-line counts
/digital-marketing-pro:doctor --json                       # machine-readable

What it does NOT do

  • It does not execute write/launch actions. For that, run the action through the orchestrator (/digital-marketing-pro:launch-campaign) which respects approval gates.
  • It does not make any network call. It probes .mcp.json membership and env-var presence only — credentials are never read or echoed.

Output sections

  1. Summary line — count of actions in each of the three modes
  2. Per-action table — action name, mode, operation type, configured connector or list of candidate connectors
  3. Unlock guide — for any stub-unconfigured action, the exact next step
  4. Environment block — detected surface (claude-code-windows / claude-code-mac / claude-code-linux / cowork-sandbox)
  5. Model curator block — registry age + severity (ok <60d, warn 60-119d, urgent >=120d), with the exact refresh_models.py command when stale
  6. Cowork+Drive routing block — only meaningful in Cowork. Shows whether /digital-marketing-pro:cowork-setup has been run; flags urgent when Cowork is detected but routing is missing (brand state would vanish at session end)

Read the full file on GitHub · 54 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. 12d ago First seen · 54 lines · 57 tokens per session scan A 27fccf6317f7

Subscribe to this mod's changes

doctor is a command published in the GitHub repository indranilbanerjee/digital-marketing-pro (812 stars, last pushed 4d ago), licensed MIT. It adds 57 tokens to every session and 738 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.