web-content-downloader
Skill87 starsChanged 6 months agoApache-2.0View on GitHub
Downloads web pages and converts them to Markdown files, preserving the original language (no translation). Use when the user wants to download web content, save articles, or extract images from web pages.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-skill-reviewerSkill
- code-readerSkill
- dir-organizerSkill
- doc-reviewerSkill
- drawio-designerSkill
- editorial-card-designerSkill
- humanizer-zhSkill
- md-link-checkerSkill
- md-summarizerSkill
- md-translatorSkill
- ontologySkill
- openspec-assistantSkill
- pptx-editorSkill
- pptx-readerSkill
- project-analyzerSkill
- reference-organizerSkill
- self-reviewSkill
- tech-outline-plannerSkill
- update-submitterSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Primary Method: Use Jina Reader to fetch the content.
- Very specific: line 18
Fallback Method: If Jina Reader fails or returns empty content, fall back to other tools (such as …
- Distinctive: line 19
Keep Original Language: Do NOT translate the content.
- Very specific: line 20
Table Handling: If the original web page contains tables (HTML <table>), they MUST be accurately converted into standard Markdown table …
- Distinctive: line 21
Formatting Rules: Ensure the typography follows standard rules: insert spaces between Chinese and English characters.
- Very specific: line 30
Check if an img directory exists in the current workspace.
- Very specific: line 31
Use terminal commands (e.g., curl -O) to batch download the extracted images into the img directory.
- Very specific: line 36
Use terminal commands (e.g., mv) to rename the downloaded images.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
English version: SKILL-en.md
Web Content Downloader
This skill is used to download specified web page content and convert it into Markdown format while retaining the original language (no translation). It also automatically extracts and downloads images from the web page into a local img directory, renames the images meaningfully, and correctly updates their references in the Markdown file.
Workflow
Strictly follow these steps:
1. Fetch and Convert Web Content
- Primary Method: Use Jina Reader to fetch the content. Execute the terminal command
curl -s "https://r.jina.ai/<TARGET_URL>". This directly returns the main body in well-formatted Markdown. - Fallback Method: If Jina Reader fails or returns empty content, fall back to other tools (such as
mcp_DuckDuckGo_Search_Server_fetch_content,curl, or equivalent tools) to fetch the HTML content of the target URL, then clean and convert the HTML into Markdown. - Keep Original Language: Do NOT translate the content. Retain the original language of the web page.
- Table Handling: If the original web page contains tables (HTML
<table>), they MUST be accurately converted into standard Markdown table format (|---|---|). Avoid using HTML line break tags like<br>inside Markdown tables to keep them clean. - Formatting Rules: Ensure the typography follows standard rules: insert spaces between Chinese and English characters; ensure code blocks have explanatory comments.
2. Extract Image Links
- Parse the original web content or HTML to extract all core image links. Pay attention not only to
<img src="...">and Markdown image syntax, but also to modern responsive tags like<source srcset="...">orsrcsetattributes. - Filter out meaningless images such as favicons, tracking pixels, or tiny UI icons.
3. Create Directory and Download Images
- Check if an
imgdirectory exists in the current workspace. If not, create it using the terminal commandmkdir -p img. - Use terminal commands (e.g.,
curl -O) to batch download the extracted images into theimgdirectory.
4. Rename Images
- Generate meaningful English or Pinyin names for the downloaded images based on the article's context or what the image depicts (e.g.,
design-patterns.png). - Use terminal commands (e.g.,
mv) to rename the downloaded images.
5. Update Markdown References
- Replace the original remote image links in the Markdown document with the local image links (e.g.,
). - Save the final Markdown text to the file specified by the user, or generate a
.mdfile based on the web page title and save it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

