AlphaMoatによると、2026-10時点でMarkdown Fetchのダウンロード数は5,239、スター数は2で、累計ダウンロード数で今回のランキング対象AIスキル5,109件中2,676位、データ分析では401件中206位です。
一覧の初期表示は累計ダウンロード数順で、スター数順にも並べ替えできます。詳細ページの順位は累計ダウンロード数で計算しています。
| プラットフォーム | ダウンロード数 | スター数 | コメント |
|---|---|---|---|
| ClawHub ↗ | 4323 | 2 | - |
| SkillHub ↗ | 5239 | 2 | — |
プラットフォームごとに集計方法と集計時点が異なります。
Optimizes web fetching by using Cloudflare's Markdown for Agents, reducing token consumption by ~80%
2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。
| 月 | ダウンロード数 | 前月比 | スター数 |
|---|---|---|---|
| 2026-10 | 5239 | — | 2 |
| 2026-09 | 4314 | — | 2 |
| 2026-08 | 4039 | +4.1% | 2 |
| 2026-07 | 3881 | +9.4% | 2 |
| 2026-06 | 3546 | +4.7% | 2 |
| 2026-05 | 3386 | — | 2 |
| 2026-03 | 2711 | — | 2 |
作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。
--- name: markdown-fetch description: Optimizes web fetching by using Cloudflare's Markdown for Agents, reducing token consumption by ~80% version: 1.0.0 author: howtimeschange --- # Markdown Fetch - 网页抓取优化 ## 背景
Cloudflare 推出 **Markdown for Agents** 功能:
- AI 请求时返回 Markdown 格式
- Token 消耗比 HTML 减少约 80%
## 使用方法
在需要网页抓取时,使用优化后的 fetch 函数:
```javascript
const { optimizedFetch } = require('./markdown-fetch');
const result = await optimizedFetch('https://example.com');
// result.markdown - Markdown 内容(如果有)
// result.html - HTML 内容(备用)
// result.tokensSaved - 节省的 tokens(如果有)
```
## 核心逻辑
```javascript
async function optimizedFetch(url, options = {}) {
const headers = {
'Accept': 'text/markdown, text/html',
...options.headers
};
const response = await fetch(url, { ...options, headers });
const contentType = response.headers.get('content-type');
const xMarkdownTokens = response.headers.get('x-markdown-tokens');
let result = {
url,
contentType,
tokensSaved: xMarkdownTokens ? parseInt(xMarkdownTokens) : null
};
if (contentType.includes('text/markdown')) {
result.markdown = await response.text();
result.format = 'markdown';
} else {
result.html = await response.text();
result.format = 'html';
}
return result;
}
```
## 响应处理
| Content-Type | 处理方式 |
|--------------|----------|
| text/markdown | 直接使用,跳过 HTML 解析 |
| text/html | 走原有解析逻辑 |
## 可选:x-markdown-tokens 日志
如果响应中有 `x-markdown-tokens` header,记录到日志:
```javascript
if (result.tokensSaved) {
console.log(`[Markdown Fetch] Token 节省: ${result.tokensSaved}`);
}
```
## 改动范围
1. 找到所有 HTTP 请求(fetch/axios/request)
2. 统一添加 header
3. 响应处理加判断
## 测试验证
找一个 Cloudflare 托管的网站测试:
```bash
curl -H "Accept: text/markdown, text/html" https://cloudflare-example.com
```
确认收到 `content-type: text/markdown` 响应。
AdMapix のデータ取得層で、広告やアプリの問い合わせを API 呼び出しに変え、生の JSON だけを返します。
Tavily 経由で公開ウェブを検索し、リンクと抜粋付きの構造化結果を返します。
データベースや表計算、書き出した生データを意思決定に使える結論へ変えるデータ分析スキルです。
米国株、先物、経済速報をまとめる情報ツールです。
データを分析し、対話型 HTML ダッシュボードを生成します。
Yahoo Finance のデータで株式と暗号資産を分析し、ポートフォリオを追跡するスキルです。
WeChat 公式アカウントの記事を取得し、Markdown と画像をローカルに保存するスキルです。
戦略に沿って A 株の銘柄を絞り込むスキルです。
データ月:2026-10 · ダウンロード数とスター数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。