Agent skill · Data & Analytics

phee-query

Query the PHEE pharmacovigilance event extraction dataset. Use whenever the user asks about annotated adverse drug events, pharmacovigilance case reports, drug–effect associations from medical literature, or wants to find PHEE examples mentioning a drug name, adverse effect, or condition.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill phee --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 6
SKILL.md size: 3 KB
Bundled scripts: yes
Path: skills/drugclaw/phee/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# PHEE Query Skill Search PHEE annotated pharmacovigilance events by drug name, adverse effect, or free text. Substring matching is case-insensitive across all event fields. | Input Pattern | Match Logic | |---|---| | drug name (e.g. `phenytoin`) | substring on `drug`, `treatment`, `combination_drug`, and `text` | | adverse effect (e.g. `hepatotoxicity`) | substring on `effect`, `treatment_disorder`, and `text` | | any other text | substring on all event fields and full sentence | ## API | Function | Input | Returns | |---|---|---| | `load_phee(data_dir)` | directory path | list[dict] (cached) | | `search(records, entity)` | single entity string | list[dict] | | `search_batch(records, entities)` | list of entity strings | dict[str, list[dict]] | | `summarize(hits, entity)` | hit list + label | compact text (sentence count, ADE/PTE counts, top drugs & effects) | | `to_json(hits)` | hit list | list[dict] | ## Record Schema Each record returned by `search`: ``` { "id": "8908396_3", "text": "A 52-year-old Black woman on phenytoin therapy ...", "split": "train", "events": [ { "event_type": "Adverse_event | Potential_therapeutic_event", "trigger": ["developed"], "subject": ["A 52-year-ol

What's inside
Steps it walks through
  1. API
  2. Record Schema
  3. Usage
  4. Data
Ships with 5 files
  • README.md
  • __init__.py
  • example.py
  • phee_skill.py
  • retrieve.py
More from awesome-bio-agent-skills
All skills →
About this skill
What does the phee-query skill do?

Query the PHEE pharmacovigilance event extraction dataset. Use whenever the user asks about annotated adverse drug events, pharmacovigilance case reports, drug–effect associations from medical literature, or wants to find PHEE examples mentioning a drug name, adverse effect, or condition.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill phee --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going