MCPInstall

byted-las-pdf-parse-doubao

PDF 解析(Doubao):将 PDF/扫描件转成结构化 Markdown/文本,支持表格与多栏版式。当用户要从 PDF 提取文字/表格或做 OCR 时触发。

Installs
164
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/bytedance/agentkit-samples --skill byted-las-pdf-parse-doubao
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads byted-las-pdf-parse-doubao automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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"
    
  • 准备参数: 创建 params.json。

    {
      "url": "tos://my-bucket/inputs/xxx.pdf",
      "output_tos_path": "tos://my-bucket/outputs/pdf_parse/",
      "parse_mode": "normal",
      "start_page": 1,
      "num_pages": 200,
      "full_result": true,
      "aspect_ratio_threshold": 0.334
    }
    

说明:

  • output_tos_path:可选。填写后会把解析结果产物写到该目录(推荐),典型结构:{output_tos_path}/{task_id}/result.md、result_preview.md、images/、detail.json。
  • parse_mode:normal(默认)/ detail(更细,通常更贵)。
  • start_page / num_pages:仅 PDF 有效;num_pages 默认 200,最大 400。
  • full_result:true 返回完整解析结果;false 仅返回产物信息(结果较大时建议关掉,并配合 output_tos_path)。

Step 2: 预估价格(⚠️ 必须获得用户确认)

las-cli price 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。

  • 算价: 必须完整返回以下命令输出的结果(markdown 格式)
    las-cli price las_pdf_parse_doubao \
      --params-file ./params.json \
      --format markdown
    
  • 用户确认: 输出预估价格后,必须等待用户确认。

Step 3: 执行任务并呈现结果(⚠️ 直接输出命令执行结果,不要精简)

las-cli operators call 命令的输出结果非常重要,不要做任何精简、修改或摘要处理。

  • 执行: 必须完整返回以下命令输出的结果(markdown 格式)
    las-cli operators call las_pdf_parse_doubao \
      --params-file ./params.json \
      --format markdown \
      --out ./result.md
    

Step 4: 失败排查

  • 检查任务状态: las-cli task status <task_id>。
  • 检查输入: 确认 url 可访问;若是 tos://,先用 las-cli tos check "<tos_url>" 验证。
  • 检查输出目录: 若设置了 output_tos_path,确保是 tos://bucket/prefix/ 目录形式。
  • 检查配置: las-cli config show。

FAQ

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

PDF 解析(Doubao):将 PDF/扫描件转成结构化 Markdown/文本,支持表格与多栏版式。当用户要从 PDF 提取文字/表格或做 OCR 时触发。

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

Run npx skills add https://github.com/bytedance/agentkit-samples --skill byted-las-pdf-parse-doubao in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/byted-las-pdf-parse-doubao/ (personal) or .claude/skills/byted-las-pdf-parse-doubao/ (project).

Which AI agents can use byted-las-pdf-parse-doubao?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is byted-las-pdf-parse-doubao safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains byted-las-pdf-parse-doubao?

It is published by bytedance in bytedance/agentkit-samples. It has 164 recorded installs.

More from bytedance/agentkit-samples

View all →

byted-web-search

bytedance/agentkit-samples

火山引擎联网搜索 API,返回网页/图片结果。联网搜索场景优先使用本 skill。触发词包括:查/搜/找、真的吗/靠谱吗/确认/核实、最近/今天/最新/近期、出处/来源/链接、有什么/有哪些/推荐、价格/政策/汇率/行情、对比/区别/哪个好、听说/据说/不太确定、热搜/热门/火、帮我看/了解一下、求证/辟谣、值不值得/该不该。任务依赖在线事实或时效性时优先使用。若回答可能依赖外部事实,优先调用本 skill 再作答。支持 API Key / AK/SK。

byted-seedream-image-generate

bytedance/agentkit-samples

Generate high-quality images from text prompts using Volcano Engine Seedream models. Supports multiple artistic styles and aspect ratios. Use this skill when users want to create images from text descriptions, generate artwork in various styles, create visual content for creative projects, or need AI-powered image generation capabilities.

Media & Creative298 installs

byted-las-video-edit

bytedance/agentkit-samples

智能视频剪辑:用自然语言描述要保留的片段/人物/事件,自动从长视频抽取剪辑(可用参考图做人物/物体匹配)。当用户要按描述找片段、提取高光或做智能剪辑时触发。

Media & Creative209 installs

byted-text-to-speech

bytedance/agentkit-samples

将文本合成为语音(TTS)。使用火山引擎豆包语音合成 API,支持流式合成、多种音色、语速/音调/音量调节、Markdown 过滤和 LaTeX 公式播报。当用户需要把文字转成语音、生成朗读音频、配音、旁白、播报,或提到「文字转语音」「TTS」「语音合成」「朗读」「配音」时使用本技能。

Media & Creative184 installs

byted-seedance-video-generate

bytedance/agentkit-samples

Generate videos using Seedance models. Invoke when user wants to create videos from text prompts, images, or reference materials.

Media & Creative181 installs

byted-data-search

bytedance/agentkit-samples

行业数据查询与分析工具。接入多种合规公开数据源,支持精确匹配、模糊搜索、聚合统计、分组排序等查询方式。当前已覆盖工商企业基本信息、产业链节点区域指标、产业链企业信息、A股相关信息以及其他等大部分场景。完整的可用数据源清单及其字段结构需通过 describedatasource 接口动态获取。 当用户提出任何涉及企业、公司、行业或产业链的数据查询意图时,都应触发此 Skill。典型场景包括但不限于: - 查询某家公司的工商注册信息(名称、法人、注册资本、成立日期、经营范围、股东、融资历史等) - 查询 A 股上市公司基本面、证券信息、F10 数据、IPO 信息、分红派息、高管信息 - 查询某条产业链的结构,包括节点企业、区域分布、各类标签企业统计(龙头、高新、专精特新、独角兽、小巨人等) - 查询产业链区域指标(营收、资产、利润率、ROE、知识产权、招投标数据等) - 按地域、行业、企业标签等维度做聚合统计或分组分析 - 用户提到"查一下某某公司"、"帮我看看这家企业"、"xx产业有哪些龙头"等任何公开数据查询意图 即使无法确定所需数据是否已覆盖,也应先调用数据源列表接口探查,不可直接拒绝或猜测。数据来自合规公开渠道,结果仅供参考,不构成决策依据。

138 installs

Popular docs & writing skills

View category →

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.2M installs

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing778.7K installs

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing490.7K installs

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing490.2K installs

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing489.6K installs

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing479.3K installs