一键导入
Read, extract text from, merge, split, or create PDF files. Use when the user provides a PDF path or URL, or wants to produce a PDF output.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read, extract text from, merge, split, or create PDF files. Use when the user provides a PDF path or URL, or wants to produce a PDF output.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Two-layer memory system — read and update long-term facts, recall past events from conversation history.
Browser automation via Playwright MCP — navigate, click, fill forms, take screenshots, scrape pages, run E2E tests. Use when the user needs web automation, testing, or scraping JavaScript-rendered sites.
Structured code review — security, correctness, performance, maintainability. Use when asked to review code, a PR, or a diff.
Analyze CSV, JSON, Excel data; generate charts and reports. Use when the user provides data files or asks for statistics, charts, or data insights.
Deploy applications to cloud platforms — Fly.io, Railway, Vercel, or via SSH. Use when the user wants to publish, deploy, or release an application.
Build, run, and manage Docker containers and images. Use when the user asks about containers, Docker builds, logs, or deployment.
| name | |
| description | Read, extract text from, merge, split, or create PDF files. Use when the user provides a PDF path or URL, or wants to produce a PDF output. |
| metadata | {"ccbot":{"emoji":"📄","requires":{"bins":["curl"]}}} |
# Install if needed: apt install poppler-utils / brew install poppler
pdftotext /path/to/file.pdf - # stdout
pdftotext -f 3 -l 7 file.pdf - # pages 3-7 only
pdftotext -layout file.pdf - # preserve layout
uv run --with pymupdf python3 - <<'EOF'
import fitz, sys
doc = fitz.open(sys.argv[1])
for page in doc:
print(page.get_text())
EOF /path/to/file.pdf
TMP=$(mktemp /tmp/ccbot-XXXXXX.pdf)
curl -sL "https://example.com/report.pdf" -o "$TMP"
pdftotext "$TMP" -
rm "$TMP"
uv run --with pypdf python3 - <<'EOF'
from pypdf import PdfWriter
import sys
writer = PdfWriter()
for path in sys.argv[1:]:
writer.append(path)
with open("merged.pdf", "wb") as f:
writer.write(f)
print("Saved: merged.pdf")
EOF file1.pdf file2.pdf file3.pdf
uv run --with pypdf python3 - <<'EOF'
from pypdf import PdfReader, PdfWriter
import sys
reader = PdfReader(sys.argv[1])
start, end = int(sys.argv[2])-1, int(sys.argv[3])
writer = PdfWriter()
for i in range(start, min(end, len(reader.pages))):
writer.add_page(reader.pages[i])
out = f"pages_{sys.argv[2]}-{sys.argv[3]}.pdf"
with open(out, "wb") as f:
writer.write(f)
print(f"Saved: {out}")
EOF input.pdf 3 7
For long PDFs, extract text then summarize:
TEXT=$(pdftotext file.pdf -)
echo "$TEXT" | head -c 8000 # feed to context or summarize skill
Write to output/ directory — ccbot will upload via Feishu automatically:
mkdir -p output
cp result.pdf output/result.pdf