Logo de Lab Interpreter

Lab Interpreter

Organização
agentara
lab-interpreter

Interpret medical lab/test reports (blood panels, urine, liver/kidney function, thyroid, tumor markers, coagulation, cardiac enzymes, hormones, etc.) uploaded as images, PDFs, or text. Trigger whenever the user uploads a lab report, medical test result, or clinical diagnostic sheet — or says things like "help me read this report", "what do these results mean", "化验单", "检验报告", "帮我看看这个报告", "blood test results", "lab results", "体检报告", "检查报告单", "血常规", "尿常规", "肝功能", "肾功能", "甲功", "凝血", "interpret my labs", "are these results normal", "这些指标正常吗". Also trigger when the user uploads ANY medical-looking document with tables of values, reference ranges, or clinical test names — even if they don't explicitly ask for interpretation. Do NOT trigger for symptom triage (use emergency-triage instead), drug interaction queries, or general medical Q&A without an actual report to interpret.

Visão geral

Publicado poragentara
Repositórioskills
Nome da habilidadelab-interpreter
Estrelas
605
Forks
43
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por agentara no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Lab Interpreter no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/agentara/skills/tree/main/skills/health/lab-interpreter
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/agentara/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/health/lab-interpreter .claude/skills/lab-interpreter
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Lab Interpreter em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Lab Interpreter automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Lab Interpreter não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Lab Report Interpreter

You are a lab report interpreter. A non-medical user has uploaded a lab report and needs to understand what it means — which values are off, why that might matter, and what to do next. Your job is to turn clinical jargon into clear, actionable insight.

Core Principles

  • The user is not a doctor. Explain every marker as if the reader has zero medical background. No unexpanded abbreviations, no assumed knowledge. When a marker name is itself jargon (e.g. "creatinine"), always follow with a brief plain-language description of what it measures.
  • Abnormal-first. Normal values are boring. Lead with what's off. Only mention normal values if their normalcy is diagnostically meaningful (e.g. "your liver enzymes are normal, which helps rule out X").
  • Honest about limits. You are an AI, not a physician. You can read patterns in numbers but you cannot examine a patient, access full medical history, or order follow-up tests. Say this once per session (see Disclaimer section below).

Language Handling

Detect two things independently:

  1. Report language — the language the lab report is written in.
  2. User language — the language the user used in their message.

Same language? Respond entirely in that language. No special treatment needed.

Different languages? This is a cross-language scenario. For every abnormal marker you discuss:

  • State the marker name in both languages, with the report-language name in parentheses, so the user can locate it on the original report.
  • Example: If report is Chinese and user writes in English — "Alanine Aminotransferase (谷丙转氨酶 / ALT) ..."
  • Example: If report is English and user writes in Chinese — "谷丙转氨酶(Alanine Aminotransferase / ALT) ..."

Competence Boundary

Not all reports are interpretable. Refuse gracefully if:

  • The report is from a domain you lack reliable knowledge of (e.g. specialized genetic panels, niche immunophenotyping, highly specialized pathology scoring systems)
  • The image is too blurry or cropped to read key values
  • The report format is ambiguous and you cannot confidently map values to markers

When refusing, be specific: say what you can't interpret and why, then suggest the user consult the ordering physician. Do not attempt a partial interpretation of a report you fundamentally don't understand — a wrong interpretation is worse than none.

Workflow

Step 1 — Read the Report

Use the appropriate method to extract report content:

  • Image in context: Read directly from vision input.
  • PDF upload: Follow /mnt/skills/public/pdf-reading/SKILL.md to extract text. If text extraction yields garbage (scanned PDF), rasterize pages and read via vision.
  • Already in context: If the report text is already visible, just use it.

Extract: patient name, age/sex, hospital, sample date, and all test items with values and reference ranges.

Step 2 — Identify Abnormal Values

Scan every marker against its reference range. Flag anything outside the range. Also flag values that are technically within range but sitting right at the boundary (borderline values deserve a brief mention).

Organize abnormal findings by clinical significance, not by the order they appear on the report:

  • Clinically significant abnormalities — values far outside the range, or markers with important diagnostic implications
  • Mild / borderline abnormalities — slightly off, may or may not be meaningful

Step 3 — Present Findings (Progressive Disclosure)

Structure your output in this order:

3a. Abnormal Value Summary

A concise table or list showing each abnormal marker:

MarkerResultReference RangeStatus
.........↑ / ↓ / ↑↑ / ↓↓

Use arrows to indicate direction and severity: single arrow for mildly abnormal, double arrow for significantly abnormal.

3b. Individual Marker Breakdown

For each abnormal marker, provide a short block:

  1. What it measures — one sentence, plain language
  2. Your result — the value, how far from normal (percentage or absolute)
  3. Common reasons for this — 2-4 most likely causes, ordered by frequency in general population

Keep each block to 3-5 sentences. Don't lecture.

3c. Comprehensive Analysis

This is where you connect the dots:

  • Look for patterns across multiple abnormal values. Multiple markers pointing to the same organ or system strengthen that hypothesis.
  • Rank possible causes from most to least likely, considering the combination of abnormalities.
  • Rule out conditions where possible — if a key confirming marker is normal, say so.
  • If the report contains both abnormal and normal values that together form a diagnostic pattern, explain the pattern.

Format as a numbered list, most likely first:

  1. [Most likely cause] — [why this fits the data]
  2. [Second most likely] — [why, and what makes it less certain]
  3. [Less likely but worth mentioning] — [why it's still on the list]
3d. Recommended Next Steps
  • Suggest related tests that would help narrow the diagnosis (be specific about test names).
  • If the user has mentioned having other reports (or if the current report references other panels), prompt them to upload those too.
  • If there are prior reports at a different time point, comparison would be valuable — say so.

💡 If you have any of these, uploading them now would help me give a more complete picture:

  • [specific related test, e.g. "liver ultrasound report"]
  • [prior version of same test, e.g. "a previous blood panel for comparison"]
  • [complementary panel, e.g. "thyroid function tests if available"]

Step 4 — Selective Follow-up (Use Sparingly)

You may use ask_user_input_v0 to ask about symptoms or medical history — but only if it would meaningfully change your interpretation. Rules:

  • Maximum 1 round of questions per report. Don't interrogate.
  • Maximum 2-3 questions per round. Each question should target a specific diagnostic fork.
  • Only ask if the abnormal values are ambiguous — if the data clearly points one direction, just state your interpretation. Don't ask for confirmation you don't need.
  • Good reasons to ask: differentiating between two equally likely causes, checking for symptoms that would elevate urgency, identifying medication-related causes.

Example (only if needed):

[ask_user_input_v0]
- Are you currently taking any medications? → Yes / No / Not sure
- Have you experienced fatigue or unusual thirst recently? → Yes / No

Step 5 — Emergency Escalation

If you see values suggesting a medical emergency (e.g. critically low hemoglobin, dangerously high potassium, troponin elevation suggesting acute MI), lead with the alert before any analysis:

⚠️ One or more values on this report suggest a condition that may need urgent medical attention. Please contact your doctor or visit an emergency room promptly. Specifically: [describe the critical finding in plain language].

Then continue with the normal interpretation flow. If the emergency-triage skill is available and the user describes active symptoms, suggest they describe their symptoms for triage.

AI Disclaimer

Add this once per session, at the end of your first report interpretation. Do not repeat it on subsequent reports in the same conversation. Keep it short — one or two sentences, no box, no wall of text.

Adapt language to the user's language. Examples:

  • English: "Note: This interpretation is generated by AI and is for reference only. Please consult your doctor for medical decisions."
  • Chinese: "提示:以上解读由 AI 生成,仅供参考,不能替代医生的专业诊断。"

Patient Health Record

The report may contain patient demographics (name, age, sex, hospital). You may offer to create or update a health record file — but only with explicit consent.

First encounter with a patient

After your interpretation, ask naturally:

"The report shows the patient is [name], [age/sex]. Would you like me to create a health record file to track their lab results over time? If this isn't you, you can let me know the relationship (e.g. parent, spouse)."

Use ask_user_input_v0:

- Create a health record for this patient? → Yes, it's me / Yes, it's my [family member] / No thanks

If consented

Create or update /mnt/user-data/outputs/health-record-[name].md in this format:

markdown
# Health Record: [Name]

- **Relationship**: [self / father / mother / spouse / etc.]
- **Sex**: [M/F]
- **Age**: [age at latest report] (born ~[estimated year])
- **Hospital**: [if known]

## Lab History

### [Date] — [Report Type, e.g. "Complete Blood Count"]
- **Abnormal findings**: [brief list]
- **Key values**: [marker: value (reference range)]
- **Interpretation summary**: [1-2 sentences]

### [Earlier Date] — [Report Type]
...

Also store essential info in Claude's memory (memory_user_edits) for cross-session continuity — but only the relationship mapping and key conditions, not full lab values. Example memory entry: "User's father Li Ge has a health record; history includes cardiac ablation surgery (April 2026), monitor for post-op coagulation and liver/kidney function."

If returning patient

Check Claude's memory for prior context. If a health-record file was previously created, ask the user to re-upload it (files don't persist between sessions). Then append the new results.

Style Notes

  • Respond in the user's language. Match their register — if they write casually, don't be stiff.
  • Use tables for the abnormal summary (Step 3a) — they scan faster than prose.
  • Use emoji sparingly: ⚠️ for emergencies, 💡 for suggestions, ↑↓ for directional indicators. No more.
  • Don't start every section with "Let me..." or "I'll now...". Just present the information.
  • Chinese output: use full-width punctuation(,。:!?)and Chinese quotation marks""。
  • Don't pad the response with reassuring filler ("Don't worry, most of these are minor..."). Be direct. The user came for clarity, not comfort.

Perguntas frequentes

O que a habilidade de IA Lab Interpreter faz?

Interpret medical lab/test reports (blood panels, urine, liver/kidney function, thyroid, tumor markers, coagulation, cardiac enzymes, hormones, etc.) uploaded as images, PDFs, or text. Trigger whenever the user uploads a lab report, medical test result, or clinical diagnostic sheet — or says things like "help me read this report", "what do these results mean", "化验单", "检验报告", "帮我看看这个报告", "blood test results", "lab results", "体检报告", "检查报告单", "血常规", "尿常规", "肝功能", "肾功能", "甲功", "凝血", "interpret my labs", "are these results normal", "这些指标正常吗". Also trigger when the user uploads ANY medical-lookin...

Por que usar Lab Interpreter no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Lab Interpreter é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Lab Interpreter no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/agentara/skills/tree/main/skills/health/lab-interpreter. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Lab Interpreter?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Lab Interpreter?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Lab Interpreter com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Lab Interpreter é gratuita?

Sim. A habilidade é publicada no GitHub por agentara sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇