---
name: clean-boilerplate-and-extract-core-content-from
description: "Extracts the main article text from web pages, strips navigation, ads, and sidebars, and converts the core body into clean markdown. Use when you need focused source material for analysis, literature reviews, or documentation without clutter."
license: CC-BY-4.0
compatibility: "Needs access to: Browser, Notes, Docs."
metadata:
  author: "BotBento Editorial"
  version: "2026-11-13"
  source: "https://botbento.com/usecases/clean-boilerplate-and-extract-core-content-from/"
  kind: skill
  hermes:
    tags: ["web-scraping", "markdown", "research", "data-cleaning"]
    category: research
    requires_toolsets: ["browser", "file"]
---
# Extract clean article text from web pages

Strip ads and navigation from URLs into clean markdown notes

## When to use

Fetches target web pages, strips away navigational elements, advertising blocks, and peripheral clutter, and converts the primary body text into clean markdown. This delivers focused source material ready for analysis, literature reviews, or documentation without context pollution.

## Inputs

- `target_urls`: One or more web addresses whose pages should be fetched and cleaned.
- `destination_notes_file` (optional): Notes file where the cleaned markdown is appended or saved after confirmation.

## Steps

1. When you ask: Receive target URLs (User provides one or more web addresses in chat)
2. Extract main article text
3. Save cleaned markdown note

## Instructions

When the user provides one or more web addresses, use the browser tool to retrieve the page source. Identify the main text container, eliminating headers, navigation menus, ads, and footers. Convert the extracted core body content into structured markdown with appropriate headings and links preserved. Present a preview of the extracted text in chat, and ask for user confirmation before appending or saving the clean text into the destination notes file.

## Approvals

- Saving or appending the cleaned text to the destination notes file must wait for user confirmation.

## Output

Clean markdown note containing the page's main body text with headings and links preserved. (format: markdown)

## Source

Summarized in our own words from [Show HN: Pulpie – Models for Cleaning the Web](https://news.ycombinator.com/item?id=48806575) (Hacker News, checked 2026-10-16). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/clean-boilerplate-and-extract-core-content-from/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
