본문으로 건너뛰기
cccskills
무료GitHub에 공개

byted-las-pdf-parse-doubao

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.2 KB
  • LICENSE634 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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。

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Deploy, update, validate, and troubleshoot the AgentKit hybrid-cloud customer-service demo in this directory. Use when a user asks an AI coding agent to follow the README, deploy or update the demo, configure OpenAPI/Runtime/Knowledge/Memory/Sandbox/MCP/Skills/A2A, run customer-view validation, or record manual platform steps and failures.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 21일 업데이트

Generate deterministic SVG algorithmic artwork. Invoke when the user asks for geometric, generative, or algorithmic visual art.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 21일 업데이트

通过本地 Python CLI 和 OpenAPI 客户端管理、排查火山云手机资源。适用于查询实例和资源、截图、执行命令、查看任务、检查应用、主机和机房容量、标签、DNS、路由,以及操作已授权的测试云手机实例。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 21일 업데이트

Launch and continue the Volcengine AI Research survey workflow for concept testing, audience design, questionnaire drafting, interview guide generation, execution confirmation, progress checks, and result queries. Use this skill when the user wants to create, revise, confirm, execute, or follow up on a real AI research survey task in ABCompass instead of doing generic brainstorming, copywriting, translation, summarization, or broad market discussion.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 21일 업데이트

Create and check long-running video material evaluation tasks. Use this skill when the user wants to submit videos for evaluation, check an existing video evaluation task list, or fetch the result of a previously created video evaluation task. This skill is not a general-purpose video upload skill because upload is allowed only as an internal step of task creation. Authentication uses an API key passed as an Authorization bearer token.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 21일 업데이트

火山引擎 AntiDDoSPro 高防域名只读巡检。用户要查域名健康、攻击、流量、CC/WAF/区域封禁、智能防护或 CCAI 状态时使用。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bytedance/agentkit-samples4732026년 10월 21일 업데이트

bytedance의 스킬 모두 보기

이 스킬의 문제 신고