Skill 详情

curl-md

Fetches cleaner, lower-token web content but is primarily a web-fetching tool.

匹配类型可能匹配已针对 减少令牌用量 审核
来源wevm/curl.md外部来源
报告安装量17仅表示受欢迎程度

使用前先检查

自动化审核只检查相关性,不代表安全审查或推荐。使用前请阅读来源中的说明。

已保存的来源预览

SKILL.md

这段内容是审核时保存的快照。外部来源才是完整且最新的版本。

---
name: curl-md
description: Fetch web pages and docs as optimized markdown with curl.md. Use when the user shares a URL, asks about page content, or you need to read web page or webfetch.
---

# curl.md

Use curl.md to turn URLs into agent-friendly markdown with less noise and fewer tokens.

## When to Use

Use curl.md when:

- The user shares a URL or asks what a page says
- You just need to quickly fetch one page without setting up a deeper integration
- You need docs, changelogs, articles, reference pages, or API docs as markdown before answering
- You want to narrow a long page to a specific question or task
- You need current curl.md usage for the CLI, hosted HTTP endpoint, skills, or MCP

## Preferred Entry Points

Prefer these in order:

- The local `curl.md` CLI or `md` alias when available
- The hosted HTTP endpoint at `https://curl.md/<url>`
- For curl.md's own docs, the canonical `.md` docs endpoints or `Accept: text/markdown`

For normal page fetches, prefer the stable top-level fetch interface (`curl.md/<url>` or `client.fetch(...)`). Avoid lower-level experimental `/api` routes unless the task is specifically about auth, orgs, tokens, invites, or request history.

## Stable Request Vocabulary

Prefer these names in new usage:

- `objective` — narrow output to a specific question or task
- `keywords` — pre-filter the page before extraction; comma-separated in HTTP/CLI strings
- `mode` — `smart` or `rush`; only matters with `objective`
- `fresh` — bypass cache and force a fresh fetch
- `token` — API key auth in the CLI; raw HTTP should prefer `Authorization: Bearer <token>`

`smart` is the default and best for most docs lookups. Use `rush` when speed matters more than recall.

HTTP aliases still work (`q`/`o`, `k`, `m`, `f`), but prefer the full names above in new examples and instructions.

## CLI

Prefer the CLI when it is installed locally. It handles auth, organization context, higher-level commands, and agent-friendly workflows.

```sh
# Basic fetch
curl.md example.com
md example.com

# Narrow to a specific task
curl.md docs.github.com/en/webhooks/webhook-events-and-payloads \
  --objective "pull request webhook event payload and actions" \
  --keywords pull_request

# Faster, less thorough pass
curl.md developers.cloudflare.com/d1/get-started \
  --objective "how to query D1 from a worker" \
  --keywords D1,bindings \
  --mode rush

# Force a fresh fetch
curl.md example.com --fresh

# Use API key auth
curl.md example.com --token "$CURLMD_API_KEY"
```

Notes:

- No protocol required for the target URL. curl.md normalizes to HTTPS unless the URL already specifies `http://` or `https://`.
- `curl.md fetch <url>` is equivalent to the root `curl.md <url>` command.
- If the user asks for latest or recent content, add `--fresh`.

## Hosted HTTP Endpoint

Use the hosted HTTP endpoint when the CLI is unavailable or when you just need to quickly fetch one page.

## Examples

```sh
# Default response is markdown
curl "https://curl.md/example.com"

# Narrow with stable query names
curl "https://curl.md/developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch?objective=streaming+response+body&keywords=ReadableStream,getReader"

# Force a fresh fetch
curl "https://curl.md/example.com?fresh"

# Request JSON instead of markdown
curl "https://curl.md/example.com" -H 'Accept: application/json'

# Authenticated request
curl "https://curl.md/example.com" -H "Authorization: Bearer $CURLMD_API_KEY"
```

Successful fetches return markdown by default. JSON responses have the shape:

```json
{
  "content": "# Example\n..."
}
```

## Agent Setup

When the user asks to install or wire curl.md into an agent/editor, use the current setup commands:

```sh
# Install hosted skills
npx skills add https://curl.md --yes

# Sync CLI-generated skills into supported agents
curl.md skills add
curl.md skills add --no-global

# Run as MCP stdio server
curl.md --mcp

# Register the MCP server with an agent
curl.md mcp add
curl.md mcp add --a
在 GitHub 阅读完整来源 (打开外部页面)
相关上下文

相关工作