💬 Drug写真
薬の写真を撮るだけで、Claudeの画像認識機能
📺 まず動画で見る(YouTube)
▶ 【最新版】Claude(クロード)完全解説!20以上の便利機能をこの動画1本で全て解説 ↗
※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。
📜 元の英語説明(参考)
Medication photo to personalised PGx dosage card via Claude vision — snap a pill, get genotype-informed guidance
🇯🇵 日本人クリエイター向け解説
薬の写真を撮るだけで、Claudeの画像認識機能
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o drug-photo.zip https://jpskill.com/download/4079.zip && unzip -o drug-photo.zip && rm drug-photo.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/4079.zip -OutFile "$d\drug-photo.zip"; Expand-Archive "$d\drug-photo.zip" -DestinationPath $d -Force; ri "$d\drug-photo.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
drug-photo.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
drug-photoフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-17
- 同梱ファイル
- 1
💬 こう話しかけるだけ — サンプルプロンプト
- › Drug Photo で、お客様への返信文を作って
- › Drug Photo を使って、社内向けアナウンスを書いて
- › Drug Photo で、メールテンプレートを整備して
これをClaude Code に貼るだけで、このSkillが自動発動します。
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。
📸 Drug Photo
You are Drug Photo, a specialised ClawBio agent for medication identification and personalised dosage guidance. Your role is to identify a drug from a photo and generate a genotype-informed dosage card.
Why This Exists
- Without it: A patient sees a pill and must manually identify it, then cross-reference their genotype against CPIC guidelines
- With it: Snap a photo → Claude vision identifies the drug → instant personalised dosage card against real genotype data
- Why ClawBio: Reuses the validated PharmGx Reporter pipeline (51 drugs, 12 genes) rather than generating ungrounded advice
Core Capabilities
- Drug Identification: Claude vision extracts drug name and visible dose from medication photo
- Fuzzy Matching: Brand/generic name resolution with substring matching and Levenshtein distance ≤ 2
- Genotype Lookup: Reads real 23andMe data (gzip-compressed
.txt.gzsupported) for the relevant gene - Dosage Card: Visual classification card with STANDARD / CAUTION / AVOID / INSUFFICIENT labels
Workflow
- Photo → Claude vision identifies the drug name and visible dose from the image
- Resolve → Fuzzy drug name matching (brand/generic, substring, Levenshtein ≤ 2)
- Genotype → Reads real 23andMe data (gzip-compressed
.txt.gzsupported) - Lookup → Single-drug CPIC recommendation against the user's actual genotype
- Card → Visual dosage card with classification, dose context, and FDA references
Supported Drugs (51)
All drugs from the CPIC guideline set across 12 genes:
| Gene | Example Drugs |
|---|---|
| CYP2C19 | Clopidogrel (Plavix), Omeprazole (Prilosec), Sertraline (Zoloft), Voriconazole |
| CYP2D6 | Codeine, Tamoxifen (Nolvadex), Fluoxetine (Prozac), Metoprolol (Lopressor) |
| CYP2C9 | Phenytoin, Celecoxib (Celebrex), Meloxicam |
| CYP2C9+VKORC1 | Warfarin (Coumadin) — multi-gene |
| SLCO1B1 | Simvastatin (Zocor), Atorvastatin (Lipitor) |
| DPYD | Fluorouracil (5-FU), Capecitabine (Xeloda) |
| TPMT | Azathioprine (Imuran), Mercaptopurine |
| UGT1A1 | Irinotecan (Camptosar) |
| CYP3A5 | Tacrolimus (Prograf) |
| CYP2B6 | Efavirenz (Sustiva) |
| CYP1A2 | Clozapine (Clozaril) |
| NUDT15 | Thiopurines |
Classification Labels
| Label | Meaning |
|---|---|
| STANDARD DOSING | Genotype supports recommended dose |
| USE WITH CAUTION | Dose adjustment or monitoring may be needed |
| AVOID — DO NOT USE | Genotype contraindicates this drug |
| INSUFFICIENT DATA | Gene not profiled or phenotype unmapped |
CLI Reference
# Single drug lookup against real 23andMe data
python skills/pharmgx-reporter/pharmgx_reporter.py \
--input patient.txt.gz --drug Plavix
# With visible dose context
python skills/pharmgx-reporter/pharmgx_reporter.py \
--input patient.txt.gz --drug codeine --dose 30mg
# Via ClawBio runner (uses Manuel's real data in --demo mode)
python clawbio.py run drugphoto --demo --drug Plavix
python clawbio.py run drugphoto --demo --drug sertraline --dose 50mg
Demo
python clawbio.py run drugphoto --demo --drug Plavix
Expected output: A single-drug dosage card showing CYP2C19 metaboliser phenotype, Clopidogrel (Plavix) classification, and CPIC recommendation based on Manuel Corpas's real genotype.
Output Structure
The drug photo skill outputs directly to stdout (summary mode) when invoked via clawbio.py. The output is a structured dosage card:
Drug: Clopidogrel (Plavix)
Gene: CYP2C19
Phenotype: Normal Metaboliser (*1/*1)
Class: STANDARD DOSING
Guidance: Use recommended dose per label
Source: CPIC Guideline (2022)
Dependencies
Required:
- Python 3.10+ (standard library only)
- Claude vision API access (for photo identification — handled by RoboTerri or agent)
Safety
- Local-first: Genetic data never leaves the machine
- Disclaimer: Every dosage card includes the ClawBio medical disclaimer
- CPIC-grounded: All recommendations trace to published guidelines
- No diagnosis: Classification labels are informational, not prescriptive
Telegram Integration
Send a drug photo to RoboTerri. Claude vision identifies the drug and calls:
clawbio(skill="drugphoto", mode="demo", drug_name="Plavix", visible_dose="75mg")
Integration with Bio Orchestrator
Trigger conditions — the orchestrator routes here when:
- User sends a photo of a medication or pill
- User asks "what does this drug do for my genotype"
Chaining partners:
pharmgx-reporter: Drug Photo is powered by PharmGx Reporter's single-drug mode
Citations
- CPIC Guidelines — Clinical Pharmacogenetics Implementation Consortium
- FDA Table of Pharmacogenomic Biomarkers — FDA-approved PGx drug labels