/install fep-alternative
FEP Alternative Skill
This skill predicts relative binding free energy or activity labels for newly
designed small molecules using the SciMiner PBCNet 2.0 tool. It is a
PBCNet-based alternative workflow for FEP-style lead optimization tasks, not an
explicit molecular-dynamics FEP simulation.
The core SciMiner workflow uses:
PBCNet 2.0for relative binding affinity or activity-label predictionGninafor generating docked 3D binding conformations when candidate or reference ligand poses are missing- PDB database retrieval through the bundled
rcsb-pdb-skillwhen the user has activity data but no protein-ligand crystal structure
When to use this skill
- Predict relative binding free energy, binding affinity, or activity labels for newly designed molecules against a known target.
- The user has one or more reference molecules with measured biological activity against the same target and wants to predict newly designed molecules.
- The user provides a receptor PDB file, reference ligand conformations, labels, and candidate molecules, or asks the agent to complete missing receptor, pocket, docking, or conformation files.
- The user asks for an FEP alternative, fast relative activity prediction, PBCNet, or PBCNet 2.0.
Required PBCNet inputs
PBCNet 2.0 requires these conceptual inputs:
- protein receptor PDB file
- SDF file containing 3D binding conformations of reference molecules
- activity label values for the reference molecules
- SDF file containing docked 3D binding conformations of molecules to be tested
If the user cannot provide all of these files, collect the missing information and supplement it through the workflows below. Do not send random or undocked candidate conformations to PBCNet; the candidate SDF must contain already-docked binding poses.
Method selection rule
- If all PBCNet-ready files are available, invoke
PBCNet 2.0directly. - If a protein-ligand crystal structure or receptor PDB plus original/reference
ligand pose is available, use the original ligand position as the binding
pocket, run
Gninato dock the molecules to be tested, and then invokePBCNet 2.0. - If measured reference activities are available but no crystal structure is
available, search the PDB for structures of the same target with co-crystal
ligands similar to the measured reference ligands. Keep candidates with
ligand similarity higher than 30%, select the crystal with the highest
ligand similarity and acceptable structure quality, extract the receptor and
binding pocket from that crystal, dock measured reference molecules and test
molecules with
Gnina, choose poses whose binding modes are most consistent with the measured reference molecules, and then invokePBCNet 2.0. - If target identity, reference ligand structures, activity labels, or test molecule structures are missing and cannot be recovered from explicit user context, ask the user for the missing information before invoking SciMiner.
Prerequisites
- Obtain a free SciMiner API key from
https://sciminer.tech/utility. - Store it outside this repository at
~/.config/sciminer/credentials.jsonwith JSON shaped as{"api_key":"your_api_key_here"}. - For SciMiner calls, read the API key from
~/.config/sciminer/credentials.jsonand send it as theX-Auth-Tokenheader. - Never print, persist, or store the API key in prompts, logs, or repository files. Agents should remember only the credential file path.
If ~/.config/sciminer/credentials.json is not available or does not contain
an api_key field, stop and tell the user to obtain a free SciMiner API key
from https://sciminer.tech/utility and store it in that file. Do not try to
complete the task by switching to other tools or services.
Authoritative tool-doc source (required)
The published Markdown files under https://sciminer.tech/tool_api_files/ are
the single source of truth for SciMiner provider_name, tool_name, allowed
parameters, file-upload behavior, request encoding, and submission flow.
Use these SciMiner Markdown docs:
PBCNet 2.0->PBCNet 2.0_api_doc.mdGnina->Gnina_api_doc.md
For PDB database retrieval and ligand-similarity searches, read the bundled database sub-skill before querying public resources:
rcsb-pdb-skill/SKILL.md
The agent MUST:
- Resolve the selected SciMiner tool's Markdown file and read it before every invocation.
- Never invent
provider_name,tool_name, parameter names, enum values, upload-field names, content type, or submission flow from memory. - Extract and follow the selected SciMiner doc section's exact:
- Base URL
- API endpoint
- Content-Type
- Authentication header
- Tool Name
- Method
- Parameter table, including required fields and enum values
- File-upload instructions and example code
- Choose the correct doc section if the selected doc contains multiple tool variants, such as reference-ligand input vs pocket-center input.
- Cite the selected Markdown docs as the payload source in summaries.
If a user-provided parameter is not present in the selected Markdown doc section, ask for correction or drop it with an explanation.
Required workflow
- Build an input ledger before running tools. Track target identity, receptor PDB or PDB ID, reference molecule structures, reference activity labels and units, candidate molecule structures, binding pocket definition, and which files are already PBCNet-ready.
- Determine whether the task fits the direct PBCNet path, the crystal-guided docking completion path, or the no-crystal PDB-retrieval path.
- Read the
PBCNet 2.0Markdown doc before constructing any PBCNet payload. - If docking is needed, read the
GninaMarkdown doc before docking any molecule and choose the doc section that matches the available pocket input. - If no crystal structure is available, read the bundled
rcsb-pdb-skill/SKILL.mdsub-skill and retrieve PDB structures for the same target using ligand similarity to the measured reference ligands. Keep structures with ligand similarity higher than 30%, prefer the highest similarity, and consider resolution, chain completeness, ligand relevance, and mutation state when breaking ties. - For crystal-guided workflows, use the original ligand position in the user-provided or selected crystal structure as the binding pocket.
- For no-crystal workflows, extract the protein receptor PDB file and bound ligand pocket from the selected PDB crystal, then dock both measured reference molecules and molecules to be tested in that pocket.
- When multiple docked poses are produced, select the pose whose binding mode is most similar to the measured reference molecule poses. Prefer explicit geometric criteria such as common-pocket overlap, key interaction retention, or RMSD to the reference pose when available; otherwise report the pose selection rationale.
- Assemble the reference SDF so its molecule order matches the activity label order exactly. Preserve user-provided activity units and transformations; do not invent or convert labels unless the user requested the conversion or confirmed the rule.
- Upload required file inputs exactly as described by the selected SciMiner
Markdown docs and replace local paths with returned
file_idvalues. - Write or run invocation code directly from the selected Markdown docs' base-information block, parameter table, file-upload instructions, and example code. Do not apply a shared invocation template or local registry abstraction in this skill.
- Poll the task result and return the
share_urlin the final user-facing summary.
Missing-input completion rules
- Missing receptor PDB but target and measured ligand are known: search PDB for same-target co-crystal structures using ligand similarity, require ligand similarity higher than 30%, then select the best supported crystal.
- Missing candidate binding conformations: run
Gninadocking in the selected or user-provided pocket and use the docked SDF output as the PBCNet candidate conformation input. - Missing reference ligand SDF but a crystal ligand is present: extract or prepare the crystal ligand pose as a 3D SDF when that ligand corresponds to a measured reference molecule; otherwise ask the user to confirm the reference mapping.
- Missing measured activity labels: ask the user for values and units. Public database activities may be used only when the user asks for retrieval or confirms the selected measurements.
- Missing test molecules: ask for SDF, SMILES, or another structure file format
accepted by the selected
Gninadoc section.
File upload rules
- Upload every required file parameter described by the selected SciMiner Markdown doc before invocation.
- Replace local paths in
parameterswith the returnedfile_idstrings. - Use the upload form field documented by the selected SciMiner Markdown doc.
- Skip optional file parameters that the user did not provide.
Expected result format
{
"status": "SUCCESS",
"result": {...},
"task_id": "xxx",
"share_url": "https://sciminer.tech/share?id=\x3Ctask_id>&type=API_TOOL"
}
Workflow guidance
- Complete receptor, reference SDF, labels, and docked candidate SDF ->
PBCNet 2.0. - Receptor or crystal structure plus candidate molecules but no candidate poses
->
Gnina, thenPBCNet 2.0. - Reference activities but no crystal structure -> PDB ligand-similarity
retrieval, receptor and pocket extraction,
Gninadocking, thenPBCNet 2.0. - Ambiguous labels, units, molecule ordering, target identity, or reference mapping -> ask for clarification before submitting PBCNet.
Notes
- Use the selected SciMiner Markdown docs under
https://sciminer.tech/tool_api_files/as the authoritative source for payload construction and invoke-method details. - Read the SciMiner API key from
~/.config/sciminer/credentials.jsonand send it as theX-Auth-Tokenheader. Do not print or persist the API key in prompts, logs, or repository files. - If
~/.config/sciminer/credentials.jsonis missing or does not contain anapi_keyfield, stop and tell the user to obtain a free SciMiner API key fromhttps://sciminer.tech/utilityand store it in that file. provider_nameandtool_namemust exactly match the selected Markdown doc.- Use the selected Markdown doc to determine PBCNet
label_listformatting, Gnina pocket specification, file inputs, parameter placement, and any tool-specific submission details. - Important: when summarizing results to users, attach the
share_urllinks of every successful task at the end so that users can view the online results, rather than showing file download links. - For long-running tasks without a fixed ETA, poll for no more than 6000
seconds; if the task is still running, stop polling and return the current
task_idandshare_urlso the user can check later.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install fep-alternative - After installation, invoke the skill by name or use
/fep-alternative - Provide required inputs per the skill's parameter spec and get structured output
What is FEP Alternative?
Relative binding free-energy and activity-label prediction workflows using PBCNet 2.0 on SciMiner, with Gnina docking and PDB/database retrieval to complete... It is an AI Agent Skill for Claude Code / OpenClaw, with 35 downloads so far.
How do I install FEP Alternative?
Run "/install fep-alternative" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is FEP Alternative free?
Yes, FEP Alternative is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does FEP Alternative support?
FEP Alternative is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created FEP Alternative?
It is built and maintained by SciMiner (@sciminer); the current version is v1.0.0.