Back to skills
SKILL.md
Toolrosetta Tool Standardization
ASecurityAutomate conversion of 630M+ heterogeneous GitHub repositories into standardized Model Context Protocol (MCP) services via hierarchical multi-agent system. Achieves 68.4% success rate after three repair cycles, 210s per repository versus 1589s manual; increases agent performance by 10.6–13.4% when integrated into existing systems. Use when scaling tool availability beyond manually curated sets.
- 6 stars
- 0 votes
- 0 copies
- 2 views
- Added September 9, 2026
Works with
Security analysis
100/100npx -y skills add ADu2021/skillXiv --skill toolrosetta-tool-standardization --agent claude-codeAre you the author of Toolrosetta Tool Standardization?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/adu2021-toolrosetta-tool-standardization)---
name: toolrosetta-tool-standardization
title: "ToolRosetta: Automated Tool Standardization for LLM Agents"
version: 0.0.3
engine: skillxiv-v0.0.3-claude-opus-4.6
license: MIT
url: "https://arxiv.org/abs/2603.09290"
keywords: [Tool Standardization, MCP, LLM Agents, API Patterns, Tool Integration]
description: "Automate conversion of 630M+ heterogeneous GitHub repositories into standardized Model Context Protocol (MCP) services via hierarchical multi-agent system. Achieves 68.4% success rate after three repair cycles, 210s per repository versus 1589s manual; increases agent performance by 10.6–13.4% when integrated into existing systems. Use when scaling tool availability beyond manually curated sets."
---
## Capability Gap
GitHub hosts over 630M repositories with practical tools embedded in heterogeneous code. Yet LLM agents operate with severely limited tool sets (5 tools in ToolFormer, 500+ in SciToolAgent). Manual standardization of each tool requires:
- Parsing code and dependencies
- Understanding function signatures and semantics
- Rewriting interfaces and designing schemas
- Creating executable wrappers
This scales infeasibly; only centralized platforms and large organizations can maintain tool catalogs.
## Core Abstractions: Hierarchical Multi-Agent Architecture
```python
# Hierarchical multi-agent system for tool standardization
class ToolRosettaSystem:
"""
Four specialized agents orchestrate conversion of heterogeneous repos
into standardized MCP services.
"""
def __init__(self):
self.tool_search_agent = ToolSearchAgent()
self.mcp_construction_agent = MCPConstructionAgent()
self.planning_agent = PlanningAgent()
self.security_agent = SecurityAgent()
def standardize_tool(self, tool_query, candidate_repos):
"""
Pipeline: search → analyze → construct → secure → deploy.
Achieves 68.4% success after three repair cycles.
"""
# 1. Search: Semantic parsing + functional alignment assessment
relevant_repos = self.tool_search_agent.retrieve_repos(
tool_query, candidate_repos
)
# 2. Construct: Automated transformation pipeline
mcp_services = []
for repo in relevant_repos:
service = self.mcp_construction_agent.transform(
repo_path=repo.path,
stages=[
"clone_repo",
"analyze_dependencies",
"configure_environment",
"generate_service"
]
)
mcp_services.append(service)
# 3. Plan: Orchestrate tool invocation workflows
execution_plan = self.planning_agent.plan_workflow(
tool_query, mcp_services
)
# 4. Secure: Inspect for vulnerabilities
vetted_services = [
svc for svc in mcp_services
if self.security_agent.inspect(svc).is_safe
]
return execution_plan, vetted_services
```
## Design Decisions
### Multi-Stage Conversion Pipeline
Each agent specializes in distinct concerns:
1. **Tool-Search Agent**: Retrieves relevant repositories via semantic parsing of tool descriptions and functional alignment scoring
2. **MCP-Construction Agent**: Transforms repositories through automated cloning, dependency analysis, environment configuration, and service generation
3. **Planning Agent**: Orchestrates multi-tool workflows and handles composition
4. **Security Agent**: Inspects generated services for vulnerabilities before deployment
### Iterative Repair Cycles
Successful conversion improves dramatically with iteration:
- **First pass**: 53.0% success across 122 repositories
- **After three repair cycles**: 68.4% success
- Agents learn to fix common failures: missing dependencies, API mismatches, schema errors
### Python-First Focus
Current implementation targets Python repositories citing:
- Standardized dependency declarations (requirements.txt, setup.py, pyproject.toml)
- Accessible function interfaces and introspection support
- Pragmatic entry point for proof-of-concept
Authors emphasize extensibility to R, C++, JavaScript, Java through backend adaptation layers.
## Integration Patterns
### Downstream Task Improvement
When ToolRosetta-converted tools integrate into existing agent systems:
| System | Baseline Performance | With ToolRosetta | Improvement |
|--------|-------------------|-------------------|------------|
| RepoMaster | Baseline | Baseline + tools | +10.6% |
| OpenAgents | Baseline | Baseline + tools | +13.4% |
Performance gains show converted tools function as transferable infrastructure, not tied to specific agent architectures.
### Standard MCP Interface
All generated services expose Model Context Protocol endpoints:
```
/tools
/resources
/prompts
```
This standardization enables any MCP-compatible agent to invoke converted tools without custom integration.
## Conditions
- **Repository language**: Python (current); extensible to R, C++, JavaScript, Java
- **Dependency declarations**: Must be parseable (pip, conda, or language-native managers)
- **Function signatures**: Publicly accessible and inspectable
- **Scale**: Tested on 122 repositories; designed for massively parallel deployment
- **Success criteria**: Functional MCP service passing security inspection and task validation
## Integration Checklist
- [ ] Identify tool requirements for your agent system
- [ ] Gather candidate repositories from GitHub (API or curation)
- [ ] Run tool-search agent to identify relevant repositories
- [ ] Execute MCP-construction pipeline per candidate
- [ ] Iterate repair cycles until success rate stabilizes (expect 3–5 cycles)
- [ ] Run security inspection on all generated services
- [ ] Validate converted tools on sample tasks
- [ ] Deploy MCP services to agent environment
- [ ] Benchmark agent task performance improvement—expect +10–13% on complex tasks
- [ ] Monitor tool invocation logs for integration issues
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.