labor.fun: Skill for Claude Code

.claude/skills/add-pdf-reader/SKILL.md

add-pdf-reader is a skill for Claude Code from BreadchainCoop/labor.fun. It costs 38 tokens per session (672 once invoked), scanned A, a copy of add-pdf-reader, MIT.

A PDF-reading add-on that extracts text from PDF files using the pdftotext command-line tool. It can handle PDFs from WhatsApp, web addresses, and local files.

In plain words
What is it for?
Use it to extract text and basic PDF information from documents supplied as files, links, or WhatsApp attachments.
Why use it?
It lets agents read PDF content without requiring you to copy and paste the text manually. WhatsApp PDF attachments are downloaded to the shared workspace automatically.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is BreadchainCoop/labor.fun's own configuration. It tells Claude Code how to work on labor.fun itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything labor.fun configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./container/build.sh.

Reuse

Borrowing it

Nothing to install: this file belongs to BreadchainCoop/labor.fun. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/BreadchainCoop/labor.fun/main/.claude/skills/add-pdf-reader/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BreadchainCoop/labor.fun

Made for: Claude Code.

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 add-pdf-reader

README.md
[![agentmods](https://agentmods.dev/badge/skills/breadchaincoop/labor.fun/add-pdf-reader/github.svg)](https://agentmods.dev/skills/breadchaincoop/labor.fun/add-pdf-reader)
Your own site
<a href="https://agentmods.dev/skills/breadchaincoop/labor.fun/add-pdf-reader"><img src="https://agentmods.dev/badge/skills/breadchaincoop/labor.fun/add-pdf-reader/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 add-pdf-reader

Your own site · 80×15
<a href="https://agentmods.dev/skills/breadchaincoop/labor.fun/add-pdf-reader"><img src="https://agentmods.dev/badge/skills/breadchaincoop/labor.fun/add-pdf-reader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 672 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 88% copy Near-identical to another mod 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.00038 $0.00672
Opus 5.5 $0.00015 $0.00269
Sonnet 5.5 $0.00008 $0.00134
Haiku 4.5 $0.00004 $0.00067

Measured 3mo ago against content hash 974edd0b4ac0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-pdf-reader 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 3mo 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.

Origin

This is a copy

88% identical to add-pdf-reader — 34 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/add-pdf-reader/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add PDF Reader

Adds PDF reading capability to all container agents using poppler-utils (pdftotext/pdfinfo). PDFs sent as WhatsApp attachments are auto-downloaded to the group workspace.

Phase 1: Pre-flight

  1. Check if container/skills/pdf-reader/pdf-reader exists — skip to Phase 3 if already applied
  2. Confirm WhatsApp is installed first (skill/whatsapp merged). This skill modifies WhatsApp channel files.

Phase 2: Apply Code Changes

Ensure WhatsApp fork remote

git remote -v

If whatsapp is missing, add it:

git remote add whatsapp https://github.com/qwibitai/salem-whatsapp.git

Merge the skill branch

git fetch whatsapp skill/pdf-reader
git merge whatsapp/skill/pdf-reader || {
  git checkout --theirs package-lock.json
  git add package-lock.json
  git merge --continue
}

This merges in:

  • container/skills/pdf-reader/SKILL.md (agent-facing documentation)
  • container/skills/pdf-reader/pdf-reader (CLI script)
  • poppler-utils in container/Dockerfile
  • PDF attachment download in src/channels/whatsapp.ts
  • PDF tests in src/channels/whatsapp.test.ts

If the merge reports conflicts, resolve them by reading the conflicted files and understanding the intent of both sides.

Validate

npm run build
npx vitest run src/channels/whatsapp.test.ts

Rebuild container

./container/build.sh

Restart service

launchctl kickstart -k gui/$(id -u)/com.breadbrich  # macOS
# Linux: systemctl --user restart breadbrich

Phase 3: Verify

Test PDF extraction

Send a PDF file in any registered WhatsApp chat. The agent should:

  1. Download the PDF to attachments/
  2. Respond acknowledging the PDF
  3. Be able to extract text when asked

Test URL fetching

Ask the agent to read a PDF from a URL. It should use pdf-reader fetch <url>.

Check logs if needed

tail -f logs/breadbrich.log | grep -i pdf

Look for:

  • Downloaded PDF attachment — successful download
  • Failed to download PDF attachment — media download issue

Read the full file on GitHub · 105 lines

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. 3mo ago First seen · 105 lines · 38 tokens per session scan A 974edd0b4ac0

Subscribe to this mod's changes

add-pdf-reader is a skill published in the GitHub repository BreadchainCoop/labor.fun (2 stars, last pushed 24d ago), licensed MIT. It adds 38 tokens to every session and 672 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to add-pdf-reader, differing in 34 lines, and is treated as a copy.

Related

add-pdf-reader compared with skills from other repositories

add-pdf-reader next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-pdf-readerBreadchainCoop/labor.funSkill224d agoMITA38Claude Code
apify-youtube-transcript-scrapersickn33/agentic-awesome-skillsSkill51ktodayMITA48Claude Code
report-to-pdfasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A17Claude Code, Codex
skill-doc-deliverynyldn/claude-octopusSkill4.5ktodayMITA29Claude Code
pdf-extract-create-workflowHKUDS/OpenSpaceSkill8.1k23d agoMITA22Claude Code, Codex
document-direct-pythonHKUDS/OpenSpaceSkill8.1k23d agoMITA20Claude Code, Codex
pdf-verification-cliHKUDS/OpenSpaceSkill8.1k23d agoMITA19Claude Code, Codex