跳到正文
Skillpedia
调研7.5k · #13220

read

它能做什么

这个技能读取网页链接或 PDF,并按你需要的形式返回有用的内容。适合想要理解、引用或保存在线文章或文档的人。

适用场景

  • ✓你让智能体阅读、总结或引用网页链接的时候。
  • ✓你想把 PDF 转成可阅读文本或保存为文件的时候。
  • ✓你想把文章保存为干净的 Markdown 格式的时候。

技能链接

https://github.com/tw93/Waza/blob/main/plugins/waza/skills/read/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/tw93/Waza/blob/main/plugins/waza/skills/read/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我阅读这篇文章的链接,给出简短摘要,并列出我可以引用的关键句子。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会获取网页或 PDF,提取文字,并返回你要求的内容。如果页面需要付费或无法读取,技能会明确说明。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Read: Read Any URL or PDF

Prefix your first line with 🥷 inline, not as its own paragraph.

Fetch any URL or local PDF.

Outcome Contract

  • Outcome: the user gets the useful content from a URL or PDF in the form they asked for.

  • Done when: the answer is grounded in fetched content, paywall or extraction failures are explicit, and saved files are only created when requested or needed downstream.

  • Evidence: original URL or file path, fetch tier, extracted text or metadata, and warning signals from the fetched content.

  • Output: concise summary, clean Markdown, saved file path, quotes, citations, or extracted details, depending on the request.

  • Plain "read this" / "看这个链接" requests: return a concise source-grounded summary, not a full Markdown dump.

  • Quotes and citations: return the requested excerpt or relevant claim with its source, within applicable quotation limits.

  • "convert", "fetch as Markdown", "全文", "save", and "下载": return or save the requested content as clean Markdown. For "原文", extraction, or /learn, match the requested passage or downstream scope; do not assume a full-text response.

  • If the same user message asks for comparison, translation, extraction, or analysis, fetch first and then answer that request in the same turn.

Routing

Input Method
feishu.cn, larksuite.com Feishu API script
mp.weixin.qq.com Built-in fetcher first; WeChat browser script if extraction fails
.pdf URL or local PDF path PDF extraction
GitHub URLs (github.com, raw.githubusercontent.com) Prefer raw content or gh first; built-in fetcher for public-page fallback
x.com, twitter.com Built-in fetcher; third-party fallback only with user opt-in
Everything else Built-in fetcher
A query, no URL, and the built-in web search is thin, stale, or missing Chinese sources DeepSeek search, then fetch the results worth reading

After routing, load references/read-methods.md and run the commands for the chosen method.

Privacy and Fetch Tiers

scripts/fetch.sh is privacy-first. The cascade depends on whether the user opts into proxy services.

  • Default (fetch.sh URL): fetch from the source site and extract locally, without sending the URL to a third-party extraction service. Best quality requires pip install --user readability-lxml html2text; without those, falls back to a stdlib HTML stripper (works but messier output).

  • Opt-in (fetch.sh --use-proxy URL): local first, then defuddle.md, then r.jina.ai. Those third-party services receive the URL and may cache or log it. Reserve --use-proxy for JS-heavy pages (X/Twitter), paywalls, or anything the local extractor cannot reach.

  • DeepSeek (scripts/deepseek.py): runs only when DEEPSEEK_API_KEY is set, otherwise exits 2 with nothing sent. search is the fallback when built-in search is thin; with --use-proxy, fetch.sh also tries its Fetch API before defuddle. The query or URL goes to DeepSeek and each successful request is billed, so batch queries deliberately and keep private names, internal URLs, and credentials out of them.

Every tier emits a structured stderr line: [fetch] tier=<name> status=<ok|fail> reason="...". Read the stderr if a fetch fails; it names the specific tier and reason.

Hard rule: do not pass authenticated, internal, or otherwise sensitive URLs to --use-proxy or a third-party reader. Public-URL fallback also requires user opt-in; extraction failure alone is not consent.

Saving

Default: display only. Do not create a file; use the output form requested by the user, with a summary for plain reading.

Save to the user-specified directory, or to a session temp directory when no directory was specified, with YAML frontmatter when any of these are true:

  • User explicitly asks: "save", "download", "保存", "下载", "keep this"
  • Called from within /learn (Phase 1 expects a file path to organize)
  • User says "save" or "保存" after seeing the output (use conversation content, do not re-fetch)

When saving:

  • Prefer the directory named by the user or by /learn. If none is provided, create a per-session temp directory and report its full path.
  • If the file already exists, append -1, -2, etc. Never overwrite without confirmation.
  • Tell the user the saved path.

When not saving:

  • Do not mention that a file was not saved. Just show the content.

Images

By default only save Markdown. Download images only when the user explicit

常见问题

每次都会保存文件吗?

不会。只有在你要求,或后续步骤需要时,才会保存文件。

遇到付费墙页面怎么办?

技能会明确说明付费墙或提取失败,而不是猜测内容。

它会读取我项目里的本地文本文件吗?

不会。项目中已有的本地文本文件不在它的使用范围内。

详情

作者的原始描述

Fetches URLs and PDFs, then summarizes or returns clean Markdown; can also search the web through DeepSeek when built-in search is thin. Use when asked to read, fetch, quote, cite, convert, or save a URL or PDF. Not for local text files already in the repo.

repo: tw93/Waza

热度

GitHub 星标
7.5k
排名
#13220
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能