agentleFS
anglinaianglinai/theaccessible-skill/SKILL.md

pdf-converter

Skill0 starsChanged 7 months agoMITView on GitHub

Convert a PDF into a WCAG 2.1 AA / PDF/UA-1 compliant accessible HTML rendition, a tagged accessible PDF, and a veraPDF conformance report. Use when the user has a PDF and wants it remediated, audited for accessibility, or converted to accessible HTML. Powered by theaccessible.org.

  • Reads credentials

6 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use contact-vcard-extractor, free-tts and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenMinisSkill

    contact-vcard-extractor

    Extract contact information from text, chat logs, web pages, screenshots, business card photos, and QR codes/OCR results; clean names, phone numbers, email addresses, companies, job titles, addresses, and websites; generate vCard/.vcf files; and guide users to import them into iOS Contacts or share them with others. Trigger words include: extract contacts, save to contacts, generate vCard/.vcf, business card recognition, add contacts from images/screenshots/text, share contacts, and export contacts.

    Also in 3 projects that use this

  • OpenMinisSkill

    free-tts

    Free text-to-speech (edge-tts), with no API key or registration required. Converts text to MP3 audio files. Trigger this skill when the user says "read aloud," "text-to-speech," "TTS," "generate audio," "read it," "read it out loud," "say it," "play it," or in any scenario where text needs to be converted to speech for playback.

    Also in 3 projects that use this

  • +10 more from OpenMinis
  • Other versions6 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 6

    1. OpenMinis/MinisSkills★ 638same name
    2. ComPDFKit/compdf-skills★ 108same name
    3. tanis90/pdf-converter-mineru★ 54same name
    4. baklib-tools/skills★ 2same name
    5. Willian8021743/windows-ai-toolkit★ 1same name
    6. lsongdev/skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 4 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If THEACCESSIBLE_API_KEY is not set, stop and tell the user:

    line 12
  2. Very specific:

    Verify with printenv THEACCESSIBLE_API_KEY | head -c 8.

    line 17
  3. Very specific:

    Start the conversion: Run scripts/convert.sh --url <url> or scripts/convert.sh --file <path>.

    line 28
  4. Very specific:

    Poll until ready: Run scripts/poll_status.sh <fileId>.

    line 30
  5. Very specific:

    Fetch the deliverables: Run scripts/get_result.sh <fileId>.

    line 32
  6. Very specific:

    Always end with data.reportUrl as a markdown link captioned "View full accessibility report" — even on a clean pass.

    line 37
  7. Distinctive:

    Never paste raw JSON into the conversation.

    line 43
  8. Distinctive:

    Always render download URLs as clickable markdown links.

    line 44
  9. Distinctive:

    If polling exceeds 5 minutes, tell the user the job is taking unusually long and offer to wait or stop.

    line 45
  10. Distinctive:

    If the input is not a PDF, say so and stop.

    line 46
  11. Very specific:

    Don't claim a file is "WCAG compliant" beyond what the report says.

    line 47

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

theaccessible PDF Converter

You convert PDFs into WCAG 2.1 AA / PDF/UA-1 compliant deliverables by calling the four bundled bash scripts against https://api-pdf.theaccessible.org/api/gpt.

Setup check (do this first, once per session)

If THEACCESSIBLE_API_KEY is not set, stop and tell the user:

This skill needs an API key. Get one at https://theaccessible.org/dashboard → Settings → API keys, then run: export THEACCESSIBLE_API_KEY=tap_...

Verify with printenv THEACCESSIBLE_API_KEY | head -c 8. Do not echo the full key.

Workflow

Given a PDF (a public URL, or a local file path), produce three outputs: accessible HTML, accessible PDF, and a PDF/UA-1 conformance report.

  1. Choose the source mode.
    • Public URL → pass --url <url> to convert.sh.
    • Local file path → pass --file <path> (script base64-encodes it).
    • Anything else → ask the user for a URL or a path.
  2. Start the conversion. Run scripts/convert.sh --url <url> or scripts/convert.sh --file <path>. Capture data.fileId from the JSON response.
  3. Poll until ready. Run scripts/poll_status.sh <fileId>. The script polls every 12s until htmlReady, pdfReady, and conformanceReady are all true (or status=failed). It exits non-zero on failure or after a 5-minute timeout — surface the error message to the user.
  4. Fetch the deliverables. Run scripts/get_result.sh <fileId>. Present:
    • One-paragraph summary of the source (length, structure).
    • Accessible PDF as a markdown link from data.pdf.downloadUrl, captioned with the accessibility score if present.
    • Accessible HTML as a markdown link from data.html.downloadUrl.
    • Conformance summary: pass/fail + top 3 failed rules with clause, testNumber, description.
    • Always end with data.reportUrl as a markdown link captioned "View full accessibility report" — even on a clean pass.
  5. On conformance failure, offer to fetch the full report via scripts/get_conformance.sh <fileId> for triage.

Style

  • Never paste raw JSON into the conversation. Summarize.
  • Always render download URLs as clickable markdown links.
  • If polling exceeds 5 minutes, tell the user the job is taking unusually long and offer to wait or stop.
  • If the input is not a PDF, say so and stop.
  • Don't claim a file is "WCAG compliant" beyond what the report says. If conformance.passed=false, the document is not compliant — describe what's wrong.

Limits

  • Max input size: 25 MB.
  • Download URLs expire 1 hour after get_result.sh is called. If the user comes back later, re-run it for fresh URLs.
  • This skill has no other tools. Don't make up other capabilities — for HTML edits or alt-text remediation, point the user to the dashboard at https://theaccessible.org.

Reference

references/api.md documents the underlying HTTP endpoints if you need to debug a script failure.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.