Global Rank · of 601 Skills
byted-link-reader AI Agent Skill
View Source: bytedance/agentkit-samples
CriticalInstallation
npx skills add bytedance/agentkit-samples --skill byted-link-reader 26
Installs
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"Installs
Security Audit
View Source
bytedance/agentkit-samples
More from this source
Power your AI Agents with
the best open-source models.
Drop-in OpenAI-compatible API. No data leaves Europe.
Explore Inference APIGLM
GLM 5
$1.00 / $3.20
per M tokens
Kimi
Kimi K2.5
$0.60 / $2.80
per M tokens
MiniMax
MiniMax M2.5
$0.30 / $1.20
per M tokens
Qwen
Qwen3.5 122B
$0.40 / $3.00
per M tokens
How to use this skill
Install byted-link-reader by running npx skills add bytedance/agentkit-samples --skill byted-link-reader in your project directory. Run the install command above in your project directory. The skill file will be downloaded from GitHub and placed in your project.
No configuration needed. Your AI agent (Claude Code, Cursor, Windsurf, etc.) automatically detects installed skills and uses them as context when generating code.
The skill enhances your agent's understanding of byted-link-reader, helping it follow established patterns, avoid common mistakes, and produce production-ready output.
What you get
Skills are plain-text instruction files — not executable code. They encode expert knowledge about frameworks, languages, or tools that your AI agent reads to improve its output. This means zero runtime overhead, no dependency conflicts, and full transparency: you can read and review every instruction before installing.
Compatibility
This skill works with any AI coding agent that supports the skills.sh format, including Claude Code (Anthropic), Cursor, Windsurf, Cline, Aider, and other tools that read project-level context files. Skills are framework-agnostic at the transport level — the content inside determines which language or framework it applies to.
Chat with 100+ AI Models in one App.
Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.