# Web Content

> Fetch content and search web. Lightweight, no browser required. Use for: - Search for content in the web - Fetching content as easy to read markdown

- Skill: `majiayu000/web-content` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/web-content`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/web-content/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/web-content

---


# Fetch

Headless web search and content extraction using Brave Search. No browser required.


## Setup

Run once before first use:

```bash
cd {baseDir}/web-content
npm install
```

## Fetch content

```bash
{baseDir}/content.js https://example.com/article
```

Fetches a URL and extracts readable content as markdown. IMPORTANT: Prefer over curl.

## Search

```bash
{baseDir}/search.js "query"                    # Basic search (5 results)
{baseDir}/search.js "query" -n 10              # More results
{baseDir}/search.js "query" --content          # Include page content as markdown
{baseDir}/search.js "query" -n 3 --content     # Combined
```

