tooluniverse-network-pharmacology▌
mims-harvard/tooluniverse · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.
COMPUTE, DON'T DESCRIBE
When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.
Network Pharmacology Pipeline
Construct and analyze compound-target-disease (C-T-D) networks to identify drug repurposing opportunities, understand polypharmacology, and predict drug mechanisms using systems pharmacology approaches.
LOOK UP DON'T GUESS - Retrieve actual target lists, network data, and clinical evidence from tools. Do not infer network relationships from drug class alone.
IMPORTANT: Always use English terms in tool calls, even if the user writes in another language. Respond in the user's language.
Polypharmacology Reasoning (Start Here)
Before building any network, reason about what kind of multi-target effect you are dealing with:
A drug hitting multiple targets is either polypharmacology (desired multi-target) or promiscuity (undesired off-target). The distinction depends on whether the additional targets contribute to efficacy or cause toxicity.
Use this framework to guide the analysis:
- Desired polypharmacology: multiple targets all lie within the same disease module or pathway. Example: a kinase inhibitor that hits both EGFR and ERBB2 in the same signaling cascade. Look for pathway co-membership and disease module overlap. This is a network proximity argument.
- Off-target promiscuity: additional targets are in unrelated pathways, especially those associated with known toxicity (hERG for cardiotoxicity, CYP3A4 for drug interactions, COX-1 for GI toxicity). Look for these in the safety phase before claiming benefit.
- Repurposing hypothesis: the drug's known targets have strong genetic/functional evidence for the new disease. Network proximity (Z-score) quantifies this. A Z < -2 with p < 0.01 is meaningful signal; a Z near 0 means the targets are essentially unconnected to the disease module.
- Mechanism ambiguity: if a drug has 10+ known targets, do not treat all as therapeutically relevant. Start with primary mechanism-of-action targets, then ask whether secondary targets add to or subtract from the therapeutic window.
Document this reasoning explicitly in the report before listing candidates.
When to Use This Skill
Apply when users:
- Ask "Can [drug] be repurposed for [disease] based on network analysis?"
- Want to understand multi-target (polypharmacology) effects of a compound
- Need compound-target-disease network construction and analysis
- Ask about network proximity between drug targets and disease genes
- Want systems pharmacology analysis of a drug or target
- Ask about drug repurposing candidates ranked by network metrics
- Need mechanism prediction for a drug in a new indication
- Want to identify hub genes in disease networks as therapeutic targets
NOT for (use other skills instead):
- Simple drug repurposing without network analysis ->
tooluniverse-drug-repurposing - Single target validation ->
tooluniverse-drug-target-validation - Adverse event detection only ->
tooluniverse-adverse-event-detection
Key Principles
- Report-first approach - Create report file FIRST, then populate progressively
- Entity disambiguation FIRST - Resolve all identifiers before analysis
- Reason about polypharmacology type - Desired vs. promiscuous (see above)
- Bidirectional network - Construct C-T-D network from both directions
- Rank candidates - Prioritize by composite Network Pharmacology Score
- Mechanism prediction - Explain HOW drug could work via network paths
- Clinical feasibility - FDA-approved drugs ranked higher than preclinical
- Safety context - Flag known adverse events and off-target liabilities
- Evidence grading - Grade all evidence T1-T4
- Negative results documented - "No data" is data; empty sections are failures
- Source references - Every finding must cite the source tool/database
Network Pharmacology Score (0-100)
Five components with explicit reasoning at each step:
- Network Proximity (35 pts): Z < -2, p < 0.01 earns full points. A drug whose targets are in a different network neighborhood from the disease module scores near zero here. Do not claim proximity without computing the Z-score.
- Clinical Evidence (25 pts): Approved for related indication earns full points. Clinical trial evidence earns partial credit. Computational prediction alone earns none.
- Target-Disease Association (20 pts): Strong genetic evidence (GWAS, rare variants) for the drug's primary targets in the new disease.
- Safety Profile (10 pts): FDA-approved, favorable safety in target population.
- Mechanism Plausibility (10 pts): A clear pathway mechanism with functional evidence, not just co-mention in literature.
Priority tiers: 80-100 = high repurposing potential (proceed to experimental validation); 60-79 = good potential (needs mechanistic validation); 40-59 = moderate potential (high-risk/high-reward); 0-39 = low potential.
Evidence grades: T1 = human clinical proof; T2 = functional experimental evidence (IC50 < 1 uM, CRISPR screen); T3 = association/computational (GWAS hit, network proximity); T4 = prediction or text-mining only.
Full scoring details: SCORING_REFERENCE.md
Workflow Overview
Phase 0: Entity Disambiguation and Report Setup
- Create report file immediately
- Resolve entity to all required IDs (ChEMBL, DrugBank, PubChem CID, Ensembl, MONDO/EFO)
- Tools:
OpenTargets_get_drug_chembId_by_generic_name,drugbank_get_drug_basic_info_by_drug_name_or_id,PubChem_get_CID_by_compound_name,OpenTargets_get_target_id_description_by_name,OpenTargets_get_disease_id_description_by_name
Phase 1: Network Node Identification
- Compound nodes: Drug targets, mechanism of action, current indications
- Target nodes: Disease-associated genes, GWAS targets, druggability levels
- Disease nodes: Related diseases, hierarchy, phenotypes
- Tools:
OpenTargets_get_drug_mechanisms_of_action_by_chemblId,OpenTargets_get_associated_targets_by_drug_chemblId,drugbank_get_targets_by_drug_name_or_drugbank_id,DGIdb_get_drug_gene_interactions,CTD_get_chemical_gene_interactions,OpenTargets_get_associated_targets_by_disease_efoId,Pharos_get_target
Phase 2: Network Edge Construction
- C-T edges: Bioactivity data (ChEMBL, DrugBank, BindingDB)
- T-D edges: Genetic/functional associations (OpenTargets evidence, GWAS, CTD)
- C-D edges: Clinical trials, CTD chemical-disease, literature co-mentions
- T-T edges: PPI network (STRING, IntAct, OpenTargets interactions, HumanBase)
- Tools:
ChEMBL_get_target_activities,OpenTargets_target_disease_evidence,GWAS_search_associations_by_gene,search_clinical_trials,CTD_get_chemical_diseases,STRING_get_interaction_partners,STRING_get_network,intact_search_interactions,humanbase_ppi_analysis
Phase 3: Network Analysis
- Hub identification: which targets are most connected in the drug-disease subnetwork
- Shortest paths between drug targets and disease genes: how many hops, through which intermediaries
- Network proximity Z-score: are drug targets closer to disease module than random expectation
- Functional enrichment to identify shared biological processes
- Tools:
STRING_functional_enrichment,STRING_ppi_enrichment,enrichr_gene_enrichment_analysis,ReactomeAnalysis_pathway_enrichment
Phase 4: Drug Repurposing Predictions
- Identify drugs targeting disease genes (disease-to-compound mode)
- Find diseases associated with drug targets (compound-to-disease mode)
- Rank candidates by composite Network Pharmacology Score
- Predict mechanisms via shared pathways and network paths
- Tools:
OpenTargets_get_associated_drugs_by_target_ensemblID,drugbank_get_drug_name_and_description_by_target_name,drugbank_get_pathways_reactions_by_drug_or_id
Phase 5: Polypharmacology Analysis
- Classify each secondary target as contributing to efficacy or representing off-target risk
- Disease module coverage: what fraction of disease genes are hit directly or within 1 hop
- Target family analysis and selectivity
- Tools:
OpenTargets_get_target_classes_by_ensemblID,DGIdb_get_gene_druggability,OpenTargets_get_target_tractability_by_ensemblID
Phase 6: Safety and Toxicity Context
- Adverse event profiling (FAERS disproportionality, OpenTargets AEs)
- Target safety (gene constraints, expression, safety profiles)
- FDA warnings, black box status
- Tools:
FAERS_calculate_disproportionality,FAERS_filter_serious_events,FAERS_count_death_related_by_drug,FDA_get_warnings_and_cautions_by_drug_name,OpenTargets_get_drug_adverse_events_by_chemblId,OpenTargets_get_target_safety_profile_by_ensemblID,gnomad_get_gene_constraints
Phase 7: Validation Evidence
- Clinical trials for drug-disease pair
- Literature evidence (PubMed, EuropePMC)
- ADMET predictions if SMILES available
- Pharmacogenomics data
- Tools:
search_clinical_trials,get_clinical_trial_descriptions,PubMed_search_articles,EuropePMC_search_articles,ADMETAI_predict_toxicity,PharmGKB_get_drug_details
Phase 8: Report Generation
- Compute Network Pharmacology Score from components
- Document polypharmacology reasoning (desired vs. promiscuous)
- Generate report using template
- Include completeness checklist
Full step-by-step code examples: ANALYSIS_PROCEDURES.md Report template: REPORT_TEMPLATE.md
Critical Tool Parameter Notes
- DrugBank tools: ALL require
query,case_sensitive,exact_match,limit(4 params, ALL required) - FAERS analytics tools: ALL require
operationparameter - FAERS count tools: Use
medicinalproductNOTdrug_name - OpenTargets tools: Return nested
{data: {entity: {field: ...}}}structure - PubMed_search_articles: Returns plain list of dicts, NOT
{articles: [...]} - ReactomeAnalysis_pathway_enrichment: Takes space-separated
identifiersstring, NOT array - ensembl_lookup_gene: REQUIRES
species='homo_sapiens'parameter
Full tool parameter reference and response structures: TOOL_REFERENCE.md
Fallback Strategies
When a tool fails, try the next in chain before reporting "no data":
- Compound ID: OpenTargets drug lookup -> ChEMBL search -> PubChem CID lookup
- Target ID: OpenTargets target lookup -> ensembl_lookup_gene -> MyGene_query_genes
- Disease ID: OpenTargets disease lookup -> ols_search_efo_terms -> CTD_get_chemical_diseases
- Drug targets: OpenTargets drug mechanisms -> DrugBank targets -> DGIdb interactions
- Disease targets: OpenTargets disease targets -> CTD gene-diseases -> GWAS associations
- PPI network: STRING interactions -> OpenTargets interactions -> IntAct interactions
- Pathways: ReactomeAnalysis enrichment -> enrichr enrichment -> STRING functional enrichment
- Clinical trials: search_clinical_trials -> ClinicalTrials_search_studies -> PubMed clinical
- Safety: FAERS + FDA -> OpenTargets AEs -> DrugBank safety
- Literature: PubMed search -> EuropePMC search -> OpenTargets publications
Reference Files
- ANALYSIS_PROCEDURES.md - Full code examples for each phase
- REPORT_TEMPLATE.md - Markdown template for final report output
- SCORING_REFERENCE.md - Detailed scoring rubric and computation method
- TOOL_REFERENCE.md - Tool signatures, response structures, troubleshooting
- USE_PATTERNS.md - Common analysis patterns and edge case strategies
- QUICK_START.md - Quick-start guide with minimal examples
Related Skills
- tooluniverse-drug-repurposing - Drug repurposing without network analysis
- tooluniverse-drug-target-validation - Target validation
- tooluniverse-adverse-event-detection - Adverse event detection
- tooluniverse-systems-biology - Systems biology
- tooluniverse-protein-interactions - Protein interactions
How to use tooluniverse-network-pharmacology on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add tooluniverse-network-pharmacology
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches tooluniverse-network-pharmacology from GitHub repository mims-harvard/tooluniverse and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate tooluniverse-network-pharmacology. Access the skill through slash commands (e.g., /tooluniverse-network-pharmacology) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★35 reviews- ★★★★★Aisha Thompson· Dec 28, 2024
Useful defaults in tooluniverse-network-pharmacology — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Amina Farah· Dec 4, 2024
tooluniverse-network-pharmacology has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Hassan Brown· Nov 27, 2024
Registry listing for tooluniverse-network-pharmacology matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Anika Brown· Nov 23, 2024
tooluniverse-network-pharmacology fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Amina Khan· Nov 19, 2024
tooluniverse-network-pharmacology is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Rahul Santra· Nov 3, 2024
Registry listing for tooluniverse-network-pharmacology matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Pratham Ware· Oct 22, 2024
tooluniverse-network-pharmacology reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Kabir Sharma· Oct 18, 2024
tooluniverse-network-pharmacology reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★James Rahman· Oct 14, 2024
We added tooluniverse-network-pharmacology from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Yuki Wang· Oct 10, 2024
Keeps context tight: tooluniverse-network-pharmacology is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 35