Logo di Target Safety

Target Safety

Organizzazione
K-Dense-AI
target-safety

Assemble the human genetic evidence for and against a target before a programme commits to it — the evidence class that most improves the odds of surviving clinical development. Use this skill to pull gnomAD constraint metrics (LOEUF, pLI, observed/expected) that show whether loss of function is tolerated in people, retrieve GWAS Catalog associations and fine-mapped credible sets for a gene, and read a natural human knockout as a safety readout. Also trigger on gnomAD, LOEUF, pLI, loss-of-function intolerance, mutational constraint, GWAS Catalog, credible set, human knockout, genetic support, or target safety dossier.

Panoramica

Pubblicato daK-Dense-AI
Repositorydrug-discovery-agent-skills
Nome della skilltarget-safety
Stelle
51
Fork
5
File inclusi
7
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 7

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da K-Dense-AI su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Target Safety in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/target-safety
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/K-Dense-AI/drug-discovery-agent-skills.git /tmp/drug-discovery-agent-skills
mkdir -p .claude/skills
cp -r /tmp/drug-discovery-agent-skills/skills/target-safety .claude/skills/target-safety
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Target Safety in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Target Safety non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Target Safety non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Target Safety Assessment

Two public datasets answer the question that comes before every programme: what happens to people who naturally have less of this protein? gnomAD says whether such people exist. The GWAS Catalog says what else changes when they do. Targets with human genetic support are roughly twice as likely to survive clinical development, and this is the only evidence class available before a molecule does.

Services: https://gnomad.broadinstitute.org/api (GraphQL, POST) · https://www.ebi.ac.uk/gwas/rest/api/v2 (REST). Both unauthenticated. Checked against: gnomAD v4.1 and the live GWAS Catalog v2 API, August 2026.

Read references/gnomad-constraint.md before quoting a constraint number, references/gwas-catalog.md before writing a query by hand, and references/interpreting-genetic-evidence.md before drawing a conclusion — that one is judgement, not syntax.

The three scripts

ScriptAnswers
gnomad_constraint.pyDo healthy humans exist who have lost this protein?
gwas_evidence.pyWhat traits is this gene associated with, and how solidly?
safety_dossier.pyBoth at once, as a verdict with its inputs beside it

A drug is a chemical phenocopy of a loss-of-function variant

That equivalence is the whole idea. If people carrying LoF variants in a gene are healthy and common, inhibiting the protein is likely survivable. If those variants have been removed from the population by selection, that is a warning you can read years before a tox study.

bash
python skills/target-safety/scripts/gnomad_constraint.py compare LRRK2 PCSK9 SCN2A KRAS HTT
symbol  loeuf   band            pLI        obs_lof  exp_lof
SCN2A   0.154   constrained     1          20       188.7
KRAS    0.2264  constrained     0.9998     1        20.95
HTT     0.3379  constrained     1          104      362.3
LRRK2   0.7537  tolerant        1.317e-43  203      302.6
PCSK9   1.144   unconstrained   2.765e-18  57       62.12

obs_lof against exp_lof is the whole argument. KRAS: one observed loss-of-function variant where twenty-one were expected. PCSK9: fifty-seven observed against sixty-two expected — no depletion at all. Human PCSK9 knockouts are healthy and have low LDL cholesterol, which is exactly why evolocumab and alirocumab exist. The constraint table said so before the drugs did.

Use LOEUF, not pLI. pLI is a posterior forced toward 0 or 1 and cannot rank two intolerant genes; LOEUF is continuous and carries its uncertainty in the value. Note how pLI calls both SCN2A and HTT exactly 1 while LOEUF separates them by a factor of two.

An unrecognised GWAS filter returns the entire catalogue

This is the trap to get right on the association side:

GET /associations?mappedGene=LRRK2   ->  93 associations
GET /associations?gene=LRRK2         ->  1142122 associations

Both are HTTP 200. gene is not a parameter, so it was silently dropped and the response is the whole catalogue. Nothing says the filter was ignored. gwas_get() validates parameter names locally and refuses anything unknown, because there is no server-side signal to react to.

Association is positional, not causal

bash
python skills/target-safety/scripts/gwas_evidence.py traits LRRK2
trait                     best_p    associations  studies  sole_mapping
bone density              1e-300    1             1        0
Parkinson disease         4e-148    23            18       18
cathepsin L1 measurement  4e-39     2             2        0

The strongest p-value in that table is not the answer. Bone density at 1e-300 has zero associations mapping to LRRK2 alone — the causal gene at that locus is almost certainly a neighbour. Parkinson disease has eighteen sole-mapping associations across eighteen studies. Ranking by p-value alone picks the wrong one.

Never rank by association count either: the same locus is rediscovered by every new cohort, so a count measures genotyping effort.

The combined readout

bash
python skills/target-safety/scripts/safety_dossier.py gene PCSK9 LRRK2 HTT
symbol  loeuf   band           genome_wide_traits  sole_mapped_hits  verdict
PCSK9   1.144   unconstrained  44                  115               genetically supported
LRRK2   0.7537  tolerant       37                  39                genetically supported
HTT     0.3379  constrained    59                  92                associated but constrained

The two axes are independent and mean opposite things. Tolerant plus associated is the pattern that most improves the odds. Constrained plus associated — HTT — means the biology is real but systemic inhibition should expect mechanism-based toxicity, which is precisely the live debate about lowering wild-type huntingtin.

Four ways this evidence misleads

  1. Absent constraint is missing data, not zero. A gene with too little coverage has no estimate. Reporting that as LOEUF 0 inverts the conclusion. The scripts return unknown.
  2. Constraint only speaks to inhibition. An agonist is not phenocopied by loss of function.
  3. Late-onset effects are invisible. Selection acts on reproductive fitness, so a gene whose loss causes disease at seventy looks unconstrained — in a population that is mostly patients.
  4. Association gives no direction. Whether to inhibit or activate needs an allelic series or Mendelian randomisation, not the association table.

When to stop using these APIs

Direction of effect, effect size, and causal-gene resolution all need summary statistics rather than the association table — fine-mapping, colocalisation, and MR with TwoSampleMR. For variant-level detail, homozygous LoF counts, and per-population frequencies, use the gnomAD browser directly.

Composing with the rest of the bundle

  • open-targets → alongside: aggregated evidence plus L2G scoring, which resolves some of the causal-gene ambiguity this API leaves open.
  • depmap → alongside: cellular essentiality is a different question from human constraint — a gene can be pan-essential in culture and unconstrained in people.
  • uniprot-rcsb → before: resolve an alias to a current HGNC symbol; neither API resolves them.
  • openfda → after: for a target already drugged, what actually happened in people.
  • clinicaltrials → alongside: whether anyone has taken the genetic hypothesis into a trial.

Reporting results honestly

Give LOEUF with its band and the observed/expected counts behind it. Give the best p-value, the number of independent studies, and how many associations map to the gene alone. Call the verdict a heuristic and show both axes. Say "loss of function is tolerated in humans", not "the target is safe"; say "this locus is associated with", not "this gene causes". Genetic support roughly doubles the odds of approval — from low to less low.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Target Safety?

Assemble the human genetic evidence for and against a target before a programme commits to it — the evidence class that most improves the odds of surviving clinical development. Use this skill to pull gnomAD constraint metrics (LOEUF, pLI, observed/expected) that show whether loss of function is tolerated in people, retrieve GWAS Catalog associations and fine-mapped credible sets for a gene, and read a natural human knockout as a safety readout. Also trigger on gnomAD, LOEUF, pLI, loss-of-function intolerance, mutational constraint, GWAS Catalog, credible set, human knockout, genetic suppor...

Perché usare Target Safety su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Target Safety è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Target Safety in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/target-safety. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Target Safety?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Target Safety?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Target Safety: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Target Safety è gratuita?

Sì. È pubblicata su GitHub da K-Dense-AI con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇