跳到正文
TakoAPI
返回技能列表

markdown-browser

由 2233admin 提供

Web & Frontend Development
317下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Wrapper skill for OpenClaw web_fetch results.

描述

该技能的功能

Post-processing wrapper for OpenClaw web_fetch results. Applies content policy decisions from Content-Signal headers, redacts sensitive path and query values from output URLs, and normalizes fetched content to markdown, HTML-fallback, or plain text. Outputs a stable schema for downstream agent logic without re-implementing network fetch.

Centralizes content policy, privacy redaction, and format normalization so individual agents don't each re-implement the same post-fetch logic.

何时使用

  • Checking AI-input policy before feeding a fetched page into an LLM
  • Stripping sensitive path and query values from URLs in agent logs
  • Converting HTML responses to markdown for text-based agent pipelines
  • Estimating token counts from fetched web content before processing
  • Standardizing web fetch output schema across multiple agent tools

示例工作流

输入

User asks: fetch this documentation page and extract key points, respecting content policies

智能体
  1. 1

    Call OpenClaw web_fetch to retrieve the target page

  2. 2

    Pass the result JSON and Content-Signal header to process_web_fetch_result

  3. 3

    Check policy_action: proceed if 'allow_input', halt if 'block_input'

  4. 4

    Use the normalized content field (markdown or text) for downstream summarization

  5. 5

    Log source_url with sensitive values already redacted

输出

Structured object with content, format, token_estimate, policy_action, and redacted source_url ready for agent consumption

安装

clawhub install 2233admin/markdown-browser

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接