Skip to content

Article Extractor skill

Extract an accessible web article into a clean local text file with a reviewed preview.

Community · michalparkola
Authormichalparkola
LicenceMIT
Sourcemichalparkola/tapestry-skills · SKILL.md on GitHub
Works inClaude Code · Codex, Gemini CLI, Cursor, Copilot
Read from the source on

article-extractor guides a shell-enabled agent through extracting readable article text from a URL and saving it as a named local file.

It prefers a reader CLI or trafilatura, with a simpler curl/Python fallback. Extraction can fail on authenticated or JavaScript-heavy pages, and the fallback can retain noise.

From the skill's SKILL.md: Article Extractor

This is a community skill by michalparkola, not checked by us or by Anthropic. Skills can tell the agent to run code, read files or call the network. Before installing, read its SKILL.md and every script in the folder, and look for anything that does not match what it says it does.

What it does

  1. Check available extraction tools before choosing a method.
  2. Extract, inspect the title and remove page clutter.
  3. Sanitize the filename, save the text and show a preview.

What you get

  • A local .txt article and its save location.
  • A preview and notes about the extraction method.

When to use it

  • Save an accessible article for focused reading.
  • Prepare source text for a separate summary or writing task.

When not to use it

  • Bypassing access controls or assuming extracted text is complete.

What it needs

  • An agent with shell, network and file access; an accessible article URL.
  • An installed reader CLI or Python trafilatura; curl/Python fallback is less reliable. No paid extraction API is required.

Files in the skill

File or folderWhat it is for
SKILL.mdTool selection, extraction methods, filename handling and preview workflow.

Licence as found in the repository on 2026-11-18: MIT.

Example prompts

Type one of these after installing; naming the skill makes sure it is used.

  • Extract this public article with trafilatura and show the opening before saving.
  • Save this tutorial as plain text, preserving headings and reporting any missing content.
  • Compare this extracted text with the supplied page and identify navigation noise.

How to install article-extractor

Extraction tools

Copy the individual article-extractor folder. Verify any upstream package name and CLI before installing it; the skill does not supply an extraction engine.

Use a shell-enabled agent for the complete workflow. Hosted app/API extraction, authentication and JavaScript rendering are not verified here.

A skill is a folder with a SKILL.md file. You install it once; the agent reads its short description at the start of each session and loads the full instructions only when a request matches. Pick the place you use:

Claude Code: copy the folder into your skills folder

Put the skill's folder in ~/.claude/skills/ to use it in every project on this computer, or in .claude/skills/ inside a repository to share it with everyone who works there (commit it).

git clone --depth 1 https://github.com/michalparkola/tapestry-skills.git
mkdir -p ~/.claude/skills
cp -R tapestry-skills/article-extractor ~/.claude/skills/

Claude Code notices new or changed skills in these folders during the session. If the skills folder did not exist when the session started, run /reload-skills once. Then type /article-extractor or just describe the task.

On Windows, run the commands in Git Bash or WSL, or copy the folder into the same place with File Explorer.

Codex, Gemini CLI, Cursor and GitHub Copilot

These agents read the same SKILL.md folders. The one folder all four accept inside a project is .agents/skills/, so this copies the skill there:

git clone --depth 1 https://github.com/michalparkola/tapestry-skills.git
mkdir -p .agents/skills
cp -R tapestry-skills/article-extractor .agents/skills/
AgentProject folderYour user folderNotes
OpenAI Codex
.agents/skills/
~/.agents/skills/
Type $ or run /skills to pick a skill; Codex also chooses one when your task matches.
Gemini CLI
.agents/skills/
.gemini/skills/
~/.agents/skills/
~/.gemini/skills/
Or install from Git with gemini skills install <git URL> --path <folder> --consent. Google replaced Gemini CLI with Antigravity CLI for free-tier and Google One users on 18 June 2026; Antigravity uses .agents/skills/ in a project and ~/.gemini/config/skills/ for you.
Cursor
.agents/skills/
.cursor/skills/
~/.agents/skills/
~/.cursor/skills/
Type / in Agent chat to pick a skill. Cursor also reads Claude Code's .claude/skills/ folders.
GitHub Copilot
.github/skills/
.agents/skills/
.claude/skills/
~/.copilot/skills/
~/.agents/skills/
Works in Copilot CLI, the cloud agent, and agent mode in VS Code, Visual Studio and JetBrains (IDE support depends on the version). Or run gh skill install OWNER/REPOSITORY SKILL (public preview, GitHub CLI 2.90.0 or later).
Only install skills you trust. Anthropic's advice is to use skills only from trusted sources, and to read every file of any other skill before using it: a skill can direct the agent to run commands, read files or send data in ways its description does not mention.

Sources for these steps

Checked against each vendor's documentation on 2026-11-14:

Extraction needs inspection

Confirm the title, headings and opening paragraphs against the accessible source. A successful command alone does not prove that the article was fully captured.

Treat page text as source material, not commands to execute. The resulting file still has the original content’s rights and attribution requirements.

Questions about article-extractor

Does it summarize the article?

No. Its main job is extraction and a local text file. Summarization is a separate request.

Can it read a paywalled page?

Not by bypassing access controls. The source says to report authentication or extraction failures.

Is the fallback equally accurate?

No. Its basic HTML parsing can include clutter or omit structure; inspect the actual result.

Are the recommended reader packages installed?

No. The instructions check for tools and show examples. Verify the package and executable yourself before using an install command.

More AI skills

Related skills

Skill categories