PDF to MediaWiki: Converting Academic Papers into Compilable Wiki Source in One Pass

Introduction

Organizing academic papers into MediaWiki pages often requires switching back and forth between reading the PDF, extracting abstracts, dissecting methodologies, and converting layouts. As the steps increase, fragments written earlier may not match if the layout or table of contents is modified mid-process. Below is an introduction to the SkillHub community skill “PDF Literature to MediaWiki”: using a single workflow to link rough reading, deep reading, merging, and format conversion to directly produce a browser-compilable MediaWiki .txt file.

What is it

“PDF Literature to MediaWiki” is a community Skill on SkillHub (coordinates @user_81d2669d/literature2mediawiki, current version 1.0.2), categorized under office-efficiency, maintained by publisher user_81d2669d. Its official positioning is Full PDF paper extraction → MediaWiki workflow: read a PDF paper, output a single Wiki draft after review and merging, and write it to the literature_examples directory. The page is marked requires_api_key=false and does not rely on extra API Key configuration.

Core Features

According to the SkillHub description, this Skill connects the following capabilities in a single orchestration (all are official statements and can be verified):

  1. Rough Reading: Perform a full review following the 7-paragraph review structure.
  2. Deep Reading: Perform in-depth analysis on methodologies and other content.
  3. Merging and Format Conversion: Merge the above results and convert them into a MediaWiki-compatible format.
  4. Full Pipeline: Corresponds to the official 6-step paper-to-MediaWiki pipeline, aiming to produce a single file output from PDF to avoid multiple rounds of manual stitching.

The output is a single, browser-compilable MediaWiki .txt file, saved to the skill-defined literature_examples directory.

Installation and Enablement

The official skill page states: before installation, refer to SkillHub Installation Guide and the current Agent installation coordinate @user_81d2669d/literature2mediawiki.

Install SkillHub CLI

If the skillhub command is not yet available on the local machine, execute it according to the installation documentation (full installation example):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Check if it is available:

command -v skillhub && skillhub --version

Install This Skill

When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/, which the Agent may not recognize. Using Cursor as an example, the directory is ~/.cursor/skills/:

skillhub install user_81d2669d/literature2mediawiki --dir ~/.cursor/skills/

Skills directories for other common Agents (extracted from the official installation documentation, choose one based on your environment):

  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
  • Gemini CLI: ~/.gemini/skills/

If the Agent does not automatically load the new skill after installation, restart or refresh the skill list as described in your client documentation; client behavior follows the official documentation.

Typical Usage

Trigger it in a conversation using the listed intents or commands; there is no need to memorize parameter names separately. Official example expressions include:

  • Natural Language: “extract paper”, “review this paper completely”, “PDF to wiki”, “paper complete review”
  • Slash Command: “/mediawiki-lit-full”
  • Semantic Equivalence: When you need a complete 6-step paper-to-MediaWiki pipeline, simply state that you want the PDF to go through the process and land on MediaWiki

In practice, provide the paper PDF to the Agent (path or attachment, depending on the method supported by the current Agent) and initiate the task as described above. Following the steps above, the Agent should invoke this Skill, generate the corresponding .txt output in literature_examples, and then copy it into your Wiki site or local compilation process.

Applicable Scenarios and Notes

Who is it for

  • Readers or editors who need to consolidate a single PDF paper into a structured Wiki entry and want rough reading + methodology deep reading to be done in one go.
  • Teams that have already used Agents like Cursor, Claude Code, Codex, etc., that support SkillHub skills and are willing to standardize the output to MediaWiki text format.

Limitations and Notes

  • Functional boundaries are defined by the description: input is PDF, output is a single-file MediaWiki .txt; the 7-paragraph rough reading, 6-step pipeline, and directory name literature_examples all come from official descriptions, and the local repository structure must be consistent with the Skill’s agreement.
  • The SkillHub page currently displays: Rating 100000, Downloads approx. 753 times; Community Source (community); check the skill page for the latest version and instructions before use.
  • If the CLI is not installed or --dir points to the wrong location, the skill will not appear in the Agent; you should first verify the installation commands and directory in Section 3.

Conclusion

“PDF Literature to MediaWiki” incorporates PDF extraction, staged reading, merging, and MediaWiki formatting into a single pipeline, suitable for a fixed process of “Paper → Single Page Wiki Body”. Skill details and installation entry points:

  • SkillHub Page: https://www.skillhub.cn/skills/user_81d2669d/literature2mediawiki
  • API Coordinate Page: https://api.skillhub.cn/user_81d2669d/literature2mediawiki
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye