Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/kdevos12/alkyl/uncertainty-qsarnpx skills add Kdevos12/ALKYL --skill uncertainty-qsargit clone --depth 1 https://github.com/Kdevos12/ALKYLWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kdevos12/alkyl/uncertainty-qsar)<a href="https://agentmods.dev/skills/kdevos12/alkyl/uncertainty-qsar"><img src="https://agentmods.dev/badge/skills/kdevos12/alkyl/uncertainty-qsar.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00080 | $0.01620 |
| Opus 5 | $0.00040 | $0.00810 |
| Sonnet 5 | $0.00016 | $0.00324 |
| Haiku 4.5 | $0.00008 | $0.00162 |
Grade A, and why
uncertainty-qsar scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Uncertainty-Aware QSAR
QSAR models that output only point predictions are insufficient for drug discovery decisions. Uncertainty quantification (UQ) transforms predictions into actionable confidence intervals: "LogD = 2.3 ± 0.4 (90% CI)" is far more useful than "LogD = 2.3".
When to Use This Skill
- Build QSAR models with calibrated prediction intervals (not just point predictions)
- Assess whether a query molecule is within the applicability domain (AD) of the model
- Design active learning loops: prioritize compounds with high epistemic uncertainty
- Rank compounds when model uncertainty is high (don't trust raw predictions alone)
- Regulatory/submission context requiring prediction confidence bounds
- Compare model calibration (is the stated 90% CI actually 90% coverage?)
Uncertainty Types
| Type | What it means | How to reduce | Methods |
|---|---|---|---|
| Epistemic | Model doesn't know (lack of training data) | Add more training data | GP variance, ensemble disagreement, MC dropout std |
| Aleatoric | Intrinsic noise (measurement error) | Can't be reduced | Heteroscedastic models, learned noise σ |
| Total | Combined uncertainty | — | Epistemic + Aleatoric in prediction |
Quick Start — Conformal Prediction (MAPIE)
from mapie.regression import MapieRegressor
from sklearn.ensemble import RandomForestRegressor
import numpy as np
# Fit + calibrate
base_model = RandomForestRegressor(n_estimators=100, random_state=42)
mapie = MapieRegressor(base_model, method="plus", cv=5)
mapie.fit(X_train, y_train)
# Predict with intervals (alpha = desired error rate)
y_pred, y_pi = mapie.predict(X_test, alpha=0.10) # 90% CI
# y_pi shape: (n_samples, 2, n_alpha)
lower = y_pi[:, 0, 0]
upper = y_pi[:, 1, 0]
# Coverage check
coverage = np.mean((y_test >= lower) & (y_test <= upper))
print(f"Empirical coverage: {coverage:.2%}") # should be ~90%
Quick Start — Tanimoto GP
import gpytorch
import torch
from rdkit.Chem import rdMolDescriptors
class TanimotoKernel(gpytorch.kernels.Kernel):
"""Tanimoto similarity kernel for binary fingerprints."""
has_lengthscale = False
def forward(self, x1, x2, **params):
x1_sum = x1.sum(-1, keepdim=True)
x2_sum = x2.sum(-1, keepdim=True)
dot = torch.matmul(x1, x2.transpose(-1, -2))
intersection = dot
union = x1_sum + x2_sum.transpose(-1, -2) - dot
return intersection / union.clamp(min=1e-8)
# Usage:
# fps = np.array([get_morgan_fp(smi) for smi in smiles_list])
# X = torch.tensor(fps, dtype=torch.float32)
# y = torch.tensor(activities, dtype=torch.float32)
# → see references/gaussian-processes.md for full GP model
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 126 lines · 80 tokens per session scan A 65f32d0b66e5
uncertainty-qsar is a skill published in the GitHub repository Kdevos12/ALKYL (6 stars, last pushed 5mo ago), licensed MIT. It adds 80 tokens to every session and 1,620 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
deepchem
Molecular ML with diverse featurizers and pre-built datasets. Use for property prediction (ADMET, toxicity) with traditional ML or GNNs when you want extensive featurization options and MoleculeNet benchmarks. Best for quick experiments with pre-trained models, diverse molecular representations. For graph-first…
structure-prediction
Protein structure prediction from sequence. ESMFold-based, single GPU, no MSA needed. Predicts 3D structures with pLDDT confidence scores for drug discovery targets.
primekg
Query the Precision Medicine Knowledge Graph (PrimeKG) for multiscale biological relationships across genes and proteins, drugs, diseases, phenotypes, pathways, biological processes, exposures and anatomy. Use this skill to search entities by name, pull direct neighbours and their evidence types, summarise the local…
motif-annotation-correlation-analysis
Use when you have a chromVARDeviations object with multiple annotation sets (such as JASPAR motifs and kmers) and need to determine which annotation pairs are redundant (high correlation) versus synergistic (high synergy z-scores).
motif-enrichment-statistical-testing
Use when after identifying a set of differentially accessible peaks (via tl.difftest or equivalent), when you need to infer which transcription factors may regulate the observed chromatin state changes.
multiome-data-ingestion-paired-modalities
Use when you have independently generated or received both scATAC-seq peak count matrices and scRNA-seq gene expression matrices from the same set of cells (multiome experiment), and you need to perform joint analysis such as co-clustering, trajectory inference, or regulatory inference that.