qsong-github/drugclaw/phee
Claude Code and agent skill by qsong-github/drugclaw
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install qsong-github/drugclaw/pheeSKILL.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:
Usage
See if __name__ == "__main__" block in 38_PHEE.py for runnable examples covering: single drug search, single effect search, batch search, and JSON output.
Data
- Source: PHEE dataset (Zenodo record 7689970), EMNLP 2022
- Files:
train.json(~2,900 sentences),dev.json(~960),test.json(~960) - Path:
DATA_DIRvariable in38_PHEE.py
(resources_metadata/drug_nlp/PHEE/data/json)
- Event types:
Adverse_event,Potential_therapeutic_event - Main arguments: Subject, Treatment, Effect
- Sub-arguments: Subject (age, gender, race, population, disorder); Treatment (drug, dosage, freq, route, duration, disorder, combination.drug)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/drug_nlp/phee/SKILL.md
Popularity
- Repository stars
- 116
- Repository forks
- 3
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/qsong-github/drugclaw/phee)