# MarkdownAPI Starter

> Turn one public webpage into a clean Markdown file locally — no API key, hosted service, or batch workflow.

MarkdownAPI Starter is a free AI agent skill on Agensi by Ivan, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ivan](https://www.agensi.io/creators/creator-1551)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0.1
- Last updated: 2026-11-30
- Security: scan passed (2026-11-30); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/markdownapi-starter
- Tags: llm-ops, node-js, markdown, web-scraping, rag, data-extraction

## About this skill

Scraping modern websites often yields a mess of navigation menus, ads, and tracker scripts that break RAG pipelines and clutter notes. This skill provides a lightweight Node.js workflow to strip the noise and convert public HTML pages into clean, readable Markdown.

### What it does
- **HTML to Markdown conversion** Extracts the core content of a webpage using Mozilla Readability.
- **Noise reduction** Removes headers, footers, sidebars, and advertising scripts automatically.
- **Local execution** Runs directly on your machine without external API keys or hosted infrastructure.
- **Automatic naming** Generates logical filenames based on the site hostname if no path is provided.

### How it works
1. Verify the target URL is public and does not sit behind a login, paywall, or CAPTCHA.
2. Execute the conversion script via Node.js with the target URL and optional output path.
3. Inspect the generated UTF-8 Markdown file in the local directory.

### Frameworks & tools
This skill requires Node.js 18 or newer and uses Mozilla Readability for content extraction.

### Why this beats prompting it yourself
Prompting an LLM to "summarize this URL" often leads to hallucinations or truncated content based on the model's training data cutoff. This skill performs a direct, deterministic extraction of the current page content, ensuring you get the actual text rather than an AI's guess.

### Use cases
- Clean web content for local RAG (Retrieval-Augmented Generation) ingestion.
- Save long-form articles for offline reading in Obsidian or Notion.
- Archive documentation pages into a version-controlled repository.

### Known limitations
No support for JavaScript-rendered sites, paywalls, or batch processing. Limited to HTTP/HTTPS URLs under 10MB with a 15-second timeout.

## Requires

- Node.js

Uses direct network access only for the single URL you provide. No accounts, cookies, paywall bypass, browser automation, or Agensi tools.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the MarkdownAPI Starter skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill improve the quality of scraped web content?

This skill converts a public HTML webpage into a clean, readable Markdown file. It solves the problem of messy web scraping by using Mozilla Readability to automatically strip away navigation menus, ads, and tracker scripts.

### What kind of files does this skill produce?

The primary output is a single UTF-8 Markdown file containing the readable body of the article. If you do not provide a specific file path, the skill will automatically generate a filename based on the site hostname.

### What do I need to have ready to use this skill?

You must provide an absolute public URL starting with http or https. You will also need Node.js 18 or newer installed on your machine to execute the local conversion script.

### Are there specific types of websites that this skill cannot process?

This skill is designed for direct HTML extraction and cannot handle pages that require JavaScript rendering, logins, paywalls, or CAPTCHA bypasses. It is also limited to one URL per run and cannot perform batch processing or combine multiple pages.

### How should I phrase my request to the AI agent to trigger this skill?

You should ask your AI agent to save, clean, or prepare a specific public webpage as a Markdown file for your notes or research. Ensure you provide the full URL and mention that you want the content cleaned of noise like ads and sidebars.

### Why is using this skill better than asking an AI to summarize a URL?

Unlike an LLM that might hallucinate or use outdated training data to summarize a URL, this skill performs a deterministic extraction of the current live page content. This ensures you receive the actual text currently on the site rather than an AI's guess.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
