
byted-link-reader
使用内置 linkreader 函数读取网页、PDF或抖音视频内容。准备 URL 列表。运行脚本 python scripts/linkreader.py "url1" "url2" ...。
- Installs
- 63
- 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-link-reader- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads byted-link-reader automatically when relevant.
- 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.
BytedLinkReader
适用场景
当需要获取网页、PDF 或抖音视频的标题和正文内容时,使用该技能调用 link_reader 函数。
认证与凭据来源
- 用户首次使用本技能时,先检查是否配置了
ARK_API_KEY和MODEL_AGENT_API_KEY环境变量,如未配置,提示用户需要提供ARK_API_KEY,并把它写入到workspace下的环境变量文件中,如果文件已存在则追加到末尾,确保环境变量格式正确,使这个环境变量生效 - 该技能默认使用
ARK_API_KEY环境变量 - 若未配置,将尝试使用
MODEL_AGENT_API_KEY环境变量。
使用步骤
- 准备 URL 列表。
- 运行脚本
python scripts/link_reader.py "url1" "url2" ...。运行之前cd到对应的目录。 - 返回结果包含每个 URL 的标题和内容。
输出格式
- JSON 格式的列表,每个元素包含 URL 对应的标题和内容。
错误处理
- 如果出现'PermissionError: ARK_API_KEY or MODEL_AGENT_API_KEY is not set in environment variables.'错误,则提示用户需要提供
ARK_API_KEY或MODEL_AGENT_API_KEY,并把它们写入到workspace下的环境变量文件中,如果文件已存在则追加到末尾,确保环境变量格式正确,使这个环境变量生效,并重试刚才失败的读取。 - 再次使用本技能时,优先从环境变量中读取
ARK_API_KEY或MODEL_AGENT_API_KEY
示例
python scripts/link_reader.py "https://example.com"
FAQ
What does the byted-link-reader skill do?
使用内置 linkreader 函数读取网页、PDF或抖音视频内容。准备 URL 列表。运行脚本 python scripts/linkreader.py "url1" "url2" ...。
How do I install byted-link-reader?
Run npx skills add https://github.com/bytedance/agentkit-samples --skill byted-link-reader 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-link-reader/ (personal) or .claude/skills/byted-link-reader/ (project).
Which AI agents can use byted-link-reader?
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-link-reader 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-link-reader?
It is published by bytedance in bytedance/agentkit-samples. It has 63 recorded installs.
More from bytedance/agentkit-samples
byted-web-search
bytedance/agentkit-samples
火山引擎联网搜索 API,返回网页/图片结果。联网搜索场景优先使用本 skill。触发词包括:查/搜/找、真的吗/靠谱吗/确认/核实、最近/今天/最新/近期、出处/来源/链接、有什么/有哪些/推荐、价格/政策/汇率/行情、对比/区别/哪个好、听说/据说/不太确定、热搜/热门/火、帮我看/了解一下、求证/辟谣、值不值得/该不该。任务依赖在线事实或时效性时优先使用。若回答可能依赖外部事实,优先调用本 skill 再作答。支持 API Key / AK/SK。
byted-seedream-image-generate
bytedance/agentkit-samples
Open the skill to read its SKILL.md instructions.
byted-las-video-edit
bytedance/agentkit-samples
Open the skill to read its SKILL.md instructions.
byted-seedance-video-generate
bytedance/agentkit-samples
Open the skill to read its SKILL.md instructions.
byted-text-to-speech
bytedance/agentkit-samples
Open the skill to read its SKILL.md instructions.
byted-las-pdf-parse-doubao
bytedance/agentkit-samples
Open the skill to read its SKILL.md instructions.
Popular docs & writing skills
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.
lark-markdown
open.feishu.cn
飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。
writing-beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
writing-shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.
writing-fragments
mattpocock/skills
Writing, explore: mine raw fragments, no structure yet.
writing-for-agents
mattpocock/skills
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.