doctor

doctor is a skill for Claude Code from KumarSashank/motiscope. It costs 57 tokens per session (763 once invoked), scanned B, original, MIT.

A setup checker for motiscope, the animation-recreation toolkit. It checks whether FFmpeg and FFprobe, programs used to read and process video, are installed and prepares optional configuration.

In plain words
What is it for?
Use it during first-time setup or when motiscope reports missing programs, dependency errors, or configuration issues.
Why use it?
It helps identify missing video-processing dependencies and configuration problems before an analysis fails.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

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 motiscope plugin — 8 skills, 1 agent, 1 hook shipped together

Good fit Use it during first-time setup or when motiscope reports missing programs, dependency errors, or configuration issues.

Compare 6 skills 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 KumarSashank/motiscope
Claude Code
/plugin install motiscope

Made for: Claude Code.

Or install motiscope, the plugin that ships this one along with the rest of its 8 skills, 1 agent, 1 hook.

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/skills/kumarsashank/motiscope/doctor/github.svg)](https://agentmods.dev/skills/kumarsashank/motiscope/doctor)
Your own site
<a href="https://agentmods.dev/skills/kumarsashank/motiscope/doctor"><img src="https://agentmods.dev/badge/skills/kumarsashank/motiscope/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/skills/kumarsashank/motiscope/doctor"><img src="https://agentmods.dev/badge/skills/kumarsashank/motiscope/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 763 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00057 $0.00763
Opus 5 $0.00028 $0.00381
Sonnet 5 $0.00011 $0.00153
Haiku 4.5 $0.00006 $0.00076

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

Security

Grade B, and why

doctor scanned grade B 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 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Linux:** `sudo apt-get install -y ffmpeg` (or `sudo dnf install ffmpeg`)
skills/doctor/SKILL.md · 70 lines

How it starts

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

motiscope: doctor

Verify dependencies and scaffold config. motiscope's pipeline is pure Python standard library, so the only hard dependencies are ffmpeg and ffprobe.

Resolve the scripts directory

SCRIPTS="${CLAUDE_PLUGIN_ROOT:-}/scripts"
[ -f "$SCRIPTS/mvsetup.py" ] || SCRIPTS="<absolute dir of this SKILL.md>/../../scripts"

(Windows: use python.)

Run status

python3 "$SCRIPTS/mvsetup.py" --json

The JSON reports status, missing_binaries, install_hint, platform, config_file, env_file, and per-provider key presence.

If ffmpeg/ffprobe are missing

Do not install silently. Ask the user for permission (AskUserQuestion), then run the platform command:

  • macOS (Homebrew): brew install ffmpeg
  • Linux: sudo apt-get install -y ffmpeg (or sudo dnf install ffmpeg)
  • Windows: winget install Gyan.FFmpeg (or choco install ffmpeg)

Re-run mvsetup.py --check afterward to confirm (exit 0 = ready).

Scaffold config

python3 "$SCRIPTS/mvsetup.py"

This creates, if absent:

  • ~/.config/motiscope/config.json — non-secret preferences (default_target, frame_budget, resolution, frame_format, image_provider, video_provider).
  • ~/.config/motiscope/.env (mode 0600) — optional API keys for asset generation, commented out by default.

API keys (optional)

Asset generation (creating an image an animation needs) is optional — no key is required for analysis or code recreation. Image generation is real for Gemini/Imagen; the other providers write a labeled placeholder until wired. To configure one, ask the user (AskUserQuestion) which provider, and write the key into ~/.config/motiscope/.env:

Purpose Providers (env var)
Image Gemini/Imagen (GEMINI_API_KEY) — implemented; OpenAI (OPENAI_API_KEY), Stability (STABILITY_API_KEY), Replicate (REPLICATE_API_TOKEN), fal (FAL_KEY)
Video Runway (RUNWAY_API_KEY), Replicate (REPLICATE_API_TOKEN), fal (FAL_KEY)

Read the full file on GitHub · 70 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 · 70 lines · 57 tokens per session scan B 1c9e2e0d16a0

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository KumarSashank/motiscope (113 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 763 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

talking-head-recut

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on…

heygen-com/hyperframes · 112 tokens

embedded-captions

A workflow for adding captions or subtitles to an existing single-person talking-head video without changing the footage. Captions can appear as ordinary subtitles, behind the speaker, or as stylized visual effects.

heygen-com/hyperframes · 120 tokens

faceless-explainer

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a…

heygen-com/hyperframes · 98 tokens

pr-to-video

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR…

heygen-com/hyperframes · 104 tokens

slideshow

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't…

heygen-com/hyperframes · 83 tokens

hyperframes-audio

Use when audio already placed in a HyperFrames composition needs to be mixed: fade-in/fade-out, crossfade, track gain or volume, volume automation, ducking, a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush)…

heygen-com/hyperframes · 165 tokens