Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

tooluniverse-pharmacovigilance工具宇宙药物警戒

Agent Skill

tooluniverse-pharmacovigilance 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,516

周安装

221

GitHub Stars

1,263

下载量

1,786
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tooluniverse-pharmacovigilance(工具宇宙药物警戒)
来源仓库:https://github.com/mims-harvard/tooluniverse
仓库路径:skills/tooluniverse-pharmacovigilance
安装命令:
npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-pharmacovigilance
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-pharmacovigilance

简介

tooluniverse-pharmacovigilance 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 它支持基于关键词、任务场景或来源线索进行信息匹配与过滤,适用于药物警戒类研究检索。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 了解具体调用方式。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 可配合宿主环境中的其他工具链使用,提升信息获取效率与准确性。

SKILL.md

COMPUTE, DON'T DESCRIBE

When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.

Pharmacovigilance Safety Analyzer

Systematic drug safety analysis using FAERS adverse event data, FDA labeling, PharmGKB pharmacogenomics, and clinical trial safety signals.

KEY PRINCIPLES:

  1. Report-first approach - Create report file FIRST, update progressively
  2. Signal quantification - Use disproportionality measures (PRR, ROR)
  3. Severity stratification - Prioritize serious/fatal events
  4. Multi-source triangulation - FAERS, labels, trials, literature
  5. Pharmacogenomic context - Include genetic risk factors
  6. Actionable output - Risk-benefit summary with recommendations
  7. English-first queries - Always use English drug names in tool calls

When to Use

Apply when user asks:

  • "What are the safety concerns for [drug]?"
  • "What adverse events are associated with [drug]?"
  • "Is [drug] safe? What are the risks?"
  • "Compare safety profiles of [drug A] vs [drug B]"
  • "Pharmacovigilance analysis for [drug]"

Clinical Reasoning Framework

Reasoning Strategy 1: On-Target vs Off-Target Thinking

Ask: is this adverse effect a predictable extension of the drug's mechanism (on-target), or something the mechanism doesn't explain (off-target)? On-target effects are dose-dependent and predictable. Off-target effects are often idiosyncratic and harder to predict.

How to apply this:

  1. Look up the drug's primary mechanism of action (use ChEMBL or DailyMed label)
  2. For each reported adverse event, ask: "Does this follow logically from what the drug does to its target?" If yes, it is on-target toxicity — expect dose-dependence and manage with dose reduction
  3. If the adverse event cannot be explained by the primary mechanism, consider off-target receptor binding or reactive metabolite formation. These require different management (drug discontinuation, not dose adjustment)
  4. Use KEGG pathway data to identify metabolic routes that could produce toxic intermediates

Reasoning Strategy 2: Timeline as Diagnostic Tool

When did the adverse event start relative to drug initiation? The timeline alone narrows the mechanism:

  • Hours = anaphylaxis, immediate hypersensitivity, or direct pharmacological overshoot
  • Days = serum sickness, cytotoxic reactions, cumulative pharmacological effects
  • 1-6 weeks = delayed hypersensitivity (SJS/TEN, DRESS), organ accumulation
  • Months = chronic toxicity, cumulative organ damage
  • Years = long-term cumulative effects

How to apply this: When reviewing FAERS case reports, always check the time_to_onset field. If the reported timeline is biologically implausible for the proposed mechanism, suspect confounding or misattribution. A reaction appearing years after drug start is unlikely to be immune-mediated but could be chronic accumulation.


Reasoning Strategy 3: Dose-Dependent vs Idiosyncratic Classification

This distinction determines monitoring strategy and management:

  • Dose-dependent (Type A): Predictable from pharmacology. Dose-response relationship exists. Can be managed by dose reduction. These are on-target toxicities pushed too far.
  • Idiosyncratic (Type B): Not predictable from pharmacology alone. No clear dose-response. Often immune-mediated or due to metabolic idiosyncrasy (e.g., genetic variation in drug metabolism). Drug must be stopped — dose reduction will not help.
  • Mixed: Some reactions are dose-dependent in most patients but become idiosyncratic in genetically susceptible individuals. When you see a "Type A" reaction occurring at unexpectedly low doses, suspect a pharmacogenomic contributor.

How to apply this: When evaluating a safety signal, classify it as Type A or B. This determines whether you recommend dose adjustment (Type A) or drug avoidance with potential pharmacogenomic screening (Type B).


Reasoning Strategy 4: The Naranjo Algorithm for Causality Classification

When investigating a suspected drug adverse event, the Naranjo algorithm asks: (1) Did the event appear after the drug was given? (2) Did it improve when the drug was stopped? (3) Did it reappear when restarted? (4) Could other causes explain it? Score each question to classify causality.

Reasoning Strategy 5: The Rechallenge Question

Did the event recur when the drug was restarted? Positive rechallenge is the strongest evidence for causation in an individual case. But rechallenge is often unethical for serious reactions, so absence of rechallenge data doesn't exonerate the drug.

How to apply this: When reviewing case narratives or FAERS reports, check for dechallenge (did the event resolve when the drug was stopped?) and rechallenge (did it recur on re-exposure?). A positive dechallenge + positive rechallenge is near-definitive. Negative dechallenge weakens the causal link considerably.


Reasoning Strategy 5: Disproportionality Reasoning

A signal in FAERS means the drug-event pair is REPORTED more than expected. It does not mean the drug CAUSES the event. Think about reporting biases:

  • Serious events get reported more than mild ones
  • New drugs get reported more than old ones (Weber effect)
  • Drugs prescribed to sick populations get events attributed to them that may reflect the underlying disease
  • Media attention or regulatory alerts create reporting spikes

How to apply this: Always ask — what is the base rate of this event in the untreated population? A high PRR for "cardiac arrest" in a drug used by ICU patients may reflect the patient population, not the drug. Cross-reference with clinical trial placebo-arm rates when available.


Reasoning Strategy 6: When to Use Tools vs Reason

Use FAERS/OpenFDA tools to QUANTIFY a signal you have already hypothesized based on mechanism. Do not mine FAERS without a hypothesis — you will find spurious associations.

The correct sequence:

  1. Reason about mechanism first (what adverse events are plausible given this drug's pharmacology?)
  2. Form specific hypotheses (e.g., "this drug may cause QT prolongation because it blocks hERG channels")
  3. Query tools to test each hypothesis (FAERS for reporting frequency, DailyMed for label warnings, PharmGKB for genetic risk factors)
  4. Interpret results in context (is the signal consistent with the mechanism? Is the timeline plausible? Are there confounders?)

Reasoning Strategy 7: Pharmacogenomic Risk Assessment

Rather than memorizing gene-drug pairs, apply this reasoning framework:

  1. Identify the drug's metabolic pathway (use KEGG or DailyMed label): Which CYP enzymes metabolize it? Is it a prodrug requiring activation?
  2. Assess the consequence of altered metabolism: For active drugs, poor metabolizers accumulate the drug (toxicity risk). For prodrugs, poor metabolizers fail to activate (efficacy failure). Ultra-rapid metabolizers show the opposite pattern.
  3. Check for immune-mediated risk: If the drug is associated with severe cutaneous reactions (SJS/TEN, DRESS) or hypersensitivity syndrome, query PharmGKB for HLA associations. These are population-specific.
  4. Use PharmGKB evidence levels to guide action: Level 1A/1B (guideline-based) = actionable now. Level 2A/2B = may inform. Level 3 = not clinically actionable yet.

Query PharmGKB_search_drug(query=...) and CPIC_list_guidelines to get current pharmacogenomic annotations rather than relying on memorized associations, which may be outdated.


Critical Workflow Requirements

Report-First Approach (MANDATORY)

  1. Create [DRUG]_safety_report.md FIRST with all section headers and [Researching...] placeholders
  2. Apply mechanistic reasoning first (on-target toxicity, time-to-onset, dose vs. idiosyncratic, PGx)
  3. Progressively update as data is gathered
  4. Output separate data files: [DRUG]_adverse_events.csv and [DRUG]_pharmacogenomics.csv

Citation Requirements (MANDATORY)

Every safety signal MUST include source tool, data period, PRR, case counts, and serious/fatal breakdown.


Tool Parameter Reference (CRITICAL)

ToolWRONG ParameterCORRECT Parameter
FAERS_count_reactions_by_drug_eventdrugdrug_name
FAERS_filter_serious_eventsAmerican spelling (e.g., "Hemorrhage")MedDRA British spelling (e.g., "Haemorrhage")
FAERS_stratify_by_demographicsRequiring adverse_eventadverse_event is optional (omit for all-event stratification)
DailyMed_search_splsnamedrug_name
PharmGKB_search_drugsdrugquery
OpenFDA_search_drug_eventsdrug_namesearch

Workflow Overview

Phase 0: Mechanistic Reasoning (BEFORE tools)
  On-target toxicity, time-to-onset, dose vs idiosyncratic, PGx risk

Phase 1: Drug Disambiguation
  -> Resolve drug name, get identifiers (ChEMBL, DrugBank)

Phase 2: Adverse Event Profiling (FAERS)
  -> Query FAERS, calculate PRR, stratify by seriousness

Phase 3: Label Warning Extraction
  -> DailyMed boxed warnings, contraindications, precautions

Phase 4: Pharmacogenomic Risk
  -> PharmGKB clinical annotations, high-risk genotypes

Phase 5: Clinical Trial Safety
  -> ClinicalTrials.gov Phase 3/4 safety data

Phase 5.5: Pathway & Mechanism Context
  -> KEGG drug metabolism, target pathway analysis

Phase 5.6: Literature Intelligence
  -> PubMed, BioRxiv/MedRxiv, OpenAlex citation analysis

Phase 6: Signal Prioritization
  -> Rank by PRR x severity x frequency

Phase 7: Report Synthesis

Phase 0: Mechanistic Reasoning (DO THIS BEFORE TOOLS)

  1. Identify drug class and primary mechanism (use DailyMed label or ChEMBL)
  2. Apply on-target vs off-target thinking (Strategy 1) to predict plausible adverse events
  3. Estimate expected time-to-onset for each predicted event (Strategy 2)
  4. Classify each as dose-dependent vs idiosyncratic (Strategy 3)
  5. Formulate specific, testable safety hypotheses to guide tool queries (Strategy 6)

Phase 1: Drug Disambiguation

  1. Search DailyMed via DailyMed_search_spls(drug_name=...) for NDC, SPL setid, generic name
  2. Search ChEMBL via ChEMBL_search_drugs(query=...) for molecule ID, max phase
  3. Document: generic name, brand names, drug class, mechanism, approval date

Phase 2: Adverse Event Profiling (FAERS)

  1. Query FAERS_count_reactions_by_drug_event(drug_name=..., limit=50) for top events
  2. For each event, get detailed breakdown (serious, fatal, hospitalization counts)
  3. Calculate PRR: (A/B) / (C/D) where A=drug+event, B=drug+any, C=event+any_other, D=total_other
  4. Apply signal thresholds: PRR > 2.0 (signal), > 3.0 (strong signal), case count >= 3

Severity classification:

  • Fatal (highest priority), Life-threatening, Hospitalization, Disability, Other serious, Non-serious

FAERS filter_serious_events -- MedDRA Spelling (CRITICAL)

FAERS_filter_serious_events uses MedDRA preferred terms which follow British English spelling conventions. Common examples:

Incorrect (American)Correct (MedDRA/British)
HEMORRHAGEHaemorrhage
ANEMIAAnaemia
EDEMAOedema
DIARRHEADiarrhoea
LEUKOPENIALeucopenia
ESOPHAGITISOesophagitis

The adverse_event parameter should use the exact MedDRA preferred term spelling. When in doubt, first query FAERS_count_reactions_by_drug_event to see the exact event names as they appear in the FAERS database, then use those exact strings.

Additional FAERS notes:

  • adverse_event is now correctly appended to the OpenFDA query in _filter_serious_events
  • FAERS_stratify_by_demographics: adverse_event is optional — when omitted, stratification covers all events for the drug. Sex codes: 0=Unknown, 1=Male, 2=Female

See SIGNAL_DETECTION.md for detailed disproportionality formulas and example output tables.

Phase 3: Label Warning Extraction

  1. Get label via DailyMed_get_spl_by_set_id(setid=...)
  2. Extract: boxed warnings, contraindications, warnings/precautions, drug interactions
  3. Categorize severity: Boxed Warning > Contraindication > Warning > Precaution

Phase 4: Pharmacogenomic Risk

  1. Search PharmGKB_search_drug(query=...) for clinical annotations
  2. Document actionable variants with evidence levels (1A/1B/2A/2B/3)
  3. Note CPIC/DPWG guideline status

PGx Evidence Levels:

LevelDescriptionAction
1ACPIC/DPWG guideline, implementableFollow guideline
1BCPIC/DPWG guideline, annotationConsider testing
2AVIP annotation, moderate evidenceMay inform
2BVIP annotation, weaker evidenceResearch
3Low-level annotationNot actionable

Phase 5: Clinical Trial Safety

  1. Search search_clinical_trials(intervention=..., phase="Phase 3", status="Completed")
  2. Extract serious AE rates, discontinuation rates, deaths
  3. Compare drug vs placebo rates

Phase 5.5: Pathway & Mechanism Context

  1. Query KEGG for drug metabolism pathways
  2. Analyze target pathways for mechanistic basis of AEs
  3. Document pathway-AE relationships

Phase 5.6: Literature Intelligence

  1. PubMed: PubMed_search_articles(query='"[drug]" AND (safety OR adverse OR toxicity)')
  2. BioRxiv/MedRxiv: Search for recent preprints (flag as not peer-reviewed)
  3. OpenAlex: Citation analysis for key safety papers

Phase 6: Signal Prioritization

Signal Score = PRR x Severity_Weight x log10(Case_Count + 1)

Severity weights: Fatal=10, Life-threatening=8, Hospitalization=5, Disability=5, Other serious=3, Non-serious=1

Categorize signals:

  • Critical (immediate attention): High PRR + fatal outcomes
  • Moderate (monitor): Moderate PRR + serious outcomes
  • Known/Expected (manage clinically): Low PRR, in label

Cross-check against mechanistic prediction: A signal not predicted mechanistically warrants additional scrutiny (possible confounding, reporting bias, or genuinely novel finding).


Output Report

Save as [DRUG]_safety_report.md. See REPORT_TEMPLATES.md for the full report structure and example outputs.


Evidence Grading

TierCriteriaExample
T1PRR >10, fatal outcomes, boxed warningLactic acidosis
T2PRR 3-10, serious outcomesHepatotoxicity
T3PRR 2-3, moderate concernHypoglycemia
T4PRR <2, known/expectedGI side effects

Fallback Chains

Primary ToolFallback 1Fallback 2
FAERS_count_reactions_by_drug_eventOpenFDA_search_drug_eventsLiterature search
DailyMed_search_splsOpenFDA_search_drug_labelsDailyMed website
PharmGKB_search_drugsCPIC_list_guidelinesLiterature search
search_clinical_trialsClinicalTrials.gov APIPubMed for trial results

Completeness Checklist

See CHECKLIST.md for the full phase-by-phase verification checklist.


References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.22%
按下载量换算683

Claude

30.42%
按下载量换算543

Cursor

20.26%
按下载量换算362

Gemini CLI

8.86%
按下载量换算158

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills