Documentation v1.0.2

cat-fact

Random cat facts and breed information from catfact.ninja (free, no API key)

thesethrose 更新于 2026-01-10 1 浏览
下载 SKILL

技能说明

Random cat facts and breed information from catfact.ninja (free, no API key)

使用场景

Random cat facts from catfact.ninja (no API key required).

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/cat-fact
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

3 个文件 · 12 kB
SKILL.md text/markdown
---
name: Cat Fact
description: Random cat facts and breed information from catfact.ninja (free, no API key)
read_when:
  - Wanting random cat facts
  - Looking up cat breeds
  - Building fun bot responses
metadata: {"clawdbot":{"emoji":"🐱","requires":{"bins":["curl"]}}}
---

# Cat Fact

Random cat facts from catfact.ninja (no API key required).

## Usage

```bash
# Get a random cat fact
curl -s "https://catfact.ninja/fact"

# Get a random fact (short)
curl -s "https://catfact.ninja/fact?max_length=100"

# Get cat breeds
curl -s "https://catfact.ninja/breeds?limit=5"
```

## Programmatic (JSON)

```bash
curl -s "https://catfact.ninja/fact" | jq '.fact'
```

## One-liner examples

```bash
# Random fact
curl -s "https://catfact.ninja/fact" --header "Accept: application/json" | jq -r '.fact'

# Multiple facts
for i in {1..3}; do curl -s "https://catfact.ninja/fact" --header "Accept: application/json" | jq -r '.fact'; done
```

## API Endpoints

| Endpoint | Description |
|----------|-------------|
| `GET /fact` | Random cat fact |
| `GET /breeds` | List of cat breeds |

Docs: https://catfact.ninja

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。