Works with the AI Agents you already use

    Medtwin Research Demo

    by Mohammed Yessine Kraiem

    1

    This skill has your AI agent install and run MedTwin, an open-source research prototype, on your own computer.

    Free

    Security scanned
    Medtwin Research Demo

    Medtwin Research Demo

    Example session with this skill installed

    Run the MedTwin text demo using the synthetic phantom image and context notes provided in the repository. I have 32GB RAM and an NVIDIA GPU.

    • Read your context and instructions
    • Compiled the medtwin research demo
    • Generated the document

    Before starting: please confirm that all inputs are synthetic or fully de-identified. ✅ (You confirmed: synthetic demo inputs only.)

    1. Prerequisites

    CheckResult
    Python3.11 ✅
    gitfound ✅
    Free disk120 GB ✅
    RAM32 GB ✅
    NVIDIA GPUdetected ✅

    2. Install (with your approval)

    • Cloned MedTwin at tag v0.1.1 and verified the commit hash
    • Created a virtual environment and installed the dependencies
    • You accepted the MedGemma terms on Hugging Face and logged in yourself

    3. Local API

    Started on 127.0.0.1:8000 with a per-session token. Health check: healthy.

    4. Synthetic inputs

    Created SYNTHETIC_phantom.png, SYNTHETIC_context.txt and SYNTHETIC_dictation_en.txt.

    5. Draft report

    Research prototype, not a medical device. This draft was generated automatically by MedTwin from synthetic or de-identified inputs. It has not been clinically validated and must not be used for diagnosis, treatment, triage, or any decision about a real patient.

    Saved to ~/.medtwin-demo/report.html. Sections:

    • Findings: what the model describes in the image and notes
    • Impression: the model's summary
    • Measurements: any sizes it reports
    • Limitations: image quality or missing context

    Audio routing: transcript (text demo, speech recognition skipped).

    Next steps

    • Open the HTML report, or ask me to export it as DOCX
    • Try the audio demo with the bundled synthetic recording
    • When you're done, I can stop the server and clean up the runtime folder

    SYNTHETIC_phantom.png

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Try multimodal medical report generation without sending anything to the cloud. This skill has your AI agent install and run MedTwin, an open-source research prototype, on your own computer. It turns a clinical dictation (text or audio), optional medical images and context notes into a draft radiology-style report.

    What your agent does

    • Checks your machine: Python, git, disk space, RAM, GPU
    • Installs MedTwin at a pinned, verified release (it asks you first)
    • Starts a local API on 127.0.0.1 only, protected by a per-session token
    • Creates synthetic demo inputs (phantom image, invented notes and dictation), or uses your own synthetic or de-identified files
    • Generates the draft as HTML, JSON, text or DOCX, with a research-use disclaimer on every output
    • Cleans up when you're done

    Privacy

    • Everything runs on your machine; no patient data goes to any third-party service
    • Uploaded audio and transcripts are deleted after each request; nothing sensitive is logged
    • The optional WHO ICD-11 lookup is forced off

    Requirements

    • Python 3.10–3.12 and git
    • 16 GB RAM for the text demo (32 GB with audio), 15–30 GB free disk
    • A free Hugging Face account that has accepted Google's MedGemma (Health AI Developer Foundations) terms
    • FFmpeg and SoX for the audio demo; an NVIDIA GPU is optional but much faster

    ** Important** MedTwin is a research prototype, not a medical device. Use synthetic or de-identified data only. Outputs are drafts for research and demonstration and must never be used for diagnosis, treatment or any decision about a real patient.

    Research only. Not a medical device. Requires 16GB-30GB disk and 16GB-32GB RAM. Requires manual Hugging Face model access approval. Synthetic or de-identified data only.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 9 days ago

    • Free with an Agensi account

    Accounts
    GitHubHugging Face
    Software
    Python 3.10Git16 GB RAM (32 GB with audio)15–30 GB free diskFFmpegSoX (audio demo)NVIDIA GPU

    Use synthetic or de-identified data only. You accept the MedGemma terms on Hugging Face and log in yourself; the agent never handles your token. Research prototype, not a medical device.

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    Allowed Hosts

    api-inference.huggingface.co
    api.github.com
    pypi.org

    File Scopes

    ~/medtwin/**
    ~/.medtwin-demo/**

    Terminal: clone and install MedTwin, start its local API. Network: only for the one-time download of code (GitHub, PyPI) and model weights (Hugging Face and the official Whisper/PyTorch hosts). The bundled client only talks to 127.0.0.1. Files: the install folder, the ~/.medtwin-demo working folder and the model caches. Cleanup deletes only the runtime folder, after you confirm.

    Listed9 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the complex setup of the MedTwin multimodal pipeline, handling environment configuration, model weight management, and local API binding to ensure a privacy-first research environment without manual coding.

    The skill requires Python 3.10-3.12, Git, and FFmpeg; for performance, you will need 16GB-32GB of RAM and 15-30 GB of disk space to accommodate the MedGemma and Whisper model weights.

    Yes, the skill is designed for privacy-first execution by binding to localhost and disabling third-party API egress, ensuring all synthetic data processing stays on your local machine.

    The skill uses a 'pinned installation' method, meaning it clones and configures a specific, verified release of the MedTwin prototype to ensure consistent and reproducible research results.

    The skill supports synthetic medical images, audio dictations, and text-based context notes to generate draft reports in HTML, JSON, DOCX, or plain text formats.

    New in Research & Analysis

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.

    Free