Agent skill · Audited from source
Pharmacovigilance Guide
skill · brycewang-stanford/Auto-Empirical-Research-SkillsNOASSERTION licenceAudited 8 Oct 2026 · source e1ba289846fd
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit e1ba289846fd and found no filesystem, network or shell access and no hard-coded secrets. What it does: Adverse drug event detection, safety signal mining, and drug monitoring
Cite
Cite this page
ModelsAtlas. “Pharmacovigilance Guide (brycewang-stanford/Auto-Empirical-Research-Skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/brycewang-stanford/pharmacovigilance-guide
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha e1ba289846fd · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherbrycewang-stanford GitHub userOwner of the repository this skill is read from
- Source folderbrycewang-stanford/Auto-Empirical-Research-Skills/skills/43-wentorai-research-plugins/skills/domains/pharma/pharmacovigilance-guideThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdicte1ba289846fdA new audit runs when the source changes
- Repository statusNot archivedLast push 3 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Adverse drug event detection, safety signal mining, and drug monitoring
---
name: pharmacovigilance-guide
description: "Adverse drug event detection, safety signal mining, and drug monitoring"
metadata:
openclaw:
emoji: "⚠️"
category: "domains"
subcategory: "pharma"
keywords: ["pharmacovigilance", "adverse-events", "drug-safety", "faers", "signal-detection", "disproportionality"]
source: "wentor"
---
# Pharmacovigilance Guide
A skill for computational pharmacovigilance research, covering adverse drug event (ADE) databases, signal detection algorithms, disproportionality analysis, and safety surveillance methods used in post-market drug monitoring.
## Adverse Event Data Sources
### Key Databases
| Database | Operator | Coverage | Access |
|----------|----------|----------|--------|
| FAERS (FDA Adverse Event Reporting System) | FDA | US spontaneous reports | Free quarterly downloads |
| EudraVigilance | EMA | European reports | Research access via application |
| VigiBase | WHO-UMC | Global (150+ countries) | Research license |
| VAERS | CDC/FDA | US vaccine adverse events | Free download |
| MAUDE | FDA | Medical device reports | Free download |
### Loading FAERS Data
```python
import pandas as pd
import zipfile
import os
def load_faers_quarter(data_dir: str, year: int, quarter: int) -> dict:
"""
Load FAERS quarterly data files into DataFrames.
Downloads available from: fis.fda.gov/extensions/FPD-QDE-FAERS/FPD-QDE-FAERS.html
Returns dict of DataFrames for each file type.
"""
prefix = f"faers_ascii_{year}Q{quarter}"
tables = {}
file_map = {
"DEMO": "demographics", # Patient demographics
"DRUG": "drugs", # Drug information
"REAC": "reactions", # Adverse reactions (MedDRA terms)
"OUTC": "outcomes", # Patient outcomes
"INDI": "indications", # Drug indications
"THER": "therapy", # Therapy dates
"RPSR": "report_sources", # Report source
}
for suffix, name in file_map.items():
filepath = os.path.join(data_dir, f"{suffix}{year}Q{quarter}.txt")
if os.path.exists(filepath):
tables[name] = pd.read_csv(
filepath, sep="$", encoding="latin-1",
low_memory=False, on_error="warn"
)
return tables
# Example: Load and inspect
faers = load_faers_quarter("./faers_data", 2024, 3)
print(f"Reports: {len(faers['demographics']):,}")
print(f"Drug-reaction pairs: {len(faers['reactions']):,}")
```
## Signal Detection Methods
### Disproportionality Analysis
Disproportionality measures compare the observed frequency of a drug-event pair against the expected frequency under independence:
```python
import numpy as np
from scipy.stats import chi2
def compute_disproportionality(a: int, b: int, c: int, d: int) -> dict:
"""
Compute disproportionality measures from a 2x2 contingency table:
Event+ Event-
Drug+ a b
Drug- c d
a: reports with both the drug and the event
b: reports with the drug but not the event
c: reports with the event but not the drug
d: reports with neither
"""
n = a + b + c + d
expected = (a + b) * (a + c) / n if n > 0 else 0
# Reporting Odds Ratio (ROR)
ror = (a * d) / (b * c) if b * c > 0 else float("inf")
ln_ror = np.log(ror) if ror > 0 and ror != float("inf") else 0
se_ln_ror = np.sqrt(1/a + 1/b + 1/c + 1/d) if min(a, b, c, d) > 0 else float("inf")
ror_lower = np.exp(ln_ror - 1.96 * se_ln_ror)
# Proportional Reporting Ratio (PRR)
prr = (a / (a + b)) / (c / (c + d)) if (a + b) > 0 and (c + d) > 0 else 0
# Information Component (IC, Bayesian shrinkage)
ic = np.log2((a + 0.5) / (expected + 0.5)) if expected > 0 else 0
# Chi-squared with Yates correction
chi2_val = (n * (abs(a * d - b * c) - n / 2) ** 2) / (
(a + b) * (c + d) * (a + c) * (b + d)
) if min(a + b, c + d, a + c, b + d) > 0 else 0
return {
"a": a, "b": b, "c": c, "d": d,
"expected": round(expected, 2),
"ROR": round(ror, 3),
"ROR_lower_95": round(ror_lower, 3),
"PRR": round(prr, 3),
"IC": round(ic, 3),
"chi2": round(chi2_val, 3),
"signal": ror_lower > 1 and a >= 3 and chi2_val > 3.84,
}
```
### Multi-Item Gamma Poisson Shrinker (MGPS)
The MGPS method (used by FDA) applies empirical Bayesian shrinkage to stabilize estimates for rare events:
```python
def empirical_bayes_geometric_mean(observed: np.ndarray,
expected: np.ndarray) -> np.ndarray:
"""
Simplified EBGM computation.
Shrinks observed/expected ratios toward the overall mean,
reducing false positives from small counts.
"""
# Raw ratio
rr = observed / np.maximum(expected, 0.01)
# Empirical Bayes shrinkage (simplified two-component mixture)
# Full implementation uses EM algorithm to fit mixture of gammas
global_mean = np.mean(rr)
shrinkage = expected / (expected + 1) # more shrinkage for small expected
ebgm = shrinkage * rr + (1 - shrinkage) * global_mean
return ebgm
```
## MedDRA Terminology
### Medical Dictionary for Regulatory Activities
MedDRA provides the standardized terminology for adverse event coding:
```
Hierarchy (5 levels):
System Organ Class (SOC) -- e.g., "Cardiac disorders"
High Level Group Term (HLGT) -- e.g., "Cardiac arrhythmias"
High Level Term (HLT) -- e.g., "Supraventricular tachyarrhythmias"
Preferred Term (PT) -- e.g., "Atrial fibrillation"
Lowest Level Term (LLT) -- e.g., "Auricular fibrillation"
```
### Standardized MedDRA Queries (SMQs)
Pre-defined search strategies for known safety topics:
- **Anaphylactic reaction (SMQ)**: Broad and narrow search terms
- **Drug-induced liver injury (SMQ)**: Hy's Law criteria
- **Torsade de pointes / QT prolongation (SMQ)**: Cardiac safety signals
- **Rhabdomyolysis (SMQ)**: Muscle-relatedExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit e1ba289
git clone https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills git -C Auto-Empirical-Research-Skills checkout e1ba289846fd
The author documents no install command, so this uses the repository directly. Our verdict covers commit e1ba289846fd only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
e1ba289846fd
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/brycewang-stanford/pharmacovigilance-guide/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
brycewang-stanford/Auto-Empirical-Research-Skills
GIS analysis and remote sensing workflows for geospatial research applications
brycewang-stanford/Auto-Empirical-Research-Skills
Run and manage Google Colab notebooks for Python and ML research
brycewang-stanford/Auto-Empirical-Research-Skills
Advanced Google Scholar search techniques for comprehensive literature discovery
brycewang-stanford/Auto-Empirical-Research-Skills
Ethical Google Scholar data collection techniques and best practices
brycewang-stanford/Auto-Empirical-Research-Skills
Autonomous agent for comprehensive deep research on any topic
brycewang-stanford/Auto-Empirical-Research-Skills
Practical advice for thriving in PhD programs and academic research
Add this badge to your README
[](https://modelsatlas.com/skills/brycewang-stanford/pharmacovigilance-guide/)
<a href="https://modelsatlas.com/skills/brycewang-stanford/pharmacovigilance-guide/"><img src="https://modelsatlas.com/skills/brycewang-stanford/pharmacovigilance-guide/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Pharmacovigilance Guide
What does the Pharmacovigilance Guide skill do?
Is Pharmacovigilance Guide safe to install?
What can Pharmacovigilance Guide access on my machine?
Which assistants does Pharmacovigilance Guide work with?
How current is this page?
Sources
- github.com/brycewang-stanford/Auto-Empirical-Research-Skills/tre — the audited source at commit e1ba289846fd and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Pharmacovigilance Guide skill do?
- Is Pharmacovigilance Guide safe to install?
- What can Pharmacovigilance Guide access on my machine?