
target-prioritization
Prioritize drug targets from a ranked gene list (e.g., scRNA-seq DE output) by orchestrating parallel API queries against UniProt, OpenTargets (with integrated DepMap CRISPR essentiality + gnomAD constraint), PubMed, the Human Protein Atlas (HPA), and ChEMBL tool compounds, then re-ranking by a composite score combining protein localization, druggability, disease genetics, tissue specificity (safety), focus-cell-type expression, CRISPR essentiality, LoF safety constraint, and research maturity. Use whenever the user wants to filter, triage, prioritize, or "do due diligence" on a list of candidate genes for drug discovery, especially after a DE / DEG analysis when they say things like "which of these should I follow up on", "filter for druggable targets", "make a target dossier", "rank these for tractability", "annotate these genes for druggability", or "build a target report". Trigger even when the user says just "filter these candidate genes" or hands over a CSV from a DE pipeline.
- Installs
- 2.9K
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/agents365-ai/365-skills --skill target-prioritization- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads target-prioritization automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Target Prioritization
A multi-source drug-target due-diligence pipeline for ranked gene lists.
When this skill triggers
The user has a list of candidate genes (typically from a DE / DEG / scRNA-seq analysis) and wants a per-gene dossier across multiple evidence dimensions plus a composite re-ranking. The DE statistical rank is just the entry point; the final priority is informed by protein biology, genetics, druggability, and research maturity.
Common input shapes:
- A CSV with a
genecolumn (DE output likeexpression_table_pass_either_1s.csv) - A plain-text gene list (one symbol per line)
- A list of symbols inline in the user's message
Output
Four files inside <output_dir>/:
targets_report.md— one section per gene, sorted by composite score, with a short LLM-written rationale and recommended next steptargets_report.html— self-contained interactive report (sortable + searchable summary table, tier-filterable per-gene cards, score-component bars, UniProt links). Built from the.mdand.csvas the final step, after Claude has filled the rationale slots and executive summary.targets_summary.csv— flat table for sorting/filtering in Excel/pandasraw_data/<source>.json— raw API responses (audit trail, reusable across future re-scorings)
Pipeline
input gene list
│
▼
scripts/orchestrate.py
│
├─► fetch_uniprot.py → protein localization, surface, MHC, coding
├─► fetch_opentargets.py → tractability, approved drugs, associated
│ diseases (subsumes GWAS Catalog via OT's
│ integrated genetics evidence), DepMap CRISPR
│ essentiality, gnomAD LOEUF / pLI constraint
├─► fetch_pubmed.py → paper counts (total + focus_disease + cell_context)
├─► fetch_hpa.py → HPA tissue / single-cell specificity + nCPM,
│ expression cluster, cancer prognostics
└─► fetch_chembl.py → top-potency tool compounds per gene (pIC50,
IC50 nM, mechanism) — dossier-only, no score
│
▼
scripts/aggregate.py
│
▼
output_dir/
├─ raw_data/*.json
├─ targets_summary.csv ← composite-score-ranked
└─ targets_report.md ← Claude fills the rationale sections
│
▼
scripts/build_html_report.py ← run AFTER Claude fills rationales
│
▼
output_dir/targets_report.html ← self-contained interactive report
How to invoke
python3 ~/myagents/myskills/target-prioritization/scripts/orchestrate.py \
--input <gene_list.csv_or_txt> \
--output <output_dir> \
[--gene-col gene] \
[--top 50]
--inputaccepts a CSV (with--gene-col, defaultgene), a.txt/.tsv, or any file where the first column has gene symbols. Skips header if first cell isgene/symbol/case-insensitive.--toplimits the dossier to the top N input genes (default 50) — input order is preserved up to that cut, then composite-score re-ranks within.
orchestrate.py runs the five fetchers in parallel (Python threads, since
all calls are I/O-bound). Each writes a self-contained JSON to
<output_dir>/raw_data/<source>.json. Then aggregate.py merges them,
computes the composite score using weights.yaml, writes
targets_summary.csv, and emits a targets_report.md skeleton with one
section per gene — the rationale and risks fields are left blank for
Claude to fill.
Composite score
Weights live in weights.yaml and can be overridden per-run with --weights.
Defaults aim for "find druggable, genetically supported targets with clean
therapeutic window and expression in the cell of interest":
composite_score = w1 * druggability_score (approved drugs, tractability, clin trials)
+ w2 * disease_genetics_score (OpenTargets disease associations + focus-disease bonus)
+ w3 * tractability_bonus (surface or secreted vs intracellular)
+ w4 * tissue_specificity (HPA tissue tag — narrow expression = cleaner window)
+ w5 * cell_context_score (HPA single-cell nCPM rank in FOCUS_CELL_TYPES)
+ w6 * essentiality_score (DepMap CRISPR % essential, pan-essentials capped)
+ w7 * safety_constraint_score (gnomAD LOEUF — high = LoF tolerated → safer to inhibit)
+ w8 * expression_score (from input DE if present)
+ w9 * novelty_bonus (favors moderately studied)
- w10 * over_studied_penalty (PubMed total > cap → diminishing returns)
ChEMBL contributes dossier columns (chembl_target_id, chembl_best_pchembl,
chembl_best_ic50_nm, chembl_top_compounds) but no score component — its
job is to surface concrete tool compounds for the "Suggested next step" slot.
Each component is normalized to [0, 1]. The composite is therefore
roughly in [-w7, sum(w1..w6)] and is min-max rescaled before reporting.
Read weights.yaml for the current defaults.
Writing the rationale
After aggregate.py produces targets_report.md with blank rationale
slots, Claude reads the per-gene dossier rows and writes a 2-3 sentence
rationale per gene. Use the template in prompts/rationale_template.md —
it specifies the structure (one line on the most compelling evidence, one
line on the main risk, one line on the suggested next experimental step).
For the top 5–10 genes by composite score, also write a short executive summary at the top of the report. Keep it factual and grounded in the dossier data; do not hallucinate beyond what the JSONs contain.
Building the HTML report (final step)
Once targets_report.md has its rationale slots and executive summary
filled in, run build_html_report.py to produce a self-contained
interactive HTML report:
python3 ~/myagents/myskills/target-prioritization/scripts/build_html_report.py \
--report-dir <output_dir> \
[--title "Target Prioritization Report"] \
[--subtitle "<cohort / contrast description>"]
This is always the last step. It reads targets_summary.csv and
targets_report.md from --report-dir and writes targets_report.html
in the same directory. The output is a single file with no external
dependencies: sortable summary table at top, live search + tier-filter
buttons, one card per gene with chips (surface / secreted / MHC /
focus-disease / approved-drug), full dossier grid, and horizontal bars
for each score component. Open it directly in a browser; share it as-is.
If rationale slots are still blank when this runs, the per-gene cards will show "not yet written" in those spots — useful for previewing the layout, but the user should be told to fill rationales before sharing.
Data source notes
All free, no API key needed. Rate limits handled in fetchers:
- UniProt REST — 100 req/sec, batched via
accessionquery - OpenTargets GraphQL — generous, single endpoint; provides disease genetics signal via integrated
associatedDiseases - PubMed E-utilities — 3 req/sec without key; fetchers respect this
- Human Protein Atlas —
search_download.phpfor symbol→ENSG, then per-ENSG/<ENSG>.json; no rate limit documented, fetcher sleeps 0.15s/gene - DepMap CRISPR essentiality — fetched via
target.depMapEssentialityinside the OpenTargets call (no separate endpoint) - gnomAD constraint — fetched via
target.geneticConstraintinside the OpenTargets call (avoids gnomAD's WAF on direct API access) - ChEMBL REST —
target/search.jsonthenactivity.json; ~5 req/sec friendly, fetcher sleeps 0.2s/gene
For deeper API details and field mappings, see
references/api_endpoints.md.
Retargeting the focus disease + cell context
The skill ships with an autoimmunity / T-cell default but is intentionally disease-agnostic. Three edits switch the focus:
scripts/fetch_opentargets.pyandscripts/aggregate.py— changeFOCUS_DISEASE_TERMSto the lowercased substrings that should mark a drug or disease association as "in-scope" (e.g.("cancer", "carcinoma", "lymphoma")for oncology;("alzheimer", "parkinson", "huntington", "als")for neurodegeneration;("diabetes", "obesity", "fatty liver", "nash")for metabolic disease).scripts/aggregate.py— changeFOCUS_CELL_TYPESto the HPA single-cell type names that should drivecell_context_score. Must match HPA's exact strings (case-sensitive); see comment block above the tuple for examples per domain.scripts/fetch_pubmed.py— adjust thefocus_diseaseandcell_contextqueries inCONTEXTS(these power the PubMed counts in the dossier).
No other code changes are needed; the CSV column names already use the
neutral focus_disease_* / cell_context prefixes.
When NOT to use this skill
- Single-gene look-ups (overkill — just ask Claude to web-search)
- Non-human genes (most APIs are human-only; fetchers will silently return empty)
- Pure literature review without target ambition — use
scholar-deep-researchorliterature-reviewinstead
Iteration tips
The pipeline is designed to be re-runnable cheaply:
- Raw JSON cache means re-scoring with different
weights.yamlis a one-secondaggregate.pyrerun - To add a new evidence source, add
scripts/fetch_<source>.pythat writesraw_data/<source>.jsonwith the same{gene: {fields}}shape, then add a corresponding term inaggregate.py::compute_composite_score.
FAQ
What does the target-prioritization skill do?
Prioritize drug targets from a ranked gene list (e.g., scRNA-seq DE output) by orchestrating parallel API queries against UniProt, OpenTargets (with integrated DepMap CRISPR essentiality + gnomAD constraint), PubMed, the Human Protein Atlas (HPA), and ChEMBL tool compounds, then re-ranking by a composite score combining protein localization, druggability, disease genetics, tissue specificity (safety), focus-cell-type expression, CRISPR essentiality, LoF safety constraint, and research maturity. Use whenever the user wants to filter, triage, prioritize, or "do due diligence" on a list of candidate genes for drug discovery, especially after a DE / DEG analysis when they say things like "which of these should I follow up on", "filter for druggable targets", "make a target dossier", "rank these for tractability", "annotate these genes for druggability", or "build a target report". Trigger even when the user says just "filter these candidate genes" or hands over a CSV from a DE pipeline.
How do I install target-prioritization?
Run npx skills add https://github.com/agents365-ai/365-skills --skill target-prioritization in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/target-prioritization/ (personal) or .claude/skills/target-prioritization/ (project).
Which AI agents can use target-prioritization?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is target-prioritization safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains target-prioritization?
It is published by agents365-ai in agents365-ai/365-skills. It has 2,869 recorded installs.
More from agents365-ai/365-skills
drawio-skill
agents365-ai/365-skills
Create, edit, synchronize, inspect, test, and publish editable draw.io diagrams. Use when the user explicitly requests draw.io/diagrams.net, needs a polished architecture, ERD, UML, sequence, C4, SysML, BPMN, network, swimlane, ML, or infrastructure diagram, wants code/IaC/SQL/OpenAPI/AsyncAPI/Protobuf converted into a diagram, or wants an existing diagram queried, reviewed, diffed, restyled, kept in sync, or made interactive. Prefer Mermaid/PlantUML elsewhere when the requested artifact is diagrams-as-code rather than an editable draw.io file.
excalidraw
agents365-ai/365-skills
Use when user requests diagrams, flowcharts, architecture charts, or visualizations. Also use proactively when explaining systems with 3+ components, complex data flows, or relationships that benefit from visual representation. Generates .excalidraw files and exports to PNG/SVG via Kroki API or locally using excalidraw-brute-export-cli.
creating-mermaid-diagrams
agents365-ai/365-skills
Generate Mermaid diagrams (.mmd) and export to PNG/SVG/PDF using mmdc CLI or Kroki API. USE THIS SKILL when user mentions diagram, flowchart, sequence diagram, class diagram, ER diagram, state machine, architecture, visualize, git graph, 画图, 架构图, 流程图, 时序图. PROACTIVELY USE when explaining ANY system with 3+ components, API flows, authentication sequences, class hierarchies, database schemas, or state machines. Supports 11+ diagram types with fully automatic layout.
plantuml-skill
agents365-ai/365-skills
Use when user requests diagrams, flowcharts, sequence diagrams, class diagrams, component diagrams, ER diagrams, architecture charts, or visualizations — including generating a diagram from existing source code, or rendering/extracting PlantUML embedded in a Markdown file to images (e.g. preparing docs for Confluence/Notion). Also use proactively when explaining systems with 3+ components, APIs, data flows, or class hierarchies. Generates .puml files and exports to PNG/SVG via Kroki API (no local install required).
tldraw-skill
agents365-ai/365-skills
Use when user requests diagrams, flowcharts, architecture charts, or visualizations. Also use proactively when explaining systems with 3+ components, complex data flows, or relationships that benefit from visual representation. Generates .tldr JSON files and exports to PNG/SVG locally using @kitschpatrol/tldraw-cli.
paper-fetch
agents365-ai/365-skills
Use whenever the user wants to obtain, download, or fetch a paper's PDF — given a DOI, an arXiv id, a paper title, a citation, or a list of DOIs. Trigger on phrases like "download this paper", "find the PDF for [DOI]", "grab me the [Nature/bioRxiv/arXiv] paper on X", "get the open-access version", "I need this article", or any bulk/batch paper download request, even when the user doesn't explicitly say "PDF" or "DOI". Resolves via Unpaywall → Semantic Scholar → arXiv → PubMed Central → bioRxiv/medRxiv → publisher direct (institutional opt-in) → Sci-Hub mirrors as last-resort fallback.
Popular backend & apis skills
find-skills
vercel-labs/skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
entra-app-registration
microsoft/azure-skills
Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.
google-agents-cli-adk-code
google/agents-cli
This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).
embedded-captions
heygen-com/hyperframes
Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet anchor rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.
entra-agent-id
microsoft/azure-skills
Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant) including the Microsoft Entra SDK for AgentID sidecar. USE FOR: Agent Identity Blueprint, BlueprintPrincipal, agent OAuth, fmipath token exchange, agent OBO, Workload Identity Federation for agents, polyglot agent auth, Microsoft.Identity.Web.AgentIdentities. DO NOT USE FOR: standard Entra app registration (use entra-app-registration), Microsoft Foundry agent authoring (use microsoft-foundry).
neon
neondatabase/agent-skills
Overview of Neon, a complete set of cloud backend primitives around Lakebase Postgres: Auth, Object Storage, Functions, the AI Gateway, and Realtime. Start here to choose Neon for undecided login, files, APIs, and LLM calls, set up the CLI or MCP server, and follow the branch-first workflow. Use when building an app or backend on Neon, or when "Neon" or "Lakebase Postgres" is mentioned. Child skill neon-postgres wins for an existing DATABASEURL, SQL, schema, inspect, or search. Child skill neon-auth wins for login, users, sessions, identity routing, and Managed Better Auth setup. Child skill neon-realtime wins for live queries in reactive apps and agents. Also use for object storage, S3, buckets, serverless functions, function triggers, cron, AI gateway, LLM calls, realtime, logs, Loki, Grafana, observability, postgres, database, backend, Claimable Neon, neon.new, or a no-signup database.