qsong-github/drugclaw/drugcentral

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 DrugCentral drug pharmacology database. Use whenever the user asks about approved drug structures, drug targets, pharmacological actions, or wants to look up any entity (drug name, DrugCentral ID, CAS number, InChIKey) in DrugCentral.

Install

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

SKILL.md

The same SKILL.md was published earlier as biotender-max/awesome-bio-agent-skills/drugcentral.

DrugCentral Query Skill

Search local DrugCentral flat files by any entity. Auto-detects query type:

Input PatternDetected AsMatch Logic
860 (numeric)DrugCentral IDexact on ID
50-78-2 (NNN-NN-N)CAS Numberexact on CAS_RN
BSYNRYMUTXBXSQ or full keyInChIKey (prefix or full)prefix match on InChIKey
anything elsefree textsubstring on INN (drug name)

Data

Download from <https://drugcentral.org/download>:

FileDescriptionRequired
structures.smiles.tsvSMILES, InChI, InChIKey, ID, INN, CAS_RNYes
drug.target.interaction.tsvDrug-target interaction profiles (gene, action, potency)Recommended
FDA+EMA+PMDA_Approved.csvApproval status (ID, drug_name)Optional

Place files in DATA_DIR (default: resources_metadata/drug_knowledgebase/DrugCentral, or set env DRUGCENTRAL_DIR).

API

FunctionInputReturns
search(entity)single entity stringdict with structures, targets, approved
search_batch(entities)list or comma-separated stringdict[str, dict]
summarize(result, entity)search result dict + labelcompact text
to_json(result)search result dictJSON string

Key Fields

structures: ID, INN (drug name), CAS_RN, SMILES, InChI, InChIKey

targets (from DTI file): GENE, TARGET_NAME, TARGET_CLASS, ACTION_TYPE, ACT_VALUE, ACT_TYPE, ACT_UNIT, ACCESSION (UniProt), TDL, ORGANISM

approved: id, name, approved (bool)

Usage

python
from 18_DrugCentral import search, search_batch, summarize, to_json
# Single query — drug name
result = search("aspirin")
print(summarize(result))
# Single query — DrugCentral ID
result = search("860")
print(summarize(result))
# Single query — CAS number
result = search("50-78-2")
print(summarize(result))
# Batch query
results = search_batch(["metformin", "ibuprofen", "50-78-2"])
for entity, res in results.items():
print(summarize(res, entity))
# JSON export
print(to_json(result))

See if __name__ == "__main__" block in 18_DrugCentral.py for runnable examples covering: drug name, DrugCentral ID, CAS number, InChIKey prefix, batch search, and JSON output.

Source

  • DrugCentral: <https://drugcentral.org/>
  • Paper: Avram et al., Nucleic Acids Research 2023, 51(D1):D1276–D1287. DOI: 10.1093/nar/gkac1085
  • License: CC BY-NC 4.0 (non-commercial)

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

Repository stars
117
Repository forks
3
7-day trend score
0

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

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