knowledge-graph-tools
Drug-discovery knowledge-graph workflow guide for assembling drug-target-disease-pathway relationship graphs from OpenTargets GraphQL, ChEMBL REST, STRING…
Skill by DrugClaw
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/drugclaw-knowledge-graph-tools
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/knowledge-graph-tools
What's inside
- Skill name
knowledge-graph-tools- Description
- Drug-discovery knowledge-graph workflow guide for assembling drug-target-disease-pathway relationship graphs from OpenTargets GraphQL, ChEMBL REST, STRING PPI, and Reactome pathway APIs, then running hub detection, shortest-path queries, and neighborhood expansion with networkx. Use when the user asks to build, query, or visualize a biomedical knowledge graph connecting drugs, targets, diseases, and pathways from real public databases without making clinical claims.
- License
- Apache-2.0
- Instructions
- 164 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- files: referenced but missing: templates/knowledge_graph.py
Files (2)
- SKILL.md
- knowledge_graph.py · template/
SKILL.md (first lines)
# Knowledge Graph Tools
Use this skill for building and querying biomedical relationship graphs from public drug-discovery APIs, not for clinical decision-making.
Typical triggers:
- build a knowledge graph seeded from a disease, a drug, or a target list
- find shortest paths from a drug to a disease through intermediate targets and pathways
- identify hub targets that bridge multiple disease areas or drug mechanisms
- expand the neighborhood around a protein to see connected drugs, diseases, and pathways
- merge OpenTargets, ChEMBL, STRING, and Reactome data into one queryable graph
## Working Rules
1. Every node gets a typed label: `drug`, `target`, `disease`, or `pathway`.
2. Every edge records its source database and, where available, an evidence score.
3. Use canonical identifiers: Ensembl for targets, ChEMBL for drugs, EFO for diseases, Reactome stable IDs for pathways.
4. Hub analysis reflects database connectivity, not biological importance; well-studied proteins dominate.
5. Shortest-path hypotheses are topological leads, not validated biology.
6. Do not claim causal or therapeutic conclusions from graph structure alone.
## Environment Check
```bash
which python3 || true
python3 - <<'PY'
mods = ["networkx", "requests"]
for name in mods:
try:
__import__(name)
print(f"{name}: ok")
except Exception as exc:
print(f"{name}: missing ({exc})")
PY
```
If networkx or requests is missing, say so immediately. If network access is blocked, only the `query` mode on pre-built GraphML files will work.
## Bundled Assets
- `templates/knowledge_graph.py`
## Build: Disease-Centric Graph
Use `templates/knowledge_graph.py --mode build --seed-type disease` for:
- fetching disease-associated targets from OpenTargets
- fetching known drugs for those targets from OpenTargets
- adding protein-protein interactions from STRING
- adding pathway membership from Reactome
- assembling typed nodes and edges into a single graph
Quick start:
```bash
python3 templates/knowledge_graph.py \
--mode build \
--seed-type disease \
--seed "Crohn's disease" \
--max-targets 30 \
--include-string \
--include-reactome \
--output kg/crohn_graph.graphml \
--summary kg/crohn_summary.json
```
Deliverables:
- GraphML file with typed nodes (`entity_type`) and typed edges (`relation`, `source_db`, `score`)
- summary JSON with node/edge counts by type, top hubs, and data sources queried
## Build: Drug-Centric Graph
Use `--seed-type drug` to start from a drug and expand through its targets:
```bash
python3 templates/knowledge_graph.py \
--mode build \
--seed-type drug \
--seed "imatinib" \
--max-targets 20 \
--include-string \
--include-reactome \
--output kg/imatinib_graph.graphml \
--summary kg/imatinib_summary.json
```
## Query: Shortest Path
Use `--mode query --query-type shortest-path` on an existing GraphML file:
```bash
python3 templates/knowledge_graph.py \
--mode query \
--input kg/crohn_graph.graphml \
--query-type shortest-path \
--from-node "CHEMBL941" \
--to-node "EFO_0000384" \
--summary kg/path_result.json
```
Deliverables:
- summary JSON with path length, node sequence, and edge relations for each step
## Query: Hub Analysis
Use `--mode query --query-type hubs`:
```bash
python3 templates/knowledge_graph.py \
--mode query \
--input kg/crohn_graph.graphml \
--query-type hubs \
--top-k 20 \
--summary kg/hub_targets.json
```
Deliverables:
- summary JSON with top-K nodes ranked by degree and betweenness centrality, with entity type
## Query: Neighborhood ExpansionFrom DrugClaw/DrugClaw, Apache-2.0.
More from DrugClaw/DrugClaw
- 0.517score
literature-review-tools
DrugClaw
Research-literature workflow guide for evidence-matrix assembly, citation-table normalization, structured review synthesis, and research-gap mapping.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
bio-db-tools
DrugClaw
Query public biology databases and APIs including UniProt, RCSB PDB, AlphaFold DB, ClinVar, dbSNP, gnomAD, Ensembl, GEO, InterPro, KEGG, OpenTargets…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
pharma-db-tools
DrugClaw
Query public drug-discovery and translational-research databases including PubChem, ChEMBL, BindingDB, openFDA, ClinicalTrials.gov, and OpenAlex.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
pharma-ml-tools
DrugClaw
Pharmaceutical machine-learning workflow guide for library profiling, molecular featurization, benchmark dataset fetch, medicinal-chemistry filtering, and…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
target-intelligence-tools
DrugClaw
Target research workflow guide for building compact drug-target dossiers across protein identity, disease evidence, known drugs, interaction partners…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
grn-tools
DrugClaw
Gene regulatory network workflow guide for transcriptomics and single-cell expression matrices using Arboreto, GRNBoost2, and GENIE3.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
variant-analysis-tools
DrugClaw
Variant and VCF workflow guide for local SNV, indel, and structural-variant summarization, filtering, and consequence triage.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
clinical-research-tools
DrugClaw
Clinical research workflow guide for protocol design, endpoint selection, evidence grading, reporting-guideline selection, statistical planning, and…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
medical-data-tools
DrugClaw
Medical data workflow guide for DICOM metadata inspection and basic de-identification, physiological signal analysis with NeuroKit2, and cohort-table…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
medical-qms-tools
DrugClaw
Medical quality-system and documentation workflow guide for ISO 13485, FDA QMSR, design controls, risk management, CAPA, document control, supplier…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
bayesian-optimization-tools
DrugClaw
Bayesian optimization workflow guide for experiment suggestion, condition tuning, and closed-loop parameter search with Gaussian-process surrogates.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
omics-tools
DrugClaw
Omics and single-cell workflow guide for AnnData, Scanpy-style dataset profiling, PyDESeq2-oriented count checks, pysam alignment inspection, and pyOpenMS…
SkillDFreshness: D★ 87Claude Code +9
Signals
- Stars
- 87
- Forks
- 8
- Open issues
- 1
- Last commit (this folder)
- Mar 23, 2026 (7 months ago)
- Last release
- Mar 13, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/DrugClaw/DrugClaw
- Website
- drugclaw.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from DrugClaw
- 0.517score
clinical-research-tools
DrugClaw
Clinical research workflow guide for protocol design, endpoint selection, evidence grading, reporting-guideline selection, statistical planning, and…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
medical-qms-tools
DrugClaw
Medical quality-system and documentation workflow guide for ISO 13485, FDA QMSR, design controls, risk management, CAPA, document control, supplier…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
variant-analysis-tools
DrugClaw
Variant and VCF workflow guide for local SNV, indel, and structural-variant summarization, filtering, and consequence triage.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
grn-tools
DrugClaw
Gene regulatory network workflow guide for transcriptomics and single-cell expression matrices using Arboreto, GRNBoost2, and GENIE3.
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
medical-data-tools
DrugClaw
Medical data workflow guide for DICOM metadata inspection and basic de-identification, physiological signal analysis with NeuroKit2, and cohort-table…
SkillDFreshness: D★ 87Claude Code +9 - 0.517score
pharma-db-tools
DrugClaw
Query public drug-discovery and translational-research databases including PubChem, ChEMBL, BindingDB, openFDA, ClinicalTrials.gov, and OpenAlex.
SkillDFreshness: D★ 87Claude Code +9
Cite this page
knowledge-graph-tools skill. Agent Mart. https://agentmart.dev/skills/drugclaw-knowledge-graph-tools (last updated 2026-10-24)