Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

Cat Fact

bởi thesethrose

CLI Utilities
1.9kLượt tải do clawskills.sh công bố
1Sao
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Random cat facts and breed information from catfact.ninja.

Mô tả

Kỹ năng này làm gì

Fetches random cat facts and breed listings from catfact.ninja. No API key or account required. Returns plain JSON over HTTP.

Requires zero setup — no API key, no account, just a curl call.

Khi nào nên dùng

  • Adding a cat fact command to a chat bot
  • Populating a pet app with random trivia
  • Generating filler content for testing
  • Fetching breed lists for a cat reference page
  • Sending a daily cat fact to a group chat

Quy trình ví dụ

ĐẦU VÀO

User asks: Give me a random cat fact

AGENT
  1. 1

    Call GET https://catfact.ninja/fact with Accept: application/json header

  2. 2

    Parse the JSON response

  3. 3

    Extract the fact field from the response body

  4. 4

    Return the fact text to the user

ĐẦU RA

A single cat fact string, e.g. "Cats have a longer-term memory than dogs."

Cài đặt

clawhub install thesethrose/catfact

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết