Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Multi-agent system for chemical literature information extraction
.claude/skills/brycewang-stanford-chemeagle-guide/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -41% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -33% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -30% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -31% | 0% |
ChemEagle is a multi-agent system for extracting structured chemical information from scientific literature. It uses specialized agents for recognizing chemical entities, extracting reaction conditions, identifying product yields, and building structured databases from unstructured chemistry papers. Particularly useful for building reaction databases and automating systematic reviews in chemistry.
Chemistry Paper (PDF/text)
↓
Document Parser Agent (section identification)
↓
Chemical NER Agent
├── Compound names → SMILES/InChI
├── Reagents and catalysts
├── Solvents and conditions
└── Product identification
↓
Reaction Extraction Agent
├── Reactants → Products mapping
├── Reaction conditions (T, P, time)
├── Yields and selectivity
└── Procedure steps
↓
Validation Agent (cross-check extracted data)
↓
Structured Output (JSON, CSV, database)pythonfrom chemeagle import ChemEagle eagle = ChemEagle(llm_provider="anthropic") # Extract from a chemistry paper result = eagle.extract("paper.pdf") # Extracted reactions for rxn in result.reactions: print(f"\nReaction {rxn.id}:") print(f" Reactants: {rxn.reactants}") print(f" Products: {rxn.products}") print(f" Catalyst: {rxn.catalyst}") print(f" Solvent: {rxn.solvent}") print(f" Temperature: {rxn.temperature}") print(f" Time: {rxn.time}") print(f" Yield: {rxn.yield_percent}%") print(f" SMILES: {rxn.product_smiles}") # Extracted compounds for compound in result.compounds: print(f"{compound.name}: {compound.smiles}")
python# Process multiple papers results = eagle.extract_batch( input_dir="chemistry_papers/", output_format="csv", output_file="reactions_database.csv", ) print(f"Papers processed: {results.papers_processed}") print(f"Reactions extracted: {results.total_reactions}") print(f"Unique compounds: {results.unique_compounds}")
python# Standalone NER entities = eagle.recognize_entities( "The Suzuki coupling of 4-bromoanisole with phenylboronic " "acid using Pd(PPh3)4 catalyst in THF/water at 80°C " "gave 4-methoxybiphenyl in 95% yield." ) for entity in entities: print(f" [{entity.type}] {entity.text}") if entity.smiles: print(f" SMILES: {entity.smiles}") # Output: # [REACTANT] 4-bromoanisole — SMILES: COc1ccc(Br)cc1 # [REACTANT] phenylboronic acid — SMILES: OB(O)c1ccccc1 # [CATALYST] Pd(PPh3)4 # [SOLVENT] THF/water # [CONDITION] 80°C # [PRODUCT] 4-methoxybiphenyl — SMILES: COc1ccc(-c2ccccc2)cc1 # [YIELD] 95%
python# Build a searchable reaction database from chemeagle import ReactionDatabase db = ReactionDatabase("reactions.db") # Add extracted reactions db.add_from_extraction(result) # Search by substrate hits = db.search(reactant="bromoanisole", reaction_type="coupling") for hit in hits: print(f"{hit.reactants} → {hit.products} ({hit.yield_percent}%)") print(f" Source: {hit.paper_doi}") # Search by conditions hits = db.search(catalyst="palladium", temperature_max=100) # Export db.export_csv("all_reactions.csv") db.export_json("all_reactions.json")
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 16,552 | 9,042 | -45% | 1 | 1 | 0% | 2,924 | 2,628 | -10% | 0 | 0 | — |
case-02 | fail→pass | 16,863 | 4,112 | -76% | 1 | 1 | 0% | 3,152 | 1,867 | -41% | 0 | 0 | — |
case-03 | fail→pass | 37,551 | 5,719 | -85% | 1 | 1 | 0% | 3,401 | 2,280 | -33% | 0 | 0 | — |
case-04 | pass→pass | 9,143 | 8,631 | -6% | 1 | 1 | 0% | 1,850 | 2,991 | +62% | 0 | 0 | — |
case-05 | pass→pass | 13,417 | 11,311 | -16% | 1 | 1 | 0% | 2,426 | 3,115 | +28% | 0 | 0 | — |
case-06 | pass→pass | 5,858 | 4,034 | -31% | 1 | 1 | 0% | 1,077 | 1,855 | +72% | 0 | 0 | — |
case-07 | fail→pass | 16,244 | 3,784 | -77% | 1 | 1 | 0% | 2,600 | 1,807 | -31% | 0 | 0 | — |
case-08 | fail→pass | 16,963 | 4,298 | -75% | 1 | 1 | 0% | 2,857 | 1,968 | -31% | 0 | 0 | — |
case-09 | pass→pass | 19,081 | 2,545 | -87% | 1 | 1 | 0% | 2,817 | 1,483 | -47% | 0 | 0 | — |
case-10 | pass→pass | 11,607 | 5,559 | -52% | 1 | 1 | 0% | 1,849 | 2,137 | +16% | 0 | 0 | — |
case-11 | fail→pass | 12,943 | 3,644 | -72% | 1 | 1 | 0% | 1,676 | 1,544 | -8% | 0 | 0 | — |
case-12 | fail→pass | 8,955 | 2,834 | -68% | 1 | 1 | 0% | 1,608 | 1,596 | -1% | 0 | 0 | — |
case-13 | pass→pass | 9,844 | 2,744 | -72% | 1 | 1 | 0% | 1,423 | 1,514 | +6% | 0 | 0 | — |
case-14 | fail→pass | 8,997 | 3,606 | -60% | 1 | 1 | 0% | 1,508 | 1,652 | +10% | 0 | 0 | — |
case-15 | fail→pass | 11,680 | 3,844 | -67% | 1 | 1 | 0% | 1,836 | 1,786 | -3% | 0 | 0 | — |
case-16 | fail→pass | 9,140 | 2,555 | -72% | 1 | 1 | 0% | 1,317 | 1,562 | +19% | 0 | 0 | — |
case-17 | fail→pass | 13,266 | 2,368 | -82% | 1 | 1 | 0% | 1,982 | 1,482 | -25% | 0 | 0 | — |
case-18 | pass→pass | 16,405 | 12,900 | -21% | 1 | 1 | 0% | 2,524 | 3,141 | +24% | 0 | 0 | — |
case-19 | pass→pass | 10,067 | 4,057 | -60% | 1 | 1 | 0% | 1,517 | 1,794 | +18% | 0 | 0 | — |
case-20 | pass→pass | 16,366 | 5,059 | -69% | 1 | 1 | 0% | 2,367 | 1,887 | -20% | 0 | 0 | — |
case-21 | pass→pass | 11,546 | 2,602 | -77% | 1 | 1 | 0% | 1,710 | 1,529 | -11% | 0 | 0 | — |
case-22 | fail→pass | 17,858 | 2,647 | -85% | 1 | 1 | 0% | 2,507 | 1,547 | -38% | 0 | 0 | — |
case-23 | fail→pass | 9,155 | 4,281 | -53% | 1 | 1 | 0% | 1,496 | 1,818 | +22% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +57 percentage points is the difference between those two pass rates over the 23 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.