article-extractor
Skill4 starsChanged 15 days agoMITView on GitHub
Extract clean article content from a URL (blog post, news article, tutorial) and save it as readable text with ads, navigation, and other clutter removed. Use when asked to "extract article", "scrape text from URL", "download blog post", "parse HTML article", "save article as text", or "clean article content from a webpage".
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 79
If the output contains any of the above, the extractor either picked the wrong method or the site is hostile to extraction (heavy JS, …
- Distinctive: line 83
After extraction, confirm all of:
- Distinctive: line 91
If the site is a JavaScript SPA or requires authentication, all extractors will fail — tell the user explicitly rather than saving empty …
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Article Extractor
Extracts the main content from web articles and blog posts, removes navigation, ads, newsletter signups, and other clutter, and saves the result as clean readable text.
Contents
- When to Use
- Priority Order
- Quick Examples
- Verification
- References
When to Use
Activate when the user:
- Provides an article/blog URL and wants the text content
- Says "download this article", "extract content from [URL]", or "save this blog post as text"
- Needs clean article text without distractions
Priority Order
- Detect available tool:
reader→trafilatura→ fallback - Extract content with the best available tool
- Extract title for filename
- Clean filename for filesystem (strip illegal chars, cap length)
- Save to
[clean-title].txt - Show preview and verify (see Verification)
See references/installation.md for tool detection and install commands.
Quick Examples
reader (recommended):
reader "URL" > article.txt
TITLE=$(head -n 1 article.txt | sed 's/^# //')trafilatura (best for news/non-English):
trafilatura --URL "URL" --output-format txt --no-comments > article.txtfallback (no dependencies):
See references/method-fallback.md — uses curl + a small inline Python parser.
For the full auto-detect + filename-cleanup script, see references/full-workflow.md.
Output Contract
The saved file should contain:
- Article title (when the tool reports one)
- Author and publish date (when available —
trafilaturaJSON, sometimesreader) - Main article text with section headings preserved
The saved file should not contain:
- Navigation menus, headers, footers
- Ads and promotional content
- Newsletter signup forms
- Related-articles sidebars
- Cookie / consent banners
- Social-media buttons
- Comment sections (suppress with
trafilatura --no-comments)
If the output contains any of the above, the extractor either picked the wrong method or the site is hostile to extraction (heavy JS, anti-scraping). Retry with the next tool in the priority chain or surface the failure.
Verification
After extraction, confirm all of:
- Output file exists and is non-empty
- First 10 lines look like article prose, not nav/ads/cookie banners (matches the Output Contract above)
- Title was extracted (filename is meaningful, not
Article.txt) - Filename has no illegal characters (
/,:,?,",<,>,|) - Show the preview to the user (first 10–15 lines). The standard report is: extracted title, save path, file size, then preview.
If the site is a JavaScript SPA or requires authentication, all extractors will fail — tell the user explicitly rather than saving empty output.
References
references/installation.md— tool detection and installreferences/method-reader.md—reader(Mozilla Readability)references/method-trafilatura.md—trafilaturaflags and use casesreferences/method-fallback.md—curl+ Python fallback parserreferences/full-workflow.md— complete end-to-end scriptreferences/troubleshooting.md— paywall, JS SPAs, noisy output, edge cases
Other versions9 projects use a version of this.
Word for word · 1
- OpenxIntelligence/Coding-Agent-Skills★ 4100% same
Edited · 0
None found.
Wrote their own version · 8
- michalparkola/tapestry-skills-for-claude-code★ 557same name
- michalparkola/tapestry-skills★ 538same name
- TheArchitectit/awesome-cline-skills★ 8same name
- AJBcoding/claude-skill-eval★ 4same name
- opendatahub-io/docs-skills★ 4same name
- AthArvA-188/top-10-claude-skills★ 3same name
- silvainfm/claude-skills★ 2same name
- JSBtechnologies/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository169 other files it gives its agents.
- epub-skill/CLAUDE.mdCLAUDE.md
- linear-cli-skill/CLAUDE.mdCLAUDE.md
- AgentDB Advanced FeaturesSkill
- AgentDB Learning PluginsSkill
- AgentDB Memory PatternsSkill
- AgentDB Performance OptimizationSkill
- AgentDB Vector SearchSkill
- agent-evalSkill
- agentic-jujutsuSkill
- agile-product-ownerSkill
- ai-tool-pickerSkill
- algorithmic-artSkill
- api-connectorSkill
- api-design-patternsSkill
- architecture-diagram-creatorSkill
- aws-agentic-aiSkill
- aws-cdk-developmentSkill
- aws-cost-operationsSkill
- aws-serverless-edaSkill
- biogeobearsSkill
- brainstormingSkill
- brand-guidelinesSkill
- canvas-designSkill
- capa-officerSkill
- ceo-advisorSkill
- changelog-generatorSkill
- code-auditorSkill
- codebase-documenterSkill
- code-executionSkill
- code-explainerSkill
- code-refactorSkill
- code-reviewerSkill
- code-transferSkill
- content-creatorSkill
- content-research-writerSkill
- conversation-analyzerSkill
- csv-data-summarizerSkill
- cto-advisorSkill
- d3-vizSkill
- dashboard-creatorSkill
- defense-in-depthSkill
- deploy-itSkill
- developer-growth-analysisSkill
- dispatching-parallel-agentsSkill
- doc-coauthoringSkill
- docxSkill
- domain-name-brainstormerSkill
- dwa-councilSkill
- error-fixerSkill
- escalation-reasoningSkill
- evaluator-optimizerSkill
- executing-plansSkill
- extract-from-pdfsSkill
- fda-consultant-specialistSkill
- feature-planningSkill
- file-operationsSkill
- file-organizerSkill
- finishing-a-development-branchSkill
- firebase-buddySkill
- flowchart-creatorSkill
- The first 60 shown.
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.

