active-learning

active-learning is a skill for Claude Code from Kdevos12/ALKYL. It costs 63 tokens per session (770 once invoked), scanned A, original, MIT.

A guide for active learning in drug discovery, where a model chooses which chemical compounds to test next, learns from the results, and repeats. DMTA means Design, Make, Test, Analyze—the cycle used to improve compounds through experiments.

In plain words
What is it for?
Planning molecular optimization campaigns, ranking compounds for virtual screening, combining model uncertainty with experiment choices, and managing docking or assay feedback loops.
Why use it?
It helps reduce unnecessary laboratory or computer experiments by prioritizing the compounds expected to provide the most useful information.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the alkyl plugin — 27 skills shipped together

Good fit Planning molecular optimization campaigns, ranking compounds for virtual screening, combining model uncertainty with experiment choices, and managing docking or assay feedback loops.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kdevos12/alkyl/active-learning
Install

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.

Any agent
npx skills add Kdevos12/ALKYL --skill active-learning
Clone the repo
git clone --depth 1 https://github.com/Kdevos12/ALKYL

Made for: Claude Code.

Or install alkyl, the plugin that ships this one along with the rest of its 27 skills.

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

agentmods badge for active-learning

README.md
[![agentmods](https://agentmods.dev/badge/skills/kdevos12/alkyl/active-learning/github.svg)](https://agentmods.dev/skills/kdevos12/alkyl/active-learning)
Your own site
<a href="https://agentmods.dev/skills/kdevos12/alkyl/active-learning"><img src="https://agentmods.dev/badge/skills/kdevos12/alkyl/active-learning/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for active-learning

Your own site · 80×15
<a href="https://agentmods.dev/skills/kdevos12/alkyl/active-learning"><img src="https://agentmods.dev/badge/skills/kdevos12/alkyl/active-learning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 770 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.00770
Opus 5.5 $0.00025 $0.00308
Sonnet 5.5 $0.00013 $0.00154
Haiku 4.5 $0.00006 $0.00077

Measured 2mo ago against content hash e8d19859110b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

active-learning 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 2mo 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.

skills/active-learning/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Active Learning for Drug Discovery

Purpose

Closed-loop molecular optimization: iteratively query the most informative compounds, label with assay/oracle, retrain model. Accelerates hit-to-lead and lead optimization by minimizing wet-lab experiments.

When to Use This Skill

  • Building a surrogate model to replace expensive docking/assay calls
  • Running a DMTA (Design-Make-Test-Analyze) loop
  • Accelerating virtual screening with AL-ranked acquisition
  • Combining QSAR uncertainty with experimental prioritization

Reference Files

Load specific references on demand:

File Content
references/al-theory.md Query strategies, acquisition functions, convergence, pool vs stream
references/molecular-al.md Molecular representations, batch AL, diversity-reweighted sampling
references/uncertainty-integration.md GP/conformal/ensemble signals → acquisition, calibration
references/docking-al.md Surrogate docking oracle, VS acceleration, Logloss/BEDROC metrics
references/dmta-loop.md Full DMTA cycle, stopping criteria, experiment prioritization, case studies

Quick Routing

"I want to find actives with fewest assay calls" → al-theory.md (query strategy) + molecular-al.md (batch AL)

"I want to accelerate a docking campaign" → docking-al.md (surrogate oracle)

"I have GP/conformal uncertainty, want to plug into AL loop" → uncertainty-integration.md

"I'm running a real DMTA cycle with a CRO" → dmta-loop.md

Core Loop Pattern

# Canonical active learning loop
labeled_pool = initial_dataset          # seed: 50–200 diverse cpds
unlabeled_pool = virtual_library        # 10k–1M candidates

for round in range(n_rounds):
    model.fit(labeled_pool.X, labeled_pool.y)
    scores = acquisition_fn(model, unlabeled_pool.X)  # uncertainty / EI / UCB
    batch = select_batch(unlabeled_pool, scores, k=batch_size)
    labels = oracle(batch)              # assay / docking / human expert
    labeled_pool = labeled_pool + (batch, labels)
    unlabeled_pool = unlabeled_pool - batch

Read the full file on GitHub · 71 lines

Files

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.

Changes

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.

  1. 2mo ago First seen · 71 lines · 63 tokens per session scan A e8d19859110b

Subscribe to this mod's changes

active-learning is a skill published in the GitHub repository Kdevos12/ALKYL (7 stars, last pushed 7mo ago), licensed MIT. It adds 63 tokens to every session and 770 once invoked, about $0.0003 per session on Opus 5.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.

Related

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…

synthetic-sciences/openscience · 78 tokens

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.

synthetic-sciences/openscience · 42 tokens

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…

K-Dense-AI/drug-discovery-agent-skills · 121 tokens

fragment-based-count-matrix-generation

Use when you have a backed AnnData object containing processed fragment data (stored in .obsm['fragmentpaired'] or .

HolobiomicsLab/asb-skill-collections · 33 tokens

methylbase-object-handling

Use when after reading in per-sample methylation call files with methRead() and obtaining methylRawList objects, but before calculating differential methylation or performing annotation.

HolobiomicsLab/asb-skill-collections · 40 tokens

monocle3-trajectory-embedding

Use when you have an ArchR project object with dimensionality reduction results (LSI or combined dimensions from scATAC-seq ± scRNA-seq) and want to infer pseudotime trajectories and cell-state transitions.

HolobiomicsLab/asb-skill-collections · 54 tokens