/paper-to-skill
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
$ npx -y skills add Mathews-Tom/armory --skill paper-to-skill --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/paper-to-skill
Context preview
The summary Claude sees to decide when to auto-load this skill.
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
SKILL.md
paper-to-skill.SKILL.mdname: paper-to-skill
description: '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.'
metadata:
version: 1.0.1
category: research
tags: [paper, arxiv, research, skill-generation, methodology-extraction]
difficulty: advanced
phase: build
Paper-to-Skill Pipeline
Transform research papers into production-grade skill packages. The pipeline extracts the actionable methodology from a paper, structures it as a skill specification, and feeds it through co-evolutionary refinement to produce a validated package.
This closes the loop between research and practice: a paper published today can become an executable skill tomorrow, without manual authoring.
Reference Files
| File | Contents | Load When | | ------------------------------------- | ------------------------------------------------- | --------- | | `references/extraction-patterns.md` | Patterns for extracting methodology from papers | Always |
Prerequisites
- The `to-markdown` skill (for PDF/document conversion)
- The `research-critique` skill (for paper analysis)
- The `test-engineer` agent (for co-evolutionary skill generation)
Workflow
Phase 1: Paper Intake
Accept the paper in any supported format:
| Input Format | Action | | --------------------- | ---------------------------------------------------------- | | arXiv ID (e.g., 2604.01687) | Fetch via `https://arxiv.org/abs/<id>`, convert PDF | | arXiv URL | Extract ID, fetch and convert | | PDF file path | Convert using `to-markdown` skill | | URL to paper | Fetch via `WebFetch`, convert if PDF | | Pasted text | Use directly |
For PDF conversion, invoke the `to-markdown` skill: > Convert this PDF to clean markdown, preserving section structure, tables, equations, > and algorithm pseudocode. Drop references section but keep inline citations.
Phase 2: Critical Analysis
Invoke the `research-critique` skill on the converted paper:
> Analyze this paper focusing on: > 1. Core contribution: what is the novel methodology? > 2. Algorithm description: extract the step-by-step procedure > 3. Input/output specification: what goes in, what comes out? > 4. Key parameters and their valid ranges > 5. Claimed results and the evidence supporting them > 6. Failure modes and limitations acknowledged by the authors > 7. Prerequisites and dependencies (tools, data, compute)
The critique output becomes the foundation for the skill specification.
Phase 3: Skill Specification Extraction
From the critique output, build a structured skill specification:
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>**Extraction rules:**
- Prefer the paper's own algorithm pseudocode over prose descriptions
- Include parameter ranges from the paper's experiments (e.g., "learning rate: 0.001-0.01")
- Map the paper's terminology to armory conventions (e.g., "module" → "skill", "pipeline" → "workflow")
- If the paper describes multiple variants, extract the best-performing one
See `references/extraction-patterns.md` for patterns specific to common paper types.
Phase 4: Skill Generation
Hand off the specification to the `test-engineer` agent for co-evolutionary generation:
> Evolve 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])
The test-engineer runs its full co-evolutionary loop (generate → verify → oracle → refine) using the specification as the task description.
Phase 5: Attribution and Finalization
Ensure the generated skill properly attributes the source paper:
1. **Frontmatter:** Add `source: <paper_url>` to the metadata 2. **Body:** Include an attribution section at the end of SKILL.md:
## Attribution
This skill implements the methodology from:
> <paper title>
> <authors>
> <venue/arxiv, date>
> <URL>
3. **References:** If the paper has supplementary materials (code, datasets), create a source materials reference file in the generated skill's `references/` directory linking to them 4. Verify the skill name does not conflict with existing packages in `manifest.yaml`
Output
The complete skill package at `skills/<name>/`:
- `SKILL.md` with attribution and paper-derived workflow
- `evals/cases.yaml` with assertions generated by the co-evolutionary loop
- `references/` with extraction patterns and source materials
- `evals/evolution-log.yaml` from the test-engineer's refinement process
Read more
name: paper-to-skill description: '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.' metadata: version: 1.0.1 category: research tags: [paper, arxiv, research, skill-generation, methodology-extraction] difficulty: advanced phase: build
Paper-to-Skill Pipeline
Transform research papers into production-grade skill packages. The pipeline extracts the actionable methodology from a paper, structures it as a skill specification, and feeds it through co-evolutionary refinement to produce a validated package.
This closes the loop between research and practice: a paper published today can become an executable skill tomorrow, without manual authoring.
Reference Files
| File | Contents | Load When | | ------------------------------------- | ------------------------------------------------- | --------- | | `references/extraction-patterns.md` | Patterns for extracting methodology from papers | Always |
Prerequisites
- The `to-markdown` skill (for PDF/document conversion)
- The `research-critique` skill (for paper analysis)
- The `test-engineer` agent (for co-evolutionary skill generation)
Workflow
Phase 1: Paper Intake
Accept the paper in any supported format:
| Input Format | Action | | --------------------- | ---------------------------------------------------------- | | arXiv ID (e.g., 2604.01687) | Fetch via `https://arxiv.org/abs/<id>`, convert PDF | | arXiv URL | Extract ID, fetch and convert | | PDF file path | Convert using `to-markdown` skill | | URL to paper | Fetch via `WebFetch`, convert if PDF | | Pasted text | Use directly |
For PDF conversion, invoke the `to-markdown` skill: > Convert this PDF to clean markdown, preserving section structure, tables, equations, > and algorithm pseudocode. Drop references section but keep inline citations.
Phase 2: Critical Analysis
Invoke the `research-critique` skill on the converted paper:
> Analyze this paper focusing on: > 1. Core contribution: what is the novel methodology? > 2. Algorithm description: extract the step-by-step procedure > 3. Input/output specification: what goes in, what comes out? > 4. Key parameters and their valid ranges > 5. Claimed results and the evidence supporting them > 6. Failure modes and limitations acknowledged by the authors > 7. Prerequisites and dependencies (tools, data, compute)
The critique output becomes the foundation for the skill specification.
Phase 3: Skill Specification Extraction
From the critique output, build a structured skill specification:
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>**Extraction rules:**
- Prefer the paper's own algorithm pseudocode over prose descriptions
- Include parameter ranges from the paper's experiments (e.g., "learning rate: 0.001-0.01")
- Map the paper's terminology to armory conventions (e.g., "module" → "skill", "pipeline" → "workflow")
- If the paper describes multiple variants, extract the best-performing one
See `references/extraction-patterns.md` for patterns specific to common paper types.
Phase 4: Skill Generation
Hand off the specification to the `test-engineer` agent for co-evolutionary generation:
> Evolve 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])
The test-engineer runs its full co-evolutionary loop (generate → verify → oracle → refine) using the specification as the task description.
Phase 5: Attribution and Finalization
Ensure the generated skill properly attributes the source paper:
1. **Frontmatter:** Add `source: <paper_url>` to the metadata 2. **Body:** Include an attribution section at the end of SKILL.md:
## Attribution This skill implements the methodology from: > <paper title> > <authors> > <venue/arxiv, date> > <URL>
3. **References:** If the paper has supplementary materials (code, datasets), create a source materials reference file in the generated skill's `references/` directory linking to them 4. Verify the skill name does not conflict with existing packages in `manifest.yaml`
Output
The complete skill package at `skills/<name>/`:
- `SKILL.md` with attribution and paper-derived workflow
- `evals/cases.yaml` with assertions generated by the co-evolutionary loop
- `references/` with extraction patterns and source materials
- `evals/evolution-log.yaml` from the test-engineer's refinement process
Curated, production-grade skills, agents, hooks, rules, commands, utilities, and presets for AI coding agents. No magic, no demos — battle-tested workflows built for developers who use AI seriously.
Repo: Mathews-Tom/armory
Other skills on armory.
- /adr-writer
Generates Architecture Decision Records capturing context, rationale, alternatives, and consequences in numbered status-tracked format. Triggers on: "write an ADR", "document this decision", "architecture decision record", "decision record", "design decision", "ADR for".
Open skill - /agent-builder
Build AI agents and automate Claude Code programmatically via the Claude Agent SDK and headless CLI mode. Covers Python SDK, claude -p, SDK MCP servers, hooks, sessions. Triggers on: "build an agent", "agent SDK", "headless mode", "automate Claude", "programmatic agent".
Open skill - /api-docs-generator
Audits and enhances FastAPI and REST API documentation: missing descriptions, response codes, examples, docstrings, Pydantic models, OpenAPI spec. Triggers on: "generate API docs", "document this API", "OpenAPI for", "FastAPI docs", "document endpoints", "swagger docs".
Open skill - /architecture-diagram
Generate layered architecture diagrams as self-contained HTML with inline SVG icons, CSS Grid containers, and connection overlays. Triggers on: "architecture diagram", "infra diagram", "system diagram", "deployment diagram", "topology", "draw architecture". NOT for architecture
Open skill - /architecture-reviewer
Architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops, data) with scored reports. Triggers on: "review architecture", "critique design", "audit system", "assess scalability", "enterprise readiness", "technical due
Open skill - /arxiv-figures
Optimize and prepare figures for arXiv submission: format conversion (EPS/PDF/PNG/JPG), size reduction, metadata stripping, processor compatibility (DVI vs PDFLaTeX). Triggers on: "optimize figures for arXiv", "reduce figure size", "convert figures for arXiv", "fix arXiv
Open skill

