Automating Skill Acquisition through Large-Scale Mining of Open-Source Agentic Repositories: A Framework for Multi-Agent Procedural Knowledge Extraction
Organizations: Shanghai Innovation Institute · University of Science and Technology of China · East China Normal University
Abstract
The transition from monolithic large language models (LLMs) to modular, skill-equipped agents represents a fundamental architectural shift in artificial intelligence deployment. While general-purpose models demonstrate remarkable breadth in declarative knowledge, their utility in autonomous workflows is frequently constrained by insufficient specialized procedural expertise. This report investigates a systematic framework for automated acquisition of high-quality agent skills through mining of open-source repositories on platforms such as GitHub. We focus on the extraction of visualization and educational capabilities from state-of-the-art systems including TheoremExplainAgent and Code2Video, both utilizing the Manim mathematical animation engine. The framework encompasses repository structural analysis, semantic skill identification through dense retrieval, and translation to the standardized SKILL.md format. We demonstrate that systematic extraction from agentic repositories, combined with rigorous security governance and multi-dimensional evaluation metrics, enables scalable acquisition of procedural knowledge that augments LLM capabilities without requiring model retraining. Our analysis reveals that agent-generated educational content can achieve 40% gains in knowledge transfer efficiency while maintaining pedagogical quality comparable to human-crafted tutorials.
Figures & tables
| Level | Component | Content and Metadata | Context Load | Token Usage |
|---|---|---|---|---|
| Level 1 | Metadata | YAML frontmatter: Name, Description, Version, Trigger Conditions | Pre-loaded at startup | 30–100 |
| Level 2 | Instructions | Procedural knowledge: Workflows, best practices, guidance, step-by-step logic | Loaded upon activation | 200–5,000 |
| Level 3 | Resources | Auxiliary assets: Executable scripts, reference documents, templates, schemas | Loaded on-demand by scripts | Unbounded |
| Feature | Technical Implementation | Relevance to Skill Acquisition |
|---|---|---|
| Core Library | Manim Community Edition | Provides procedural target for visualization skills [ 6 ] |
| Knowledge Base | TheoremExplainBench (240 theorems) | Diverse domain coverage (CS, Chemistry, Math, Physics) [ 6 ] |
| Reasoning Loop | Planner-Coder Feedback | Defines workflow for visual storytelling skills [ 6 ] |
| Refinement | Visual-Fix Code Feedback | Implements visual debugging skill pattern [ 6 ] |
| Scaling | Scene/Topic Concurrency | Provides patterns for high-throughput generation [ 6 ] |
| Dimension | Metric | Description | Benchmark |
|---|---|---|---|
| Safety | Vulnerability Rate | Percentage of skills with injection or filesystem abuse risks [ 1 , 3 ] | Static Analysis |
| Completeness | Feature Coverage | Extent of API parameter documentation coverage [ 18 , 20 ] | Doc Mapping |
| Executability | Success Rate | Probability of successful task completion [ 3 , 6 ] | TEB / MMMC |
| Maintainability | Schema Drift | Robustness to API changes [ 18 , 15 ] | Regression Tests |
| Pedagogy | TeachQuiz Score | Knowledge transfer effectiveness [ 7 ] | TeachQuiz |
| Dimension | Agent Skills | Model Context Protocol |
|---|---|---|
| Primary Role | Procedural Knowledge (“What to do”) | Tool Connectivity (“How to connect”) [ 1 , 2 ] |
| Storage Unit | Directory with SKILL.md | Server with JSON-RPC endpoints [ 2 , 10 ] |
| State Modification | Context + System Permissions | Available Tools + External Data [ 2 ] |
| Persistence | Filesystem-based (Durable) | Session-based (Runtime) [ 2 ] |
| Operational Nature | Knowledge / Procedural | Connectivity / Action [ 10 ] |