Link Reader
Documentslink-readerLink Reader is an Agent Skill for documents published in the huangruiteng/CS-Notes repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
使用内置 link_reader 函数读取网页、PDF或抖音视频内容。准备 URL 列表。运行脚本 `python scripts/link_reader.py "url1" "url2" ...`。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/huangruiteng/CS-Notes/blob/HEAD/.trae/openclaw-skills/link-reader/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/link-reader, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Link Reader
适用场景
当需要获取网页、PDF 或抖音视频的标题和正文内容时,使用该技能调用 link_reader 函数。
使用步骤
- 准备 URL 列表。
- 运行脚本
python scripts/link_reader.py "url1" "url2" ...。运行之前cd到对应的目录。 - 返回结果包含每个 URL 的标题和内容。
输出格式
- JSON 格式的列表,每个元素包含 URL 对应的标题和内容。
示例
python scripts/link_reader.py "https://example.com"