Skip to content
AI & Agents
Skill

/byted-link-reader

使用内置 link_reader 函数读取网页、PDF或抖音视频内容。准备 URL 列表。运行脚本 `python scripts/link_reader.py "url1" "url2" ...`。

From plugin
agentkit-samples
493161 skills

Claude Code

$ npx -y skills add bytedance/agentkit-samples --skill byted-link-reader --agent claude-code

SKILL.md

byted-link-reader.SKILL.md
name: byted-link-reader
description: 使用内置 link_reader 函数读取网页、PDF或抖音视频内容。准备 URL 列表。运行脚本 `python scripts/link_reader.py "url1" "url2" ...`。
license: Complete terms in LICENSE.txt

BytedLinkReader

适用场景

当需要获取网页、PDF 或抖音视频的标题和正文内容时,使用该技能调用 `link_reader` 函数。

认证与凭据来源

  • 用户首次使用本技能时,先检查是否配置了`ARK_API_KEY`和`MODEL_AGENT_API_KEY`环境变量,如未配置,提示用户需要提供`ARK_API_KEY`,并把它写入到workspace下的环境变量文件中,如果文件已存在则追加到末尾,确保环境变量格式正确,使这个环境变量生效
  • 该技能默认使用 `ARK_API_KEY` 环境变量
  • 若未配置,将尝试使用 `MODEL_AGENT_API_KEY` 环境变量。

使用步骤

1. 准备 URL 列表。 2. 运行脚本 `python scripts/link_reader.py "url1" "url2" ...`。运行之前cd到对应的目录。 3. 返回结果包含每个 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"
@bytedance
Ships withagentkit-samples

欢迎来到 AgentKit 代码工坊(Samples)仓库! AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛。 本代码库包含了一系列示例和教程,帮助您理解、实现和集成 AgentKit 的各项功能到您的应用中。

Stars on GitHub

Momentum

stars in total
493
Star history of bytedance/agentkit-samples on GitHub, a chart by star-history.com

Other skills on agentkit-samples.

image-video-gen

image-video-gen

根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此 workflow 没有执行脚本,只是一个描述性的文档。

veadk-go-skills

veadk-go-skills

根据用户的功能需求,完成与 VeADK-Go 相关的功能; 包括:直接根据需求生成 Agent;将Enio Agent转换为VeADK-Go Agent。

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about byted-link-reader.

Which coding agents can use byted-link-reader?
byted-link-reader installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.