agentleFS
Lingyuzhou111Lingyuzhou111/dow-ipad-859/skills/web-fetch/SKILL.md

web-fetch

Skill260 starsChanged 8 months agoApache-2.0View on GitHub

获取并提取网页的可读内容。用于轻量级的页面访问,无需浏览器自动化。

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use github.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • NVIDIASkill

    github

    Interact with GitHub using the gh CLI restricted to REST API only (no GraphQL). Use when the user wants to work with GitHub issues, pull requests, repos, releases, or Actions — especially in sandboxed environments where the GraphQL endpoint may be blocked. Trigger keywords - github, gh, pull request, PR, github issue, github actions, workflow, release, gh api.

    Also in 3 projects that use this

The file

Files
SKILL.md

网页抓取 (Web Fetch)

使用 curl 和基础文本处理从网页中获取并提取可读内容。

使用方法

重要提示: 脚本位于该技能根目录的相对路径下。

当你在 <available_skills> 中看到此技能时,请注意 <base_dir> 路径。

# 通用模式:
bash "<base_dir>/scripts/fetch.sh" <url> [output_file]

# 示例 (将 <base_dir> 替换为技能列表中的实际路径):
bash "{baseDir}/scripts/fetch.sh" "https://example.com"

参数:

  • url: 要抓取的 HTTP/HTTPS 网址 (必填)
  • output_file: 可选,保存输出的文件 (默认输出到 stdout)

返回:

  • 提取出的包含标题和正文的页面内容

示例

抓取网页

bash "<base_dir>/scripts/fetch.sh" "https://example.com"

保存到文件

bash "<base_dir>/scripts/fetch.sh" "https://example.com" output.txt
cat output.txt

说明

  • 使用 curl 发起 HTTP 请求 (超时时间: 10s)
  • 提取标题和基础正文内容
  • 移除 HTML 标签和脚本
  • 支持任何标准网页
  • 除 curl 外无外部依赖

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.