/pdf-compressor
大きなPDFファイルを圧縮するスキル。ファイルサイズを最大98%削減。 「PDFを圧縮して」「PDFを軽くして」「ファイルサイズを小さくして」等のリクエストで発動。
$ npx -y skills add minicoohei/ai-agent-camp --skill pdf-compressor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/pdf-compressor
Context preview
The summary Claude sees to decide when to auto-load this skill.
大きなPDFファイルを圧縮するスキル。ファイルサイズを最大98%削減。 「PDFを圧縮して」「PDFを軽くして」「ファイルサイズを小さくして」等のリクエストで発動。
SKILL.md
pdf-compressor.SKILL.mdname: pdf-compressor
description: "大きなPDFファイルを圧縮するスキル。ファイルサイズを最大98%削減。 「PDFを圧縮して」「PDFを軽くして」「ファイルサイズを小さくして」等のリクエストで発動。"
triggers:
- PDFを圧縮して
- PDFを軽くして
- ファイルサイズを小さくして
- pdf-compressor
- PDF compress
- PDFが重い
PDF Compressor
Compress PDF files by converting pages to optimized images and rebuilding the PDF.
Workflow
1. Convert PDF pages to images at specified DPI 2. Resize images to target width (maintaining aspect ratio) 3. Compress as JPEG with quality setting 4. Rebuild PDF from compressed images
Usage
python scripts/compress.py "{pdf_path}" --width {width} --quality {quality} --output "{output_path}"Parameters
| Parameter | Required | Default | Description | |-----------|----------|---------|-------------| | pdf_path | Yes | - | Path to PDF file to compress | | --width | No | 1920 | Page width in pixels | | --quality | No | 85 | JPEG quality (1-100) | | --dpi | No | 150 | DPI for PDF to image conversion | | --output, -o | No | auto | Output path (default: {filename}_compressed.pdf) |
Quality Presets
| Use Case | Width | Quality | Expected Reduction | |----------|-------|---------|-------------------| | Web/Email | 1280 | 75 | ~95% | | Standard | 1920 | 85 | ~90% | | High Quality | 2560 | 90 | ~80% | | Print | 3840 | 95 | ~60% |
Examples
# Basic compression (default settings)
python scripts/compress.py "large_presentation.pdf"
# Web-optimized (smaller file)
python scripts/compress.py "slides.pdf" --width 1280 --quality 75
# High quality for presentations
python scripts/compress.py "report.pdf" --width 2560 --quality 90
# Custom output path
python scripts/compress.py "document.pdf" -o "document_small.pdf"
Requirements
- Python packages: pdf2image, Pillow, img2pdf
- System: poppler (for pdf2image)
- macOS: `brew install poppler`
- Ubuntu: `apt-get install poppler-utils`
- Windows: [poppler-windows](https://github.com/oschwartz10612/poppler-windows) からバイナリを取得しPATHに追加
Notes
- Original PDF is not modified
- Text becomes rasterized (not searchable)
- Best for image-heavy presentations and slides
- For text-heavy documents, consider Ghostscript instead
Read more
name: pdf-compressor description: "大きなPDFファイルを圧縮するスキル。ファイルサイズを最大98%削減。 「PDFを圧縮して」「PDFを軽くして」「ファイルサイズを小さくして」等のリクエストで発動。" triggers: - PDFを圧縮して - PDFを軽くして - ファイルサイズを小さくして - pdf-compressor - PDF compress - PDFが重い
PDF Compressor
Compress PDF files by converting pages to optimized images and rebuilding the PDF.
Workflow
1. Convert PDF pages to images at specified DPI 2. Resize images to target width (maintaining aspect ratio) 3. Compress as JPEG with quality setting 4. Rebuild PDF from compressed images
Usage
python scripts/compress.py "{pdf_path}" --width {width} --quality {quality} --output "{output_path}"Parameters
| Parameter | Required | Default | Description | |-----------|----------|---------|-------------| | pdf_path | Yes | - | Path to PDF file to compress | | --width | No | 1920 | Page width in pixels | | --quality | No | 85 | JPEG quality (1-100) | | --dpi | No | 150 | DPI for PDF to image conversion | | --output, -o | No | auto | Output path (default: {filename}_compressed.pdf) |
Quality Presets
| Use Case | Width | Quality | Expected Reduction | |----------|-------|---------|-------------------| | Web/Email | 1280 | 75 | ~95% | | Standard | 1920 | 85 | ~90% | | High Quality | 2560 | 90 | ~80% | | Print | 3840 | 95 | ~60% |
Examples
# Basic compression (default settings) python scripts/compress.py "large_presentation.pdf" # Web-optimized (smaller file) python scripts/compress.py "slides.pdf" --width 1280 --quality 75 # High quality for presentations python scripts/compress.py "report.pdf" --width 2560 --quality 90 # Custom output path python scripts/compress.py "document.pdf" -o "document_small.pdf"
Requirements
- Python packages: pdf2image, Pillow, img2pdf
- System: poppler (for pdf2image)
- macOS: `brew install poppler`
- Ubuntu: `apt-get install poppler-utils`
- Windows: [poppler-windows](https://github.com/oschwartz10612/poppler-windows) からバイナリを取得しPATHに追加
Notes
- Original PDF is not modified
- Text becomes rasterized (not searchable)
- Best for image-heavy presentations and slides
- For text-heavy documents, consider Ghostscript instead
AI Agent Training for Non-Engineers - Complete Guide to Claude Code / Cursor / Codex ### ⚠️ Before you clone Official repository (maintained by the authors): Running AI agents from this repo grants them shell, file-write, and external-API permissions on your
Other skills on ai-agent-camp.
- /ab-test-setup
A/Bテストや実験の設計・実装を支援するスキル。 「A/Bテストを設計して」「スプリットテストしたい」「仮説を立ててテストしたい」「バリアントを比較」等のリクエストで発動。 トラッキング実装は analytics-tracking を参照。
Open skill - /agent-designer
マルチエージェントシステムのアーキテクチャ設計ツールキット。 「エージェントを設計して」「マルチエージェント構成」「エージェントのアーキテクチャ」「オーケストレーション設計」等のリクエストで発動。
Open skill - /analytics-tracking
アナリティクスのトラッキング設定・改善・監査を支援するスキル。 「トラッキングを設定」「GA4を導入」「コンバージョン計測」「イベントトラッキング」「UTMパラメータ」「GTMの設定」等のリクエストで発動。 A/Bテスト計測は ab-test-setup を参照。
Open skill - /article-writer
テーマからアウトライン生成→文体プロファイル適用→Markdown記事出力を行う記事執筆スキル。 挿絵マーカーの自動挿入、style-analyzerプロファイル参照による文体統一に対応。 「記事を書いて」「ブログ作成」「テーマで記事生成」等のリクエストで発動。
Open skill - /banner-creator
各種SNS・広告プラットフォーム向けのバナー/クリエイティブを生成するスキル。 X, Facebook, Instagram, PRTimes, YouTube, LINE, Web広告に対応。 「バナーを作って」「広告画像を生成」「SNS用の画像」「クリエイティブ制作」等のリクエストで発動。
Open skill - /bigquery-auth
GCPプロジェクト単位でBigQuery認証を設定するスキル。 gcloud設定プロファイルで複数プロジェクトを安全に分離管理。 「BigQueryに繋ぎたい」「BQ認証」「gcloud認証」「データ分析の認証設定」等のリクエストで発動。
Open skill

