molfeat

molfeat is a skill for Claude Code from K-Dense-AI/scientific-agent-skills. It costs 56 tokens per session (2,398 once invoked), scanned A, original, MIT.

A Python toolkit for converting chemical structures, such as SMILES strings, into numerical features that machine-learning models can use. It includes fingerprints, molecular descriptors, and pretrained model representations.

In plain words
What is it for?
Use it to prepare molecules for QSAR or property-prediction models, virtual screening, similarity searches, and deep-learning workflows.
Why use it?
It avoids building and maintaining separate feature-conversion code for different molecular machine-learning methods, and can reuse cached or parallel calculations.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to prepare molecules for QSAR or property-prediction models, virtual screening, similarity searches, and deep-learning workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k-dense-ai/scientific-agent-skills/molfeat
About the project

Scientific Agent Skills is a collection of reusable procedures that give AI agents capabilities for scientific research across areas such as biology, chemistry, medicine, and drug discovery. It is used by researchers and by people building AI scientist workflows with compatible coding agents. The catalogue contains many of the project's skills and supporting instructions.

K-Dense-AI/scientific-agent-skills · 58,946 stars · on GitHub · arxiv.org

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 K-Dense-AI/scientific-agent-skills --skill molfeat
Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills

Made for: Claude Code.

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 molfeat

README.md
[![agentmods](https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/molfeat/github.svg)](https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/molfeat)
Your own site
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/molfeat"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/molfeat/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 molfeat

Your own site · 80×15
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/molfeat"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/molfeat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,398 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. Third-party audits
  • Socket pass 21 Oct 2026
  • Snyk pass 21 Oct 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 226
    Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.
    Fix: Restrict tool access to only the tools required for the skill's stated purpose. Use an explicit allowlist rather than granting blanket access.
How audits are shown
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.00056 $0.02398
Opus 5.5 $0.00022 $0.00959
Sonnet 5.5 $0.00011 $0.00480
Haiku 4.5 $0.00006 $0.00240

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

Security

Grade A, and why

molfeat 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • molfeat — 100% identical, 410 lines differ
skills/molfeat/SKILL.md · 182 lines

How it starts

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

Molfeat — Small-molecule featurization

When to use

Use this skill to turn SMILES or RDKit molecules into fingerprints, descriptors, pharmacophores, or pretrained embeddings for molecular machine learning and similarity search. Compare representations on the same molecular split and assay endpoint.

This skill targets Molfeat 1.0.0. The previous 0.11 runtime guidance is obsolete: 1.x supports modern Python and removes DGL/DGLLife, legacy Graphormer, and protein adapters. Historical model-store cards can still name removed adapters. The tagged 1.0 migration guide and source take precedence over older pages still served at the documentation's stable URL.

Installation

Create an isolated environment. Core examples were executed on Python 3.13.3/macOS Apple Silicon with Molfeat 1.0.0, datamol 0.13.0, RDKit 2026.03.6, and PyTorch 2.14.1.

uv venv --python 3.13 .venv-molfeat
uv pip install --python .venv-molfeat/bin/python "molfeat==1.0.0"

On Windows use .venv-molfeat\Scripts\python.exe as the interpreter path. Upstream supports Python 3.11–3.14; macOS Intel uses Python 3.11–3.12, PyTorch 2.2.x, NumPy<2, and Transformers<5. Other platforms require PyTorch>=2.5. Let Molfeat's platform markers resolve these constraints; do not copy Apple Silicon pins to Intel.

Install only needed extras with the same interpreter: molfeat[transformer]==1.0.0 for Hugging Face models, [mordred] for mordredcommunity, [pyg] for graph tensors, [fcd] for ChemNet embeddings, [selfies] for SELFIES conversion, [cache] for HDF5/Parquet, [viz] for visualization, and [cloud] for S3/GCS stores. DGL and Graphormer extras no longer exist. Pretrained inference may download substantial weights; check model licensing, disk space, and device requirements first.

Workflow

  1. Preserve source record IDs, labels, original structures, and a declared policy for salts, stereochemistry, tautomers, charge, and duplicate compounds. Standardization changes chemical identity; apply the same policy to training and prediction.
  2. Start with an explicit ECFP baseline. A calculator processes one molecule; MoleculeTransformer batches it. datamol.Mol is RDKit's molecule type.
  3. Record rejected positions and align every associated array. Inspect descriptor NaN/Inf separately: successful parsing does not guarantee finite features.
  4. Fit any feature selection, imputation, scaling, and model inside the training fold. Prefer scaffold/group or temporal splits appropriate to the scientific question; random splits can leak close analogues or repeated measurements.
  5. Save the featurizer state, ordered feature names, package versions, molecular preprocessing policy, and input IDs. Revalidate old state after migrating to 1.x.

Read the full file on GitHub · 182 lines

Files

What ships with it

4 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. 1mo ago Changed · -180 lines · +9 tokens per session scan B → A 6bc3c336b58c
  2. 2mo ago Changed · -4 lines 29f8fe15dde6
  3. 2mo ago First seen · 366 lines · 47 tokens per session scan B 4ba753eec9f3

Subscribe to this mod's changes

molfeat is a skill published in the GitHub repository K-Dense-AI/scientific-agent-skills (58,946 stars, last pushed 7d ago), licensed MIT. It adds 56 tokens to every session and 2,398 once invoked, about $0.0002 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-09-03.

Related

molfeat compared with skills from other repositories

molfeat next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
molfeatK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA56Claude Code
discovery-toolboxdekan-aleksandr/biodiscovery-skillsSkill113mo agoMITA122Claude Code
rdkit-qsar-pharmacophoreYuliaNuzhnenko/bioinformatics-agent-skillsSkill103mo agoMITA46Claude Code, Codex
discovery-directordekan-aleksandr/biodiscovery-skillsSkill113mo agoMITA114Claude Code
bulk-rnaseq-counts-to-de-deseq2hossainlab/omics-skillsSkill24mo agoMITA141Claude Code, Codex
seurat-skillAgents365-ai/seurat-skillSkill46mo agoMITA167Claude Code, Codex
gene-protein-expression-matrix-normalizationaipoch/medical-research-skillsSkill2.1k10d agoMITA63Claude Code, Codex