askcos
Retrosynthetic template relevance prediction using a locally deployed ASKCOS TorchServe service.
Skill by lamm-mit
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lamm-mit-askcos
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/askcos
What's inside
- Skill name
askcos- Description
- Retrosynthetic template relevance prediction using a locally deployed ASKCOS TorchServe service. Returns ranked precursor suggestions with confidence scores from 5 template sets (reaxys, pistachio, pistachio_ringbreaker, bkms_metabolic, reaxys_biocatalysis). Requires local deployment at http://localhost:9410.
- License
- MIT
- Metadata
- skill-author: K-Dense Inc.
- Instructions
- 118 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- askcos_retro.cpython-313.pyc · scripts/__pycache__/
- askcos_scraper.cpython-313.pyc · scripts/__pycache__/
- askcos_retro.py · scripts/
- askcos_scraper.py · scripts/
SKILL.md (first lines)
# ASKCOS - Retrosynthetic Template Relevance
## Overview
ASKCOS template_relevance predicts retrosynthetic disconnections using reaction template libraries.
The service runs locally as a TorchServe container (`retro_template_relevance`) and requires a
SMILES input, returning ranked precursor SMILES with template match scores.
Deployment: https://gitlab.com/mlpds_mit/askcosv2/retro/template_relevance
Docs: https://askcos-docs.mit.edu/guide/4-Deployment/4.2-Standalone-deployment-of-individual-modules.html
## Requirements
- Docker container `retro_template_relevance` running at `http://localhost:9410`
- Start/stop: `docker start retro_template_relevance` / `docker stop retro_template_relevance`
## Usage
### Basic Retrosynthesis (JSON output — default)
```bash
python3 skills/askcos/scripts/askcos_retro.py \
--smiles "CC(C)C1CCC(C)CC1O"
```
### Human-readable summary
```bash
python3 skills/askcos/scripts/askcos_retro.py \
--smiles "CC(C)C1CCC(C)CC1O" \
--model reaxys \
--top 10 \
--format summary
```
### Select template set
```bash
python3 skills/askcos/scripts/askcos_retro.py \
--smiles "CC(C)C1CCC(C)CC1O" \
--model pistachio
```
## Parameters
| Flag | Default | Description |
|------|---------|-------------|
| `--smiles` / `-s` | required | Target molecule SMILES |
| `--model` / `-m` | `reaxys` | Template set: `reaxys`, `pistachio`, `pistachio_ringbreaker`, `bkms_metabolic`, `reaxys_biocatalysis` |
| `--top` / `-n` | `10` | Number of top suggestions to return |
| `--base-url` | `http://localhost:9410` | TorchServe base URL |
| `--format` / `-f` | `json` | Output format: `json` or `summary` |
## Environment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| `ASKCOS_BASE_URL` | `http://localhost:9410` | Override TorchServe URL |
| `ASKCOS_MODEL` | `reaxys` | Default template set |
## Output Format (JSON)
```json
{
"target": "CC(C)C1CCC(C)CC1O",
"model": "reaxys",
"total_templates_matched": 191,
"status": "success",
"suggestions": [
{
"rank": 1,
"reactants_smiles": "CC1CCC(C(C)C)C(=O)C1",
"score": 0.4562,
"template_smarts": "[C:1]-[CH;D3;+0:2](-[C:3])-[OH;D1;+0:4]>>[C:1]-[C;H0;D3;+0:2](-[C:3])=[O;H0;D1;+0:4]",
"template_id": "5e1f4b6e6348832850995dbf",
"template_count": 8688,
"necessary_reagent": ""
}
]
}
```
## Example Output (menthol)
```
ASKCOS (reaxys) — CC(C)C1CCC(C)CC1O
Templates matched: 191
# 1 score=0.4562 n= 8688 precursors: CC1CCC(C(C)C)C(=O)C1
# 2 score=0.0387 n= 20 precursors: CC1CCC2C(C1)OC(=O)C2C
# 3 score=0.0387 n= 20 precursors: CC(C)C1CCC2CC1OC2=O
# 4 score=0.0321 n= 245 precursors: CC1C=CC(C(C)C)CC1 reagent: [O]
# 5 score=0.0279 n=26868 precursors: CC(=O)OC1CC(C)CCC1C(C)C
```
Top hit (menthone → menthol via reduction) correctly recovers the industrial Takasago process.
## Integration with Other Skills
```bash
# Get SMILES from RDKit, then run retrosynthesis
SMILES="CC(C)C1CCC(C)CC1O"
# Retrosynthesis
python3 skills/askcos/scripts/askcos_retro.py --smiles "$SMILES" --top 5 --format json
# Analyse top precursor with RDKit
PRECURSOR="CC1CCC(C(C)C)C(=O)C1"
python3 skills/rdkit/scripts/molecular_properties.py --smiles "$PRECURSOR"
```
## References
- ASKCOS: Coley et al., Science 2019. DOI: 10.1126/science.aax1566
- Template relevance: Coley et al., ACS Central Science 2017. DOI: 10.1021/acscentsci.7b00355
- GitLab: https://gitlab.com/mlpds_mit/askcosv2/retro/template_relevanceFrom lamm-mit/scienceclaw, MIT.
More from lamm-mit/scienceclaw
- 0.516score
generate-image
lamm-mit
Generate or edit images using AI models (FLUX, Gemini).
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
jax-modal-analysis
lamm-mit
3D tetrahedral FEM modal analysis of a membrane STL.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
esm
lamm-mit
Comprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C…
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
fem-analysis
lamm-mit
Modal analysis of a membrane STL using Kirchhoff plate FEM (scipy eigensolver).
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
disease-research
lamm-mit
Generate comprehensive disease research reports using 100+ ToolUniverse tools.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
geometry-generator
lamm-mit
Generate parametric bioinspired ribbed membrane STL geometry via LLM-guided design.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
ase
lamm-mit
Atomic Simulation Environment (ASE) for computational materials science.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
drugbank-database
lamm-mit
Access and analyze comprehensive drug information from the DrugBank database including drug properties, interactions, targets, pathways, chemical structures…
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
pylabrobot
lamm-mit
Vendor-agnostic lab automation framework.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
drug-research
lamm-mit
Generates comprehensive drug research reports with compound disambiguation, evidence grading, and mandatory completeness sections.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
biorxiv-database
lamm-mit
Efficient database search tool for bioRxiv preprint server.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
modal
lamm-mit
Run Python code in the cloud with serverless containers, GPUs, and autoscaling.
SkillCFreshness: C★ 250Claude Code +9
Signals
- Stars
- 250
- Forks
- 47
- Open issues
- 1
- Last commit (this folder)
- Mar 14, 2026 (7 months ago)
- Last release
- Jun 23, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lamm-mit/scienceclaw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from lamm-mit
- 0.516score
drug-research
lamm-mit
Generates comprehensive drug research reports with compound disambiguation, evidence grading, and mandatory completeness sections.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
biorxiv-database
lamm-mit
Efficient database search tool for bioRxiv preprint server.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
disease-research
lamm-mit
Generate comprehensive disease research reports using 100+ ToolUniverse tools.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
ase
lamm-mit
Atomic Simulation Environment (ASE) for computational materials science.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
pylabrobot
lamm-mit
Vendor-agnostic lab automation framework.
SkillCFreshness: C★ 250Claude Code +9 - 0.516score
drugbank-database
lamm-mit
Access and analyze comprehensive drug information from the DrugBank database including drug properties, interactions, targets, pathways, chemical structures…
SkillCFreshness: C★ 250Claude Code +9
Cite this page
askcos skill. Agent Mart. https://agentmart.dev/skills/lamm-mit-askcos (last updated 2026-10-24)