TL;DR
SkillFoundry is a self-evolving framework that automatically transforms fragmented scientific resources—like GitHub repositories, papers, and notebooks—into a structured library of validated "skills" for AI agents. By bridging the gap between raw tools and procedural know-how, it significantly boosts agent performance on complex scientific benchmarks and real-world genomics workflows, outperforming existing skill-learning methods.
What Problem Does This Paper Address?
While Large Language Model (LLM) agents are becoming adept at using basic tools (like calling an API), they often stumble when faced with the "procedural know-how" required for real science. Scientific tasks aren't just about running a command; they involve specialized software conventions, environment constraints, and multi-step workflows that are rarely documented in a way an agent can directly use.
Currently, most agent skills are hand-crafted or narrowly scoped. Meanwhile, a wealth of knowledge is buried in heterogeneous, fragmented artifacts across the web. The authors identify this gap—between abundant scientific information and usable agent capabilities—as a primary bottleneck for building effective scientific AI.
Methods
The authors introduce SkillFoundry, a systems framework that operates through a closed-loop "mine-extract-test-refine" cycle.
Key components include:
- Domain Knowledge Tree: Instead of searching the web blindly, the system organizes a field into a tree of domains and subdomains. It prioritizes "high-value branches" where resources are plentiful but verified skills are lacking.
- Tree-Guided Mining: The system targets authoritative sources (GitHub, PubMed, Jupyter Notebooks) to find relevant procedural knowledge.
- Skill Extraction: Mined artifacts are compiled into Skill Cards—reusable packages that define the task scope, inputs/outputs, environment dependencies, and execution steps.
- Multi-level Testing: Before a skill enters the library, it must pass three gates: Execution Testing (does it run?), System Testing (does it work on infrastructure like SLURM?), and Synthetic Data Testing (does it produce stable, correct outputs under mock conditions?).
- Self-Evolution: The library isn't static. The framework iteratively expands, repairs, merges, or prunes skills based on validation signals, ensuring the library remains high-quality and non-redundant.
Datasets
The researchers evaluated SkillFoundry across several rigorous benchmarks and real-world scenarios:
- MoSciBench: A benchmark for end-to-end scientific discovery across six datasets (climate science, biomedicine, etc.).
- ScienceAgentBench: Evaluates workflow coding tasks derived from peer-reviewed studies.
- SciCode: A scientist-curated benchmark for scientific code generation.
- Real-world Genomics Workflows: Specifically, cell type annotation for spatial transcriptomics (using a MERFISH heart dataset) and the scDRS workflow (linking GWAS statistics with single-cell RNA-seq data).
Key Insights and Ideas
- Skills > Tools: The core "aha moment" is that agents don't just need access to tools; they need the contracts and context of how to use them. A "skill" in SkillFoundry is an operational contract that includes failure handling and domain assumptions.
- The Power of the Tree: By using a domain knowledge tree as a search prior, the system avoids the "unbounded exploration" problem common in web-crawling agents, making the acquisition process scalable and targeted.
- High Novelty: When compared against existing marketplaces like SkillHub and SkillsMP, 71.1% of SkillFoundry’s mined skills had no retrieved match. This suggests that automated mining can uncover a vast "long tail" of scientific capabilities that manual curation misses.
- Zero-Shot Superiority: SkillFoundry outperformed EvoSkill (a feedback-based learning method) on ScienceAgentBench, despite SkillFoundry requiring no task-specific training.
Key Results
SkillFoundry demonstrated consistent improvements across the board:
- Benchmark Gains: On SciCode, it raised test accuracy from 65.43% to 71.60%. On ScienceAgentBench, the success rate jumped from 30.95% to 50.00%.
- MoSciBench: It improved performance on five out of six datasets, maintaining a perfect 100% code execution success rate.
- Genomics Workflows: In cell type annotation, adding SkillFoundry skills raised an agent's coverage from 81.1% to 99.2% and accuracy from 68.5% to 82.9%.
- Efficiency: As shown in the runtime analysis, while skill extraction is the most time-intensive stage, the overall pipeline remains efficient enough for continuous library evolution.
Limitations and Future Work
The authors are transparent about several hurdles:
- Domain Scope: The current snapshot covers only a subset of scientific domains (largely computational biology and adjacent fields).
- Validation Gaps: While internal tests ensure executability, they cannot capture every possible real-world failure mode.
- Search Sensitivity: The "novelty" metric is dependent on keyword search protocols; functionally similar skills described with different terminology might be missed.
- Scaling: Future work aims to broaden coverage to more diverse scientific fields and conduct larger-scale studies on how these libraries age and require maintenance over time.
Summary updated