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 skills add Kdevos12/ALKYL --skill pepflexgit 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/pepflex)<a href="https://agentmods.dev/skills/kdevos12/alkyl/pepflex"><img src="https://agentmods.dev/badge/skills/kdevos12/alkyl/pepflex/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.
<a href="https://agentmods.dev/skills/kdevos12/alkyl/pepflex"><img src="https://agentmods.dev/badge/skills/kdevos12/alkyl/pepflex.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00038 | $0.02534 |
| Opus 5.5 | $0.00015 | $0.01014 |
| Sonnet 5.5 | $0.00008 | $0.00507 |
| Haiku 4.5 | $0.00004 | $0.00253 |
Grade A, and why
pepflex 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.
How it starts
The opening of the file, as written. The whole thing — 305 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PepFlex
Python framework for in silico peptide evolution: random generation, mutation/crossover, custom fitness evaluation, and multi-round population optimization.
Repo: github.com/Kdevos12/PepFlex | PyPI: pepflex==0.0.4
When to Use This Skill
- Running evolutionary / genetic algorithm optimization on peptide sequences
- Screening peptide libraries with custom fitness functions (ML models, physicochemical filters)
- Generating, mutating, and recombining SMILES-based peptide representations
- Building multi-round directed evolution simulations in silico
- Integrating ML activity predictors into a peptide optimization loop
Installation
pip install pepflex==0.0.4
# Python ≥ 3.8
Core Classes at a Glance
| Class | Role |
|---|---|
PeptideGenerator |
Generate random peptide sequences |
Peptide |
Single peptide with sequence, metadata, properties |
PeptidePoolManager |
Population container (add, retrieve, size) |
PeptideMutator |
Register and apply mutation rules |
Evaluator |
Pipeline of fitness functions + ranker |
PoolRoundProcessor |
Orchestrate one full evolution round |
Quick Start — Full Evolutionary Loop
from pepflex import (
PeptideGenerator, Peptide, PeptidePoolManager,
PeptideMutator, Evaluator, PoolRoundProcessor
)
import pandas as pd
# 1. Generate initial pool
gen = PeptideGenerator()
initial_smiles = gen.generate_random_peptides(num_peptides=50, min_length=5, max_length=15)
pool = PeptidePoolManager()
for i, smiles_list in enumerate(initial_smiles):
pool.add_peptide(Peptide(smiles_list, peptide_id=f"pep_{i}"))
print(f"Initial pool: {pool.get_pool_size()} peptides")
# 2. Configure mutations
mutator = PeptideMutator()
mutator.add_mutation_rule(mutation_type='n_terminal_addition', probability=0.3)
mutator.add_mutation_rule(mutation_type='inter_mutation', probability=0.5)
# 3. Define evaluation pipeline (DataFrame-based)
def add_length(df): df["length"] = df["sequence"].str.len(); return df
def filter_min7(df): return df[df["length"] >= 7]
def my_scorer(df): df["score"] = df["length"] * 0.1; return df # replace with ML model
pipeline = [add_length, my_scorer, filter_min7]
ranker = lambda df: df.nlargest(20, "score")
evaluator = Evaluator(evaluation_pipeline=pipeline, ranker_function=ranker)
# 4. Set up round processor
rp = PoolRoundProcessor()
rp.set_generation_function(
lambda n: [Peptide(s, source_generation_params={"type": "replenishment"})
for s in gen.generate_random_peptides(n, 5, 15)]
)
rp.add_pipeline_step('mutation', rp._execute_mutation_step,
name='Mutate', mutator=mutator, probability_of_application=0.8)
rp.add_pipeline_step('crossover', rp._execute_crossover_step,
name='Crossover', num_crossovers=10, crossover_probability_per_pair=0.7)
rp.add_pipeline_step('evaluation', rp._execute_evaluation_step,
name='Evaluate', evaluator_instance=evaluator)
rp.add_pipeline_step('replenishment',rp._execute_replenishment_step,
name='Replenish', target_size=50)
rp.add_pipeline_step('truncation', rp._execute_truncation_step,
name='Truncate', max_size=50)
# 5. Run N rounds
all_logs = pd.DataFrame()
for i in range(5):
pool, logs = rp.run_round(pool, round_name=f"Round_{i+1}")
all_logs = pd.concat([all_logs, logs], ignore_index=True)
print(f"Round {i+1} — pool size: {pool.get_pool_size()}")
# 6. Inspect final population
top = pool.get_all_peptides()[:10]
for p in top:
print(f" {p.peptide_id[:8]} 1L={p.one_letter_sequence} len={p.length}")
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.
- 1mo ago First seen · 305 lines · 38 tokens per session scan A 06da2c3c4f86
pepflex is a skill published in the GitHub repository Kdevos12/ALKYL (7 stars, last pushed 7mo ago), licensed MIT. It adds 38 tokens to every session and 2,534 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-08-31.
Other skills, from other repositories
rdkit
Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom…
datamol
Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…
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.
molecular-optimization
Iterative lead optimization with analyze-reason-generate-verify-evaluate loop. Paper-backed (MT-Mol, DrugR, MultiMol).
nmr-compound-inference
Analyze 1D 1H or 13C NMR data with nmrglue, generate spectrum plots and peak tables, compare against standard NMR libraries such as BMRB, HMDB, SDBS, and nmrshiftdb2, then produce a ranked candidate-compound report with evidence, caveats, and direct links.