Skip to main content
skill CX Codex

article-extractor · terrylica — Claude Code skill: what it does, how to install

article-extractor downloads technical articles and documentation from mql5.com for reference or training datasets. Useful for collecting MQL5 code examples by URL or author.

MIT 138 installs ★ 3 updated 2026-10-25

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add terrylica/cc-skills --skill article-extractor -a claude-code
Open on GitHub

What article-extractor does

This skill extracts content strictly from the mql5.com domain. It accepts direct article links, author profile identifiers (numeric IDs or usernames), and text files containing lists of URLs for batch processing. If a prompt lacks specifics, the agent requests the article ID or author, a batch limit, and the target destination.

Execution relies on agent bash capabilities and expects curl alongside jq to be installed on your system. All extracted content is handled in UTF-8 encoding. Any attempt to scrape external sites like Bloomberg or Yahoo is rejected immediately because the skill is restricted to mql5.com resources.

What it helps with

  • save algorithmic trading articles from mql5.com
  • download all tutorials written by a specific MQL5 author
  • batch process a list of documentation URLs
  • build a dataset of MQL5 programming examples

Example prompts for the agent

  • Extract the MQL5 trading article with ID 19625
  • Download all tutorials published by author 29210372 on mql5.com
  • Fetch articles listed in my text file from mql5.com

How to install article-extractor

1Skills CLI (Vercel)

npx skills add terrylica/cc-skills --skill article-extractor -a claude-code

2Manually: put the files in place

~/.claude/skills/article-extractor/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/article-extractor/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about article-extractor

How to install article-extractor in Claude Code?

Run npx skills add terrylica/cc-skills --skill article-extractor -a claude-code.

Which websites can this skill scrape?

The tool only works with mql5.com. It rejects requests targeting third-party domains.

What dependencies are required for article extraction?

Your environment must have curl and jq installed for extraction commands to run.

Source text

SKILL.md · MIT
---
name: article-extractor
description: Extract MQL5 articles and documentation. TRIGGERS - MQL5 articles, MetaTrader docs, mql5.com resources.
allowed-tools: Read, Bash, Grep, Glob
---

# MQL5 Article Extractor

Extract technical trading articles from mql5.com for training data collection. **Scope limited to mql5.com domain only.**

> **Self-Evolving Skill**: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

## When to Use This Skill

Use this skill when:

- Extracting articles from mql5.com for reference or training data
- Downloading MQL5 documentation and tutorials
- Collecting trading articles from specific MQL5 users
- Building a corpus of MQL5 programming examples

## Scope Boundaries

**VALID requests:**

- "Extract this mql5.com article: <https://www.mql5.com/en/articles/19625>"
- "Get all articles from MQL5 user 29210372"
- "Download trading articles from mql5.com"
- "Extract 5 MQL5 articles for testing"

**OUT OF SCOPE:**

- "Extract from yahoo.com" - NOT SUPPORTED (mql5.com only)
- "Scrape news from reuters" - NOT SUPPORTED (mql5.com only)
- "Get stock data from Bloomberg" - NOT SUPPORTED (mql5.com only)

If user requests non-mql5.com extraction, respond: "This skill extracts articles from mql5.com ONLY. For other sites, use different tools."

## Repository Location

Working directory: `$HOME/code/<mt5-project>` (adjust path for your environment)

Always execute commands from this directory:

```bash
cd "$HOME/code/mt5-local"
```

## Valid Input Types

### 1. Article URL (Most Specific)

**Format**: `https://www.mql5.com/en/articles/[ID]` **Example**: `https://www.mql5.com/en/articles/19625` **Action**: Extract single article

### 2. User ID (Numeric or Username)

**Format**: Numeric (e.g., `29210372`) or username (e.g., `jslopes`) **Source**: From mql5.com profile URL **Action**: Auto-discover and extract all user's articles

### 3. URL List File

**Format**: Text file with one URL per line **Action**: Batch process multiple articles

### 4. Vague Request

If user says "extract mql5 articles" without specifics, prompt for:

1. Article URL OR User ID
1. Quantity limit (for testing)
1. Output location preference

---

## Reference Documentation

For detailed information, see:

- [Extraction Modes](./references/extraction-modes.md) - Single, batch, auto-discovery, official docs modes
- [Data Sources](./references/data-sources.md) - User collections and official documentation
- [Troubleshooting](./references/troubleshooting.md) - Common issues and solutions
- [Examples](./references/examples.md) - Usage examples and patterns

---

## Troubleshooting

| Issue                  | Cause                         | Solution                                          |
| ---------------------- | ----------------------------- | ------------------------------------------------- |
| Non-mql5.com URL       | Skill only supports mql5.com  | Use other tools for non-mql5.com sites            |
| Article not found      | Invalid article ID or removed | Verify URL exists by visiting in browser          |
| User ID not recognized | Wrong user ID format          | Use numeric ID from profile URL or exact username |
| Empty extraction       | Rate limiting or site change  | Wait and retry, check for site structure changes  |
| Permission denied      | Working directory mismatch    | Run from $HOME/eon/mt5-local directory            |
| Batch too large        | Too many articles requested   | Limit batch size, use URL list file               |
| Missing dependencies   | Required tools not installed  | Install curl, jq for extraction                   |
| Output encoding issues | Unicode in article content    | Ensure UTF-8 output handling                      |

## Post-Execution Reflection

After this skill completes, check before closing:

1. **Did the command succeed?** — If not, fix the instruction or error table that caused the failure.
2. **Did parameters or output change?** — If the underlying tool's interface drifted, update Usage examples and Parameters table to match.
3. **Was a workaround needed?** — If you had to improvise (different flags, extra steps), update this SKILL.md so the next invocation doesn't need the same workaround.

Only update if the issue is real and reproducible — not speculative.

© terrylica · MIT · terrylica/cc-skills

Similar skills

All skills for Browser and scraping →

article-extractor by other authors comes first.

article-extractor michalparkola article-extractor extracts the core text of blog posts and articles from web links, removing ads, navigation menus, and signup forms before saving to a text file. CX Codex +1 ★ 585repo stars wechat-article-extractor freestylefly wechat-article-extractor pulls title, author, publish time and HTML body out of WeChat Official Account links. Useful when you need that content as structured data. CX Codex +1 3,900installs yc-reader himself65 yc-reader — a skill that looks up Y Combinator companies and batches through the public yc-oss API: profiles, industries, tags, hiring lists, portfolio stats. Read-only, no key. CX Codex +1 3,300installs hackernews okou-ai Queries the official Hacker News Firebase API from the terminal. Helps coding assistants read top tech stories, job postings, and discussions directly in your workspace. CX Codex +1 3,200installs llamacloud-index LlamaIndex A skill for working with documents in LlamaCloud Index v2 via REST API: agentic retrieval over a knowledge base, navigating the index like a file system, bounded reads of fragments. CX Codex +1 215installs microsoft-excel acedatacloud Reads and edits Excel workbooks that live in OneDrive or SharePoint through the Microsoft Graph workbook API. Needs an OAuth token in $MICROSOFT_EXCEL_TOKEN. CX Codex +1 187installs google-sheets acedatacloud This skill reads and edits Google Sheets through the Sheets v4 REST API. Use it for ranges, rows, tabs, and spreadsheet creation from an agent conversation. CX Codex +1 179installs

From the same set79

The whole set →
log-reader log-reader reads MetaTrader 5 log files and Print() output straight from UTF-16LE daily logs without checking the Experts tab manually. CX Codex +1 145installs adr-code-traceability The adr-code-traceability skill links code to Architecture Decision Records with file headers or inline comments. Use it when an implementation choice needs a clear connection to its decision record. CX Codex +1 144installs mlflow-python mlflow-python is a Claude Code skill for logging backtest parameters and metrics in MLflow, searching experiment runs, and retrieving metric history via the Python API. CX Codex +1 139installs code-clone-assistant code-clone-assistant detects duplicate code using PMD CPD and Semgrep, guides refactoring of DRY violations. Catches both exact clones and similar patterns. CX Codex +1 139installs glossary-management glossary-management is a Claude Code skill that maintains a terminology glossary and connects it to Vale. It runs for glossary edits, term additions, validation, and sync requests. CX Codex +1 138installs gmail-access The gmail-access skill connects the agent to a Gmail command-line client so it can pull messages, search a mailbox, save what it finds and stage drafts. Handy when the thread you need sits next to the code you are working on. CX Codex +1 137installs skill-architecture skill-architecture guides skill creation and updates, YAML structure checks, and common troubleshooting. Task templates help you choose a workflow before editing files. CX Codex +1 137installs slash-command-factory slash-command-factory generates Claude Code slash command Markdown files with YAML frontmatter through a question workflow or ten presets. CX Codex +1 136installs

Project sponsors

Companies that keep this analytics open