bytedance/agentkit-samples is a collection of examples and tutorials for Volcengine AgentKit, an AI-agent development platform for building, deploying, and operating agent applications. Developers use the samples to learn agent creation, multi-agent collaboration, memory, retrieval, MCP integrations, media generation, customer service, and other workflows. The catalogue skills provide agent workflows based on these examples.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add bytedance/agentkit-samples --skill byted-las-pdf-parse-doubaogit clone --depth 1 https://github.com/bytedance/agentkit-samplesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/bytedance/agentkit-samples/byted-las-pdf-parse-doubao)<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-las-pdf-parse-doubao"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-las-pdf-parse-doubao/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-las-pdf-parse-doubao"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-las-pdf-parse-doubao.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.01227 |
| Opus 5 | $0.00028 | $0.00613 |
| Sonnet 5 | $0.00011 | $0.00245 |
| Haiku 4.5 | $0.00006 | $0.00123 |
Grade A, and why
byted-las-pdf-parse-doubao scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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/[email protected]"
- 新版本提醒:请执行
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
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 106 lines · 57 tokens per session scan A e52965ddb1a3
byted-las-pdf-parse-doubao is a skill published in the GitHub repository bytedance/agentkit-samples (450 stars, last pushed 5d ago), licensed Apache-2.0. It adds 57 tokens to every session and 1,227 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
A set of instructions for working with PDF files, which are documents designed to preserve their layout across devices.
nano-pdf
Edits PDF files using natural-language instructions via the nano-pdf CLI. Supports modifying text, changing titles, fixing typos, and updating content on specific pages. Use when the user wants to edit a PDF, modify PDF content, update PDF text, fix a typo in a PDF, change a PDF title, or rewrite part of a PDF page.
hive.pdf
Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…
pdf-toolkit
Structured .pdf operations: extract text/tables, merge pages from multiple PDFs, split a PDF by page ranges, fill PDF form fields, and generate fresh PDFs from JSON. Trigger when the user wants programmatic PDF work without natural-language rewriting — examples: pull tables from a report, combine three PDFs, extract…
pdf-analysis
A PDF analysis method for reading both normal PDFs with selectable text and scanned PDFs made from page images.
sn-da-non-spreadsheet-analysis
A skill for extracting and analysing content from Word files, PDFs, and PowerPoint presentations. It can work with text, tables, numbers, charts, formatting, and information across multiple documents.