qsong-github/drugclaw/cadec
Claude Code and agent skill by qsong-github/drugclaw
- community
Checking that the SKILL.md file is still in the repository.
Query the CADEC (CSIRO Adverse Drug Event Corpus). Use whenever the user asks about adverse drug event mentions in consumer health text, entity annotations from patient forum posts, MedDRA/SNOMED-CT normalised ADR spans, or wants to look up drugs, symptoms, or coded entities in the CADEC corpus.
Install
npx vskill@latest install qsong-github/drugclaw/cadecSKILL.md
CADEC Query Skill
Search CADEC annotated patient forum posts by any entity. Auto-detects type:
| Input Pattern | Detected As | Match Logic | |
|---|---|---|---|
10019211 (8 digits) | MedDRA code | exact on normalizations.code | |
22253000 (6-18 digits) | SNOMED CT code | exact on normalizations.code | |
| anything else | free text | substring on entity text, type, or doc_id |
API
| Function | Input | Returns | |
|---|---|---|---|
load_cadec(path) | JSON path | list[dict] (cached) | |
search(entity) | single entity string | list[dict] | |
search_batch(entities) | list of entity strings | dict[str, list[dict]] | |
summarize(hits, entity) | hits + label | compact text | |
to_json(hits) | list[dict] | same list (JSON-ready) |
Entity Types in Corpus
| Type | Description | |
|---|---|---|
| ADR | Adverse Drug Reaction | |
| Drug | Medication mention | |
| Disease | Pre-existing condition | |
| Symptom | Patient-reported symptom | |
| Finding | Clinical finding |
Usage
See if __name__ == "__main__" block in 34_CADEC.py for runnable examples: drug name search, ADR text search, MedDRA code lookup, batch search, JSON output.
Data
- Source: CADEC v2, CSIRO (AskaPatient.com forum posts)
- Local file:
cadec_combined.jsonbuilt from BRAT.txt+.annfiles - Annotations: Original spans + MedDRA + SNOMED CT normalisations
- Stats: ~1,250 documents, ~7,600 entity annotations
- Path:
DATA_PATHvariable in34_CADEC.py - Citation: Karimi et al., 2015. J Biomed Inform 55:73–81
Security
- Security scanPassed, 90 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/cadec/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/cadec)