a4-to-a3-pdf

a4-to-a3-pdf is a skill for Claude Code, Codex from Lord1Egypt/awesome-skill-forge. It costs 61 tokens per session (323 once invoked), scanned A, original, MIT.

A utility that combines pairs of images into landscape A3 PDF pages, placing two A4-sized images side by side.

In plain words
What is it for?
Merging scanned or photographed A4 documents into an A3 landscape PDF in numeric filename order.
Why use it?
It turns a folder of separate document images into a print-ready PDF with a predictable page layout.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/merge_a4_to_a3.py <图片文件夹> <输出PDF路径> [dpi].

Good fit Merging scanned or photographed A4 documents into an A3 landscape PDF in numeric filename order.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Lord1Egypt/awesome-skill-forge
agentmods
npx agentmods add skills/lord1egypt/awesome-skill-forge/a4-to-a3-pdf

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 a4-to-a3-pdf

README.md
[![agentmods](https://agentmods.dev/badge/skills/lord1egypt/awesome-skill-forge/a4-to-a3-pdf/github.svg)](https://agentmods.dev/skills/lord1egypt/awesome-skill-forge/a4-to-a3-pdf)
Your own site
<a href="https://agentmods.dev/skills/lord1egypt/awesome-skill-forge/a4-to-a3-pdf"><img src="https://agentmods.dev/badge/skills/lord1egypt/awesome-skill-forge/a4-to-a3-pdf/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 a4-to-a3-pdf

Your own site · 80×15
<a href="https://agentmods.dev/skills/lord1egypt/awesome-skill-forge/a4-to-a3-pdf"><img src="https://agentmods.dev/badge/skills/lord1egypt/awesome-skill-forge/a4-to-a3-pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 323 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.00061 $0.00323
Opus 5 $0.00030 $0.00161
Sonnet 5 $0.00012 $0.00065
Haiku 4.5 $0.00006 $0.00032

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

Security

Grade A, and why

a4-to-a3-pdf 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 12d 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.

community/clawhub/a/a4-to-a3-pdf/SKILL.md · 39 lines

What it actually says

A4 to A3 PDF Merger

将多张图片合并为 A3 横向 PDF,每页放置两张图片(左右并排)。

Usage

方法1:使用脚本(推荐)

python scripts/merge_a4_to_a3.py <图片文件夹> <输出PDF路径> [dpi]

示例:

python scripts/merge_a4_to_a3.py "C:\Users\ZERO\Desktop\质保书" "C:\Users\ZERO\Desktop\输出.pdf"

方法2:手动生成

如需自定义(如添加白边、调整尺寸),参考脚本逻辑自行修改。

Output Format

  • 页面尺寸:A3 横向(420mm × 297mm)
  • 每页:左右两张 A4 图片,无白边
  • 分辨率:默认 300 DPI
  • 图片按数字顺序排列(1.jpg, 2.jpg, ...)

Dependencies

  • Python 3.x
  • Pillow: python -c "from PIL import Image"python -m pip install Pillow
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. 12d ago First seen · 39 lines · 61 tokens per session scan A 4c6589836a21

Subscribe to this mod's changes

a4-to-a3-pdf is a skill published in the GitHub repository Lord1Egypt/awesome-skill-forge (2 stars, last pushed 3mo ago), licensed MIT. It adds 61 tokens to every session and 323 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories