Xpersona
F

FaviconDL · 任意网站 Favicon 下载工具

CLAWHUB · Unverified

通过 HTTPS API 或零依赖 CLI 下载任意网站的可用 favicon,支持尺寸偏好、图片重定向、JSON 元数据和 Windows/Linux/macOS。 Skill: FaviconDL · 任意网站 Favicon 下载工具 Owner: sweesama Summary: 通过 HTTPS API 或零依赖 CLI 下载任意网站的可用 favicon,支持尺寸偏好、图片重定向、JSON 元数据和 Windows/Linux/macOS。 Tags: latest:2.0.0 Version history: v2.0.0 | 2026-07-15T15:26:40.389Z | user v2.0.0 (2026-07-15): main interface unified to /api/extract; legacy /api/favicon kept for compatibility only; default 302 redirect; format=json metadata documented; removed all-PNG assumption and G

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17bjy1e27pf2pgarsxxz2xh7d83hsjb:favicondl
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sweesama-favicondl/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

28,984 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: favicondl
displayName: 任意网站 Favicon 下载工具 · FaviconDL
description: "通过 HTTPS API 或零依赖 CLI 下载任意网站的可用 favicon,支持尺寸偏好、图片重定向、JSON 元数据和 Windows/Linux/macOS。"
version: 2.0.0
---

# FaviconDL

FaviconDL 提供一套稳定的 REST API、公开 OpenAPI 规范、`llms.txt`,以及两个零依赖的 CLI 脚本(PowerShell + Bash),帮助 agent 在不写爬虫代码的情况下,从任意域 / URL 获取可用的 favicon 图标。

> 公开接口:<https://favicondl.com> · OpenAPI 规范:<https://favicondl.com/openapi.yaml> · llms.txt:<https://favicondl.com/llms.txt> · 源码仓库:<https://github.com/sweesama/favicondl.com>

---

> ## 📌 这是 OpenClaw 分发版(v2.0.0) / Distribution note
>
> 本文件是 **OpenClaw / ClawHub skill catalog 分发版**,通过 `openclaw skills install favicondl` 安装到本机 agent 时使用。
>
> **Canonical Agent API 文档**(所有 agent 默认应该优先看的那一份)位于 GitHub:
> <https://github.com/sweesama/favicondl.com/blob/main/SKILL.md>
>
> 两版一致的部分:
> - 主接口:<https://favicondl.com/api/extract>
> - JSON 模式:<https://favicondl.com/api/extract?url=github.com&size=128&format=json>
> - 不宣传公网 MCP endpoint(`https://favicondl.com/mcp` 不存在)
> - 不假定所有图像都是 PNG(SVG / PNG / ICO / WebP 都可能)
> - 不建议 agent 失败时切换到 Google Favicon 之类的第三方方案
>
> 本分发版额外包含:
> - ClawHub / OpenClaw 安装命令(`openclaw skills install favicondl`)
> - 本地 stdio MCP 适配器的可选说明(来自 GitHub `mcp/`,明确为**本机进程**)
> - OpenClaw 水产市场(openclawmp)资产链接
> - 旧端点 `/api/favicon` 的兼容说明(旧集成仍可用)
>
> 任何 agent 默认应该**优先读 GitHub canonical 版**,本版只在安装到 OpenClaw / ClawHub 时随包附带,主要目的是补安装和兼容元数据。两版在事实描述上不应矛盾。

---

## 这个 skill 能做什么 / What it supports

- 偏好尺寸 16~512 像素;服务端会自动 clamp,超出范围会取最接近的合法值
- 多级图标发现:HTML `<link>` → SVG → Apple Touch Icon → Web Manifest → Android assets → 安全兜底
- 默认返回 `HTTP 302`,跟随重定向即可下载图像
- 加 `format=json` 可拿到元数据 JSON:`ok`、`domain`、`size`、`iconUrl`、`proxyUrl`、`source`
- 通过受保护的 Cloudflare Worker 做图片代理(`proxyUrl`),绕过 CORS / 反盗链
- 拒绝非 HTTPS 协议、私网地址、超大代理响应、非图像响应
- 任何能做 `HTTPS GET` 的 agent / 脚本 / 浏览器都能调用

返回的图像格式由目标网站决定,**不要假定都是 PNG**:SVG、PNG、ICO、WebP 都可能。脚本默认把保存文件的扩展名记作 `.img`,避免伪造。

---

## 安装 CLI / Install the CLI wrappers

> 通过 raw.githubusercontent.com 直接下载到本地(**公开地址可直接 HTTP 200 拉取**):

### Windows PowerShell

```powershell
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/sweesama/favicondl.com/main/favicondl.ps1" -OutFile "$env:USERPROFILE\favicondl.ps1"
```

### Linux / macOS(Bash)

```bash
curl -fsSL -o ~/favicondl.sh "https://raw.githubusercontent.com/sweesama/favicondl.com/main/favicondl.sh"
chmod +x ~/favicondl.sh
```

脚本只依赖 PowerShell 自身或系统 `curl`,无需 API Key、无需包管理器。

---

## CLI 用法 / CLI usage

### PowerShell(支持单域 / 多域)

```powershell
.\favicondl.ps1 -Domain "github.com"
.\favicondl.ps1 -Domain "github.com" -Size 256
.\favicondl.ps1 -Domain "github.com" -Size 128 -Output "C:\icons\github.img"

# 一次下载多个域名,-Output 指向目录即可
.\favicondl.ps1 -Domain "github.com", "openai.com", "anthropic.com" -Output "C:\icons"
```

### Bash

```bash
./favicondl.sh github.com
./favicondl.sh github.com 256
./favicondl.sh https://github.com/docs 128 ./icons/github.img
```

输出文件后缀是 `.img`,这是**故意的**——目标网站控制实际图像格式。下载时不要硬改后缀。

---

## REST API

> 主接口:`GET https://favicon

_meta.json

{
  "ownerId": "kn7aa4pxabf5n0nqnc6wzdrfq582ffzd",
  "slug": "favicondl",
  "version": "2.0.0",
  "publishedAt": 1784129200389
}

skill-card.md

## Description:

通过 HTTPS API 或零依赖 CLI 下载任意网站的可用 favicon,支持尺寸偏好、图片重定向、JSON 元数据和 Windows/Linux/macOS。

This skill is ready for commercial/non-commercial use.

## Publisher:

[sweesama](https://clawhub.ai/user/sweesama)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent builders use FaviconDL to retrieve website favicon images or JSON favicon metadata through a documented HTTPS API, a zero-dependency Bash CLI, or an optional local stdio MCP adapter.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Install instructions include raw GitHub commands that can fetch changed executable code from a mutable branch.

Mitigation: Prefer the REST API or bundled reviewed Bash script; when downloading scripts, use pinned commits, checksums, or manual review before execution.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/sweesama/skills/favicondl)
- [FaviconDL API Endpoint](https://favicondl.com/api/extract)
- [OpenAPI Specification](https://favicondl.com/openapi.yaml)
- [LLM Usage Notes](https://favicondl.com/llms.txt)
- [Human API Documentation](https://favicondl.com/documentation.html)
- [Canonical Agent API Documentation](https://github.com/sweesama/favicondl.com/blob/main/SKILL.md)
- [Local MCP Adapter Documentation](https://github.com/sweesama/favicondl.com/blob/main/mcp/README.md)
- [OpenClaw Marketplace Asset](https://openclawmp.cc/asset/s-5a9fb4e7ff343062)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with inline shell commands, JSON examples, URLs, and configuration snippets]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May direct agents to download image files with target-controlled formats or request JSON metadata from the FaviconDL API.]

## Skill Version(s):

2.0.0 (source: frontmatter and release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to FaviconDL · 任意网站 Favicon 下载工具 and adjacent AI workflows.