Logo de Target Safety

Target Safety

Organização
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.

Visão geral

Publicado porK-Dense-AI
Repositóriodrug-discovery-agent-skills
Nome da habilidadetarget-safety
Estrelas
51
Forks
5
Arquivos incluídos
7
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 7

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por K-Dense-AI no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Target Safety no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/target-safety
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Target Safety em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Target Safety automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Target Safety não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo 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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Target Safety faz?

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...

Por que usar Target Safety no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Target Safety é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Target Safety no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/target-safety. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Target Safety?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Target Safety?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Target Safety com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Target Safety é gratuita?

Sim. A habilidade é publicada no GitHub por K-Dense-AI sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇