skill-125

skill-125 is a skill for Claude Code, Codex from legendtkl/agentic-skill-router. It costs 18 tokens per session (454 once invoked), scanned A, original, MIT.

A converter that turns PDF documents into structured XML. XML is a text format that represents document content in named, nested elements for software to process.

In plain words
What is it for?
Use it to convert PDF pages and extracted text into XML, with additional handling for complex layouts, images, and tables.
Why use it?
It makes PDF text and page structure easier to extract, transform, and send to systems that use XML.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to convert PDF pages and extracted text into XML, with additional handling for complex layouts, images, and tables.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/legendtkl/agentic-skill-router/skill-125
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add legendtkl/agentic-skill-router --skill skill-125
Clone the repo
git clone --depth 1 https://github.com/legendtkl/agentic-skill-router

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skill-125

README.md
[![agentmods](https://agentmods.dev/badge/skills/legendtkl/agentic-skill-router/skill-125/github.svg)](https://agentmods.dev/skills/legendtkl/agentic-skill-router/skill-125)
Your own site
<a href="https://agentmods.dev/skills/legendtkl/agentic-skill-router/skill-125"><img src="https://agentmods.dev/badge/skills/legendtkl/agentic-skill-router/skill-125/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skill-125

Your own site · 80×15
<a href="https://agentmods.dev/skills/legendtkl/agentic-skill-router/skill-125"><img src="https://agentmods.dev/badge/skills/legendtkl/agentic-skill-router/skill-125.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 454 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00454
Opus 5 $0.00009 $0.00227
Sonnet 5 $0.00004 $0.00091
Haiku 4.5 $0.00002 $0.00045

Measured 7d ago against content hash aa46830962e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

skill-125 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

experiments/dci-compare/skillrouter-skills/skill-125/SKILL.md · 62 lines

What it actually says

PDF to XML Conversion Guide

Overview

This skill enables the conversion of PDF files into XML format, facilitating structured data extraction and manipulation. This feature is particularly useful for applications that require data processing and integration with XML-based systems.

Conversion Process

The conversion process involves reading a PDF document and generating an equivalent XML representation, maintaining the document's structure and contents.

Quick Start

from pypdf import PdfReader
import xml.etree.ElementTree as ET

# Function to convert PDF to XML
def pdf_to_xml(pdf_file, xml_file):
    reader = PdfReader(pdf_file)
    root = ET.Element("document")
    for page in reader.pages:
        page_element = ET.SubElement(root, "page")
        page_element.text = page.extract_text()
    tree = ET.ElementTree(root)
    tree.write(xml_file)

# Convert PDF to XML
pdf_to_xml("input.pdf", "output.xml")

Handling Complex PDF Structures

For PDFs that contain images, tables, or special formatting, additional handling may be required:

# Convert PDF with special handling
from pypdf import PdfReader
from your_image_extraction_library import extract_images

def convert_complex_pdf(pdf_file, xml_file):
    reader = PdfReader(pdf_file)
    root = ET.Element("document")
    for i, page in enumerate(reader.pages):
        page_element = ET.SubElement(root, "page")
        page_element.text = page.extract_text()
        # Extract images and append to XML
        images = extract_images(page)
        for img in images:
            img_element = ET.SubElement(page_element, "image")
            img_element.text = img
    tree = ET.ElementTree(root)
    tree.write(xml_file)

# Use the function
convert_complex_pdf("complex_document.pdf", "complex_output.xml")

XML Output Structure

The output XML will structure content based on pages, making it easy to query or transform. For further examples and detailed XML schema, refer to docs/pdf_to_xml.md.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 62 lines · 18 tokens per session scan A aa46830962e9

Subscribe to this mod's changes

skill-125 is a skill published in the GitHub repository legendtkl/agentic-skill-router (5 stars, last pushed 3mo ago), licensed MIT. It adds 18 tokens to every session and 454 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories