qsong-github/drugclaw/drkg

Claude Code and agent skill by qsong-github/drugclaw

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Query the DRKG (Drug Repurposing Knowledge Graph). Use whenever the user asks about drug–gene, drug–disease, gene–disease, or other biomedical entity relationships in a knowledge-graph context, drug repurposing candidates, COVID-19 drug repurposing, or wants to explore neighbours of any biomedical entity (compound, gene, disease, pathway, side effect, etc.) in DRKG.

Install

npx vskill@latest install qsong-github/drugclaw/drkg

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/drkg.

DRKG Query Skill

Search the Drug Repurposing Knowledge Graph (97 238 entities, 5 874 261 triplets, 107 relation types) by any entity. Auto-detects entity type by input pattern and returns all KG neighbours.

Entity Format

Entities in DRKG are typed strings: Type::ID.

Entity TypeExampleCount
CompoundCompound::DB0094524 313
GeneGene::195639 220
DiseaseDisease::DOID:1625 103
AnatomyAnatomy::UBERON:0001474400
Biological ProcessBiological Process::GO:000691511 381
Cellular ComponentCellular Component::GO:00056341 391
Molecular FunctionMolecular Function::GO:00055152 884
PathwayPathway::PC7_80781 822
Pharmacologic ClassPharmacologic Class::N0000175605345
Side EffectSide Effect::C00007375 701
SymptomSymptom::D009325415
AtcAtc::N02BE014 048
TaxTax::9606215

Relations are typed strings: Source::RelType::HeadType:TailType, e.g. DRUGBANK::target::Compound:Gene, Hetionet::CtD::Compound:Disease.

Input Auto-Detection

Input PatternDetected AsMatch Logic
Compound::DB00945full DRKG entityexact match
DB\d{5,}DrugBank IDprepend Compound::
DOID:\d+ / MESH:D\d+Disease IDprepend Disease::
GO:\d+GO termtry BP / MF / CC
pure digits (1956)Entrez Gene IDprepend Gene::
anything elsefree textcase-insensitive substring across all entities

API

FunctionInputReturns
search(query, limit=200)single entity stringdict with resolved, as_head, as_tail
search_batch(queries, limit=200)list of entity stringsdict[query → result]
get_sources(entity)resolved DRKG entitysource attribution string
get_relation_info(relation)relation stringglossary dict
entity_types()—list of 13 entity type names
summarize(result)search result dictcompact LLM-readable text
to_json(result)search result dictJSON-serialisable dict

Usage

See if __name__ == "__main__" block in 25_DRKG.py for runnable examples: single-entity search (full ID, bare ID, free text), batch search, relation glossary lookup, and JSON output.

Data Sources

DRKG integrates six databases plus COVID-19 literature:

SourceTripletsCoverage
DrugBank1 424 790drug–drug, drug–gene, drug–disease, ATC
Hetionet2 250 197gene–gene, anatomy, pathways, side effects
GNBR335 369gene–gene, compound–gene, disease–gene
STRING1 496 708protein–protein interactions
IntAct256 151protein–protein interactions
DGIdb26 290drug–gene interactions
Bibliography84 756COVID-19 related

Data Files

Located at DATA_DIR in 25_DRKG.py:

FileDescription
drkg.tsv5 874 261 triplets (head, relation, tail)
relation_glossary.tsvrelation type glossary with source info
entity2src.tsventity → original data-source mapping

Citation

Ioannidis et al. "DRKG - Drug Repurposing Knowledge Graph for Covid-19", 2020.
https://github.com/gnn4dr/DRKG

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/qsong-github/drugclaw/drkg/badge)](https://verified-skill.com/skills/qsong-github/drugclaw/drkg)

Something wrong with this skill or its page? Tell us.