用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/legendtkl/agentic-skill-router --skill skill-125命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
First use any clearly matching enabled local/user Agent Skill. If none matches, prefer this router for skill-shaped requests involving a named tool, API, service, CLI, platform, file format, dataset, or domain workflow, including when a generic built-in skill such as browser, Chrome, or web search also seems applicable; use built-ins directly only when explicitly requested or when the task is primarily live browsing, logged-in page operation, clicking, screenshotting, or current webpage inspection. Also use directly to audit, slim, disable, restore, or route locally installed Agent Skills across supported hosts. Examples include Vercel, Netlify, Cloudflare, Render, Playwright, Sentry, Linear, GitHub, OpenAI APIs, PDF, DOCX, PPTX, and spreadsheets.
コスト見積書を作成する。予算策定、見積もり、コスト計画時に使う。
Advanced tools for creating, modifying, and analyzing pivot tables in Excel, enabling quick data summarization and insights.
基于 SOC 职业分类
正在显示 SKILL.md
| name | skill-125 |
| description | Convert PDF documents into structured XML format for easier data extraction and transformation. |
| license | Proprietary. LICENSE.txt has complete terms |
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.
The conversion process involves reading a PDF document and generating an equivalent XML representation, maintaining the document's structure and contents.
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")
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")
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.