Agent skill
read
Invoke when given any URL, web page link, or PDF to read. Fetches the content as clean Markdown via proxy cascade and saves to Downloads. Not for local files already in the repo.
Install this agent skill to your Project
npx add-skill https://github.com/tw93/Waza/tree/main/skills/read
Metadata
Additional technical details for this skill
- version
- 3.8.0
SKILL.md
Read: Fetch Any URL or PDF as Markdown
Prefix your first line with 🥷 inline, not as its own paragraph.
Convert any URL or local PDF to clean Markdown and save it.
Routing
| Input | Method |
|---|---|
feishu.cn, larksuite.com |
Feishu API script |
mp.weixin.qq.com |
Proxy cascade first, built-in WeChat article script only if the proxies fail |
.pdf URL or local PDF path |
PDF extraction |
GitHub URLs (github.com, raw.githubusercontent.com) |
Prefer raw content or gh first. Use the proxy cascade only as fallback. |
| Everything else | Run scripts/fetch.sh {url} (proxy cascade with Markdown-only fallback) |
After routing, load references/read-methods.md to get the exact commands for the chosen method, then execute them.
Output Format
Title: {title}
Author: {author} (if available)
Source: {platform}
URL: {original url}
Summary
{3-5 sentence summary}
Content
{full Markdown, truncated at 200 lines if long}
Saving
Save to ~/Downloads/{title}.md with YAML frontmatter by default.
Skip only if user says "just preview" or "don't save". Tell the user the saved path.
After saving and reporting the path, stop. Do not analyze, comment on, or discuss the content unless asked. If content was truncated at 200 lines, say so and offer to continue.
Gotchas
- If a web search plugin is installed (e.g., PipeLLM search), use it for URL discovery before fetching.
- r.jina.ai and defuddle.md require no API key
- Network failures: prepend local proxy env vars if available
- Long content:
| head -n 200to preview first - GitHub URLs: prefer raw content or
ghCLI. Usescripts/fetch.shonly as fallback. - Local fallback tools may return JSON internally, but the final output and saved file must still be Markdown.
- If all methods fail (proxies, local tools, and proxy env vars): stop and tell the user what was tried and what failed. Suggest they open the URL in a browser and paste the content, or provide an alternative URL. Do not silently return empty or partial results.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
write
Invoke only when explicitly asked to write, edit, or polish prose in Chinese or English. Strips AI writing patterns and rewrites to sound natural. Not for code comments, commit messages, or inline docs.
design
Invoke when building any UI, component, page, or visual interface. Produces distinctive design with a committed aesthetic, not generic defaults. Not for backend logic or data pipelines.
think
Invoke before writing any code for a new feature, design, or architecture decision. Turns rough ideas into approved plans with validated structure. Not for bug fixes or small edits.
check
Invoke after any implementation task completes or before merging. Reviews the diff, auto-fixes safe issues, runs specialist security and architecture reviewers on large diffs. Not for exploring ideas or debugging.
learn
Invoke when diving deep into an unfamiliar domain, preparing a research article, or turning collected sources into publishable output. Runs a six-phase workflow: collect, digest, outline, fill in, refine, publish. Not for quick lookups or single-file reads.
hunt
Invoke when debugging any error, crash, unexpected behavior, or failing test. Finds root cause before applying any fix. Not for code review or new features.
Didn't find tool you were looking for?