Search

PythonReactSEOPDF
OpenClaw

markdown-browser

Wrapper skill for OpenClaw web_fetch results. Use when you need MECE post-processing on fetched pages: policy decision from Content-Signal, privacy redaction, optional markdown normalization fallback, and stable output schema without re-implementing network fetch.

2233admin0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install 2233admin/markdown-browser

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Markdown Browser Skills

This skill is an orchestration layer, not a replacement fetcher. It always keeps official web_fetch as the fetch source of truth.

MECE Architecture

  1. Fetch layer (official, exclusive)
  • Use OpenClaw web_fetch to retrieve the page.
  • Do not call direct HTTP fetch inside this skill for normal operation.
  1. Policy layer (these skills)
  • Parse Content-Signal and compute policy_action.
  • Current action focuses on ai-input semantics: allow_input, block_input, needs_review.
  1. Privacy layer (these skills)
  • Redact path/fragment/query values in output URL fields.
  • Keep URL shape useful for debugging without leaking sensitive values.
  1. Normalization layer (these skills)
  • If contentType=text/markdown, keep content as-is.
  • If contentType=text/html, convert with turndown as fallback enhancement.
  • For other content types, pass through text.

Execution Order

  1. Call official web_fetch.
  2. Pass the result JSON into this wrapper.
  3. Optionally pass Content-Signal and x-markdown-tokens header values if available.
  4. Use the returned normalized object for downstream agent logic.

Wrapper Tool

process_web_fetch_result({ web_fetch_result, content_signal_header, markdown_tokens_header })

Input:

  • web_fetch_result (required): JSON payload returned by OpenClaw web_fetch.
  • content_signal_header (optional): raw Content-Signal header string.
  • markdown_tokens_header (optional): raw x-markdown-tokens header value.

Output:

  • content
  • format (markdown | html-fallback | text)
  • token_estimate (number | null)
  • content_signal
  • policy_action
  • source_url (redacted)
  • status_code
  • fallback_used

CLI Usage

# Install runtime dependency once inside the skill directory
npm install --omit=dev

# 1) Obtain a web_fetch payload first (from OpenClaw runtime)
# 2) Save it as /tmp/web_fetch.json
# 3) Run wrapper post-processing
node browser.js \
  --input /tmp/web_fetch.json \...

Source information

Source
github
Repository
openclaw/skills
Path
skills/2233admin/markdown-browser
Version
—
Commit
2503374ddb6d0962359ab95280046274ae4b8a3c
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

Markdown Browser Skills (OpenClaw)

The "Smart Logic" Layer for OpenClaw's Native Fetch

License: MIT OpenClaw: v2026.2.13+

These skills act as a Smart Wrapper around OpenClaw's native web_fetch. It separates the mechanism of fetching (handled by OpenClaw's Rust engine) from the policy of data handling (handled by these skills).

🚀 Why Use This?

OpenClaw v2026.2.13 introduced native Markdown support, which is fast ("Ferrari Engine"). These skills add the safety features ("Volvo Seatbelt"):

  1. 🛡️ Policy Enforcement: Automatically parses Content-Signal headers. If a site says ai-train=no, we flag it immediately.
  2. 🔒 Privacy Redaction: Automatically detects and redacts sensitive keys/tokens from URLs before they enter your agent's context.
  3. 🧩 Graceful Fallback: Native fetch didn't get Markdown? No problem. We rely on turndown to convert the HTML fallback into clean Markdown. Your agent always gets Markdown.
  4. 📦 Strict Normalization: Outputs a standardized JSON schema, decoupling your agent logic from raw HTTP responses.

📦 Architecture

graph LR
    A[Agent] -->|1. web_fetch| B(Cloudflare / Web)
    B -->|2. Raw Response| A
    A -->|3. Raw JSON| C{Smart Wrapper}
    C -->|Privacy Check| D[Redacted URL]
    C -->|Policy Check| E[Allowed/Blocked]
    C -->|Format Check| F[Markdown Content]
    D --> G[Standardized Output]
    E --> G
    F --> G
    G -->|4. Clean Data| A

🛠️ Installation

Navigate to your OpenClaw skills directory:

cd ~/.openclaw/skills
git clone https://github.com/sarahmirrand001-oss/markdown-browser.git
cd markdown-browser
npm install --omit=dev

💻 Usage

These skills are designed to be used after a web_fetch call in your agent workflow.

CLI Example
# 1. Save your web_fetch result to a file (e.g., input.json)
# 2. Run the...

Extracted content

SKILL.md
# Markdown Browser Skills

This skill is an orchestration layer, not a replacement fetcher. It always keeps official `web_fetch` as the fetch source of truth.

## MECE Architecture

1. Fetch layer (official, exclusive)
- Use OpenClaw `web_fetch` to retrieve the page.
- Do not call direct HTTP fetch inside this skill for normal operation.

2. Policy layer (these skills)
- Parse `Content-Signal` and compute `policy_action`.
- Current action focuses on `ai-input` semantics: `allow_input`, `block_input`, `needs_review`.

3. Privacy layer (these skills)
- Redact path/fragment/query values in output URL fields.
- Keep URL shape useful for debugging without leaking sensitive values.

4. Normalization layer (these skills)
- If `contentType=text/markdown`, keep content as-is.
- If `contentType=text/html`, convert with `turndown` as fallback enhancement.
- For other content types, pass through text.

## Execution Order

1. Call official `web_fetch`.
2. Pass the result JSON into this wrapper.
3. Optionally pass `Content-Signal` and `x-markdown-tokens` header values if available.
4. Use the returned normalized object for downstream agent logic.

## Wrapper Tool

`process_web_fetch_result({ web_fetch_result, content_signal_header, markdown_tokens_header })`

Input:
- `web_fetch_result` (required): JSON payload returned by OpenClaw `web_fetch`.
- `content_signal_header` (optional): raw `Content-Signal` header string.
- `markdown_tokens_header` (optional): raw `x-markdown-tokens` header value.

Output:
- `content`
- `format` (`markdown` | `html-fallback` | `text`)
- `token_estimate` (`number | null`)
- `content_signal`
- `policy_action`
- `source_url` (redacted)
- `status_code`
- `fallback_used`

## CLI Usage

```bash
# Install runtime dependency once inside the skill directory
npm install --omit=dev

# 1) Obtain a web_fetch payload first (from OpenClaw runtime)
# 2) Save it as /tmp/web_fetch.json
# 3) Run wrapper post-processing
node browser.js \
  --input /tmp/web_fetch.json \...
README
# Markdown Browser Skills (OpenClaw)

> **The "Smart Logic" Layer for OpenClaw's Native Fetch**

![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
![OpenClaw: v2026.2.13+](https://img.shields.io/badge/OpenClaw-v2026.2.13%2B-green)

These skills act as a **Smart Wrapper** around OpenClaw's native `web_fetch`. It separates the *mechanism* of fetching (handled by OpenClaw's Rust engine) from the *policy* of data handling (handled by these skills).

## 🚀 Why Use This?

OpenClaw v2026.2.13 introduced native Markdown support, which is fast ("Ferrari Engine"). These skills add the safety features ("Volvo Seatbelt"):

1. **🛡️ Policy Enforcement**: Automatically parses `Content-Signal` headers. If a site says `ai-train=no`, we flag it immediately.
2. **🔒 Privacy Redaction**: Automatically detects and redacts sensitive keys/tokens from URLs before they enter your agent's context.
3. **🧩 Graceful Fallback**: Native fetch didn't get Markdown? No problem. We rely on `turndown` to convert the HTML fallback into clean Markdown. **Your agent always gets Markdown.**
4. **📦 Strict Normalization**: Outputs a standardized JSON schema, decoupling your agent logic from raw HTTP responses.

## 📦 Architecture

```mermaid
graph LR
    A[Agent] -->|1. web_fetch| B(Cloudflare / Web)
    B -->|2. Raw Response| A
    A -->|3. Raw JSON| C{Smart Wrapper}
    C -->|Privacy Check| D[Redacted URL]
    C -->|Policy Check| E[Allowed/Blocked]
    C -->|Format Check| F[Markdown Content]
    D --> G[Standardized Output]
    E --> G
    F --> G
    G -->|4. Clean Data| A
```

## 🛠️ Installation

Navigate to your OpenClaw skills directory:

```bash
cd ~/.openclaw/skills
git clone https://github.com/sarahmirrand001-oss/markdown-browser.git
cd markdown-browser
npm install --omit=dev
```

## 💻 Usage

These skills are designed to be used **after** a `web_fetch` call in your agent workflow.

### CLI Example

```bash
# 1. Save your web_fetch result to a file (e.g., input.json)
# 2. Run the...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

ddgs-search

camopel

Free multi-engine web search via ddgs CLI (DuckDuckGo, Google, Bing, Brave, Yandex, Yahoo, Wikipedia) + arXiv API search. No API keys required. Use when user needs web search, research paper discovery, or when...