Loading...
Loading...
Converts research papers into executable skill packages via document conversion, critical analysis, and co-evolutionary refinement. Triggers on: "convert this paper to a skill", "paper-to-skill", "extract methodology from paper", "make a skill from this paper". NOT for literature review, use research-critique.
npx skill4agent add mathews-tom/armory paper-to-skill| File | Contents | Load When |
|---|---|---|
| Patterns for extracting methodology from papers | Always |
to-markdownresearch-critiquetest-engineer| Input Format | Action |
|---|---|
| arXiv ID (e.g., 2604.01687) | Fetch via |
| arXiv URL | Extract ID, fetch and convert |
| PDF file path | Convert using |
| URL to paper | Fetch via |
| Pasted text | Use directly |
to-markdownConvert this PDF to clean markdown, preserving section structure, tables, equations, and algorithm pseudocode. Drop references section but keep inline citations.
research-critiqueAnalyze this paper focusing on:
- Core contribution: what is the novel methodology?
- Algorithm description: extract the step-by-step procedure
- Input/output specification: what goes in, what comes out?
- Key parameters and their valid ranges
- Claimed results and the evidence supporting them
- Failure modes and limitations acknowledged by the authors
- Prerequisites and dependencies (tools, data, compute)
specification:
name: <kebab-case derived from paper's methodology name>
domain: <paper's application domain>
source_paper:
title: <paper title>
arxiv_id: <if available>
url: <paper URL>
authors: <first author et al.>
date: <publication date>
capabilities:
- <capability 1 derived from the methodology>
- <capability 2>
- <capability 3>
input_format: <what the skill accepts>
output_format: <what the skill produces>
algorithm_steps:
- step: 1
description: <from paper's algorithm>
parameters: [<key params with ranges>]
- step: 2
description: <next step>
failure_modes:
- <from paper's limitations section>
example_tasks:
- <task 1 the methodology would solve>
- <task 2>
- <task 3>references/extraction-patterns.mdtest-engineerEvolve a skill for: [specification.domain]Capabilities: [specification.capabilities] Algorithm: [specification.algorithm_steps] Input: [specification.input_format] Output: [specification.output_format] Failure modes: [specification.failure_modes] Example tasks: [specification.example_tasks]Source: [specification.source_paper.title] ([specification.source_paper.url])
source: <paper_url>## Attribution
This skill implements the methodology from:
> <paper title>
> <authors>
> <venue/arxiv, date>
> <URL>references/manifest.yamlskills/<name>/SKILL.mdevals/cases.yamlreferences/evals/evolution-log.yaml| Error | Resolution |
|---|---|
| Paper has no clear algorithm | Extract the methodology from the experiments section |
| Paper is purely theoretical | Report: no actionable methodology; suggest literature-review instead |
| PDF conversion fails | Try alternative: fetch HTML version or request user paste text |
| Paper methodology requires data/compute | Note in skill's prerequisites; skill may be a workflow template only |
| test-engineer budget exhausted | Return best-scoring iteration with manual review warning |