Skip to content
bytedance avatar

Byted Las Pdf Parse Doubao

PDF-to-Markdown extraction that converts PDFs and scanned documents into structured text, with table and multi-column layout support.

CCM score
63 of 100
skills.sh installs
168
GitHub stars
496
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers PDF and scanned-image parsing with normal and detail modes, plus page-range selection via start_page and num_pages
  • Returns result.md, result_preview.md, extracted images/, and detail.json when an output_tos_path is set
  • Requires inputs to be reachable URLs or tos:// paths, pre-checked with las-cli tos check and uploaded with las-cli tos upload
  • Requires a cost estimate via las-cli price and explicit user confirmation before the las-cli operators call run

Install

$ npx -y skills add bytedance/agentkit-samples --skill byted-las-pdf-parse-doubao -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PDF 解析 (las_pdf_parse_doubao)

当用户希望从 PDF/图片中提取文本、表格、段落等结构化内容时使用本 Skill。

注意事项(⚠️ 必须遵守)

  • 千万不要让用户输入 AccessKey 和 SecretKey。
  • 下载文件只能使用 las-cli tos download 命令(兼容 tos 和非 tos 资源)。
  • las-cli operators call 和 las-cli price 命令的输出结果非常重要,必须完整返回给用户。

工作流(严格按步骤执行)

复制此清单并跟踪进度:

执行进度:
- [ ] Step 0: 前置检查
- [ ] Step 1: 初始化与准备
- [ ] Step 2: 预估价格
- [ ] Step 3: 执行任务并呈现结果
- [ ] Step 4: 失败排查

Step 0: 前置检查

版本检查(必须):请执行 las-cli install 0.3.8。若 las-cli 命令不存在,则执行 npm i -g "@volcengine/las-cli@0.3.8"

  • 新版本提醒:请执行 npm info @volcengine/las-cli version 查看当前可用的最新 Skill 版本(las-cli 与 Skill 版本一一对应)。若返回版本高于本 Skill 标注版本,请先提示用户升级当前 Skill。升级方式:请用户发送自然语言指令 帮我安装byted-las-pdf-parse-doubao技能,等待自动完成安装即可。
  • 认证检查:优先使用运行时自动注入的平台身份;若当前环境未自动注入,再运行 las-cli config show 确认旧版凭证 las.apiKey 和 volcengine.region 已配置。

Step 1: 初始化与准备

  • 上传资源: 若输入为本地文件,先上传到 TOS。
    las-cli tos upload ./document.pdf
    # 假设返回 "tos_url": "tos://my-bucket/inputs/xxx.pdf"
    

Details

Repository
github.com/bytedance/agentkit-samples
Categories
Office Files & Slides, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the byted-las-pdf-parse-doubao skill do?

byted-las-pdf-parse-doubao converts PDF files and scanned documents into structured Markdown or text, with support for tables and multi-column layouts. It is triggered when a user wants to extract text or tables from a PDF or run OCR on one.

How do I install the byted-las-pdf-parse-doubao skill?

Run npx -y skills add bytedance/agentkit-samples --skill byted-las-pdf-parse-doubao -y in your project to install byted-las-pdf-parse-doubao. Once installed, the agent can parse PDF pages into structured output, including tables and text from scanned files.

What does byted-las-pdf-parse-doubao need before it runs?

byted-las-pdf-parse-doubao requires the las-cli tool, installed with npm i -g "@volcengine/las-cli@0.3.8" if it is missing. Local files are uploaded to TOS first, and the skill checks that a platform identity or las.apiKey and volcengine.region are configured.

Can byted-las-pdf-parse-doubao handle scanned PDFs and tables?

Yes, byted-las-pdf-parse-doubao is built for scanned documents and OCR, and it keeps table and multi-column layouts in its Markdown output. It can also limit work to a page range with start_page and num_pages, with num_pages defaulting to 200 and capped at 400.

More from bytedance/agentkit-samples

All 6

Similar to Byted Las Pdf Parse Doubao

More Office Files & Slides