本文へスキップ
Skillpedia
リサーチ7.5k · #13220

read

できること

このスキルは、Web のリンクや PDF を読み、必要な形で役立つ内容を返します。オンラインの記事や文書を理解したり、引用したり、保存したりしたい人向けです。

使う場面

  • ✓Web のリンクを読んで、要約したり引用したりするよう頼むとき。
  • ✓PDF を読みやすいテキストにしたり、ファイルとして保存したりしたいとき。
  • ✓記事をきれいな Markdown として保存したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/tw93/Waza/blob/main/plugins/waza/skills/read/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル