target-dossier¶
Build a target assessment dossier for a gene or protein and disease from Open Targets, UniProt, ChEMBL and PubMed with source ids on every claim, risks, competition and a low-evidence warning. Declines toxin and pathogen-enhancement targets.
| Stage | Discovery |
| Tier | 1 (deterministic tool) |
| Standards | Open Targets Platform, UniProtKB, ChEMBL, NCBI E-utilities |
Minimum pharmaskills |
0.3.0 |
| Inputs | gene symbol or uniprot id, disease efo or free text |
| Outputs | target dossier md, evidence json |
| Verified by | connectors opentargets search, connectors opentargets fetch, connectors uniprot search, connectors uniprot fetch, connectors chembl search, connectors pubmed search |
Draft for qualified review. Not a validated system and not 21 CFR Part 11 compliant.
Install only this skill: pharmaskills skills install --agent claude-code --skill target-dossier (see Install).
Purpose¶
Give a discovery scientist a fast, sourced orientation on a drug target in a disease: genetic and
literature association evidence, tractability, known ligands and clinical compounds, risks and
competition. The pharmaskills connectors commands retrieve public data; you assemble and
interpret it. Every claim carries a source identifier and link, and weak evidence is called weak.
Everything is a draft for qualified human review.
When to use / when not to use¶
Use for target triage, a first-pass target-disease assessment and background for a target selection discussion, for human proteins and genes.
Do not use for: toxins, pathogen enhancement or gain-of-function work, biological or chemical weapons (refuse, see Guardrails); validating a target's causal role; clinical or investment decisions without expert review; targets in non-human organisms unless the user states the research purpose is benign and the organism is not a pathogen of concern.
Inputs¶
Required: a gene symbol or UniProt accession, and a disease (EFO or MONDO identifier, or free
text). Ask once for anything missing, then proceed with stated assumptions and
[DATA NEEDED: ...] placeholders (for example [DATA NEEDED: disease context]). If the disease
is missing, produce a target-only profile.
Region assumed: not region-specific (public databases); say so. Record the Open Targets release, ChEMBL release, UniProt and PubMed retrieval dates in the dossier.
If pharmaskills is not installed or there is no network, tell the user to run
uv tool install pharmaskills or to check connectivity, then give a template-only dossier from
templates/target_dossier.md marked unverified, with no identifiers or scores.
Check pharmaskills --version against min_pharmaskills.
Workflow¶
- Screen the request against the dual-use policy in
references/dual-use-policy.md. If it is aimed at a toxin, a pathogen enhancement or similar harm, writeout/refusal.mdand stop. - Resolve the target:
pharmaskills connectors opentargets search <symbol> --jsonto get the Ensembl id;pharmaskills connectors uniprot search "gene:<symbol> AND organism_id:9606" --jsonoruniprot fetch <accession>for the protein. Prefer reviewed entries. - Association evidence:
pharmaskills connectors opentargets fetch <ENSG> -p view=associations -p limit=25 --json(score per disease; the disease of interest first, then the top others) and-p view=tractabilityfor modality flags. - Ligands and compounds:
pharmaskills connectors chembl search <name> --jsonfor named compounds;chembl search <CHEMBL id> -p kind=activity -p target=<CHEMBL target id>links a molecule to the target. Do not call a compound "approved for this target" without that link and amax_phaseof 4. - Literature:
pharmaskills connectors pubmed search "<symbol>[Title/Abstract] AND <disease> AND review[Publication Type]" -n 5 --json. Report titles only; do not summarise findings you did not read. - Assess strength.
high: strong disease association (score 0.5 or more) plus tractability or approved compounds;moderate: some of these;low: score below 0.5, no compounds, few papers. For low evidence write the "LOW EVIDENCE" warning in the dossier and inwarnings. - Risks and competition. Open Targets safety and tissue expression are not returned by the
connectors: list them as
[DATA NEEDED: ...], never from memory. Competition comes from ChEMBL phases; for the clinical pipeline point tocompetitive-landscape. - Write
out/evidence.json(one entry per claim withsource,source_id,url,retrieved_at; schema inreferences/evidence-schema.md) andout/target_dossier.mdfromtemplates/target_dossier.md. Runpharmaskills docs banner --apply out/target_dossier.mdfor the draft banner and a provenance block. - Report with the output contract.
Output contract¶
| File | Content |
|---|---|
out/target_dossier.md |
Summary, evidence table with ids and links, risks, competition, versions, limitations, draft banner and provenance block |
out/evidence.json |
Machine-readable claims, evidence level, warnings, versions, data needed |
State in your answer: the evidence level, key numbers with ids, source versions and what is missing. Every number and identifier must come from a tool output.
Verification¶
Check and report pass or fail: every claim row has a source id and link; every identifier
(ENSG, UniProt, CHEMBL, PMID) appears in a connector output saved in the session; scores are
copied unrounded to three decimals; low-evidence targets carry the warning; versions are stated;
out/evidence.json validates against the schema.
Guardrails¶
- Region: the dossier is region-independent (public target and disease evidence); state the region only for competitive or regulatory remarks (FDA with ICH by default).
- Insert the draft banner and a provenance block in every generated document.
- Never fabricate identifiers, scores, PMIDs, NCT ids, drug names or safety statements. Use
[DATA NEEDED: ...]for anything the connectors did not return. - Dual use: decline requests aimed at toxins, chemical or biological weapons, pathogen enhancement or gain-of-function, or any harmful use. Do not provide partial help or workarounds; offer benign alternatives (for example vaccine or countermeasure target discussion at a public-literature level).
- Do not present association scores as causality or as a recommendation to develop a drug.
- State assumptions: human target, public data only, release versions.
References¶
references/evidence-schema.md-evidence.jsonfields and evidence levelsreferences/dual-use-policy.md- what is declined and howreferences/sources.md- connector parameters, data versions and documentation URLs- Public sources: Open Targets Platform documentation (platform-docs.opentargets.org), ChEMBL web services documentation, UniProt REST documentation, NCBI E-utilities.
Templates: templates/target_dossier.md. Scripts: scripts/run_target_queries.sh (thin wrapper).
Examples¶
Worked example: examples/discovery/target-dossier/ (EGFR in non-small cell lung cancer; an
obscure target, C1orf159, with the low-evidence warning; a refusal). Recorded public API
responses are under skills/target-dossier/evals/fixtures/.
Worked example¶
Committed example with inputs and outputs: examples/discovery/target-dossier/.
Skill: skills/target-dossier. Stage: discovery.
Recorded public API responses (2026-10-14), trimmed and committed in
skills/target-dossier/evals/fixtures/ so evals need no network:
| File | Source URL pattern |
|---|---|
egfr/ot_search.json, ot_assoc.json, ot_tract.json |
https://api.platform.opentargets.org/api/v4/graphql (Open Targets Platform 26.09, API 26.9.0) |
egfr/uniprot_P00533.json |
https://rest.uniprot.org/uniprotkb/P00533.json |
egfr/chembl_*.json, chembl_activity_counts.json |
https://www.ebi.ac.uk/chembl/api/data/ (ChEMBL_37) |
egfr/pubmed_reviews.json |
NCBI E-utilities esearch and efetch |
obscure/* |
Same sources for C1orf159 (ENSG00000131591) |
Outputs in out/:
evidence.json,target_dossier.md: EGFR in non-small cell lung cancer (evidence level high, three approved compounds).obscure/evidence.json,target_dossier_obscure.md: C1orf159, low-evidence warning.refusal_pathogen_enhancement.md: correct response to the dual-use adversarial request.
evidence.json entries were generated from the fixtures by a script; the narrative copies
their numbers. Reproduce: pharmaskills eval run --skill target-dossier.
Skill source: skills/target-dossier/SKILL.md