<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
jmiao24/paper2agent/paper2mcp
──Details
PublishedOctober 16, 2026 at 05:43 PM
Content Hashsha256:58ef21d750f3a332...
Git SHA8c2d059165ef
──Files
Files (1 file, 6.0 KB)
SKILL.md6.0 KBactive
SKILL.md · 51 lines · 6.0 KB

version: "1.0.0" name: paper2mcp description: Convert Python, R, or command-line research repositories into tested MCP tools through useful tool selection, minimal wrappers around existing code, parallel specialists, and independent verification. Use for repository-to-MCP conversions and resumes; requires a host with agent spawning.


Paper2MCP

Build a tested MCP server from a research repository. Select useful operations, bind each to an existing implementation, and expose it through a minimal wrapper. Scientific computation stays in the repository's code; the skill coordinates selection, execution, implementation, and verification.

Start here

  1. Obtain the repository URL or local checkout, output project directory, and any requested tasks, source/tutorial filter, or resource limits. Ask only for missing required inputs.
  2. Read orchestration for workspace setup, agent assignments, handoffs, and resume behavior.
  3. Read language and hardware routing. Choose Python, R, or CLI by the interface being converted. Use the Python stages below or the R / CLI route.
  4. Apply tool selection and minimal wrappers during scanning, implementation, and independent verification. Read runtime requirements when preparing environments and validating the server. Load only the current stage and relevant role instructions.

Workflow

StageCoordinatorPython specialistsCompletion marker
1. Environment and tool selectionSetup and selectionEnvironment manager and scanner, concurrentlyenvironment_and_selection_done
2. Source execution and reference resultsExecutionParallel executorsreference_execution_done
3. Implementation, then independent verificationImplementation and testingParallel implementers, then fresh verifiersimplementation_and_verification_done
4. MCP integrationIntegrationCoordinatormcp_integration_done
5. Runtime installation validationRequirementsCoordinatorruntime_validation_done
6. Documentation and ZIP deliveryDocumentation and output deliveryCoordinator and independent delivery verifierdelivery_done

R and CLI have their own environment and transport instructions. They share selection, source reuse, agent independence, and completion requirements.

Essential requirements

  • Choose tools by independently useful tasks on new inputs. Check public interfaces and official examples/tests for gaps in tutorials. Merge duplicates and keep incidental steps internal; headings do not determine tool boundaries.
  • Bind every tool to concrete source code. Prefer direct API/script/CLI calls; extract existing tutorial code only when no callable implementation exists. Do not invent scientific algorithms to fill repository gaps.
  • Run the bound upstream code with traceable inputs before implementation. Preserve native results, relevant figures, metadata, and reproducibility settings for comparison.
  • Keep generated code focused on necessary input checks, upstream calls, and useful output serialization. Expose needed source-supported parameters and test them. Keep benchmark recomputation out of production wrappers.
  • Finish all implementation assignments before launching verifiers. Every verifier must be a fresh agent distinct from every implementer. Verification checks source reuse, code quality, reference agreement, changed inputs, and relevant failures.
  • Record blocked, merged, deferred, and excluded work with reasons. Never weaken scientific assertions or silently drop a requested tool to report success.

Helpers and completion

Write stage success markers only after their evidence and workflow gate pass. Worker completion alone does not establish success. Final delivery requires runtime validation, recipient-facing USAGE.md, and a ZIP that passes installation and real calls after extraction at a new location. Follow the output contract; keep examples and intermediate artifacts outside the default ZIP.

Lead the final response with dist/<repo-name>-mcp.zip, then the delivered tools, installation/startup directions or usage link, actual validation scope, and external requirements. Keep detailed selection and validation evidence in the working project. State important deferred/excluded work and limits; selected-tool verification does not establish whole-repository correctness. Client registration is performed only when requested.

Read optional extensions only for requested resources/prompts, user-query evaluations, containers, or remote deployment.

All versions