agentsclimarketplace

Run3 extract office text with pandoc

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-gemini-3-flash-preview/organize-messy-files/run3_extract_office_text_with_pandoc

[COLM'26] SkillLearnBench is the first benchmark for evaluating continual learning methods that automatically generate agent skills.

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run3_extract_office_text_with_pandoc

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

Extracts text from .docx and .pptx files using `pandoc`. This tool is preferred for its robustness in handling various document schemas and converting them into plain text for analysis.

SKILL.md

0.8 KB, as published. Nobody here has run it

import subprocess
import shutil

def extract_office_text(file_path):
    """
    Extracts text from docx or pptx files using pandoc.
    """
    if not shutil.which("pandoc"):
        return None

    try:
        # Convert to plain text
        result = subprocess.run(
            ["pandoc", "-f", "docx" if file_path.endswith(".docx") else "pptx", "-t", "plain", file_path],
            capture_output=True,
            text=True,
            check=True
        )
        return result.stdout
    except subprocess.CalledProcessError:
        return None

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.