العودة إلى المهارات
Cat Fact
بواسطة thesethrose
CLI Utilities—لم يُقيَّم بعد
تقييمك
موجز
Random cat facts and breed information from catfact.ninja.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
الإدخال
User asks: Give me a random cat fact
الوكيل
- 1
Call GET https://catfact.ninja/fact with Accept: application/json header
- 2
Parse the JSON response
- 3
Extract the fact field from the response body
- 4
Return the fact text to the user
الإخراج
A single cat fact string, e.g. "Cats have a longer-term memory than dogs."
التثبيت
clawhub install thesethrose/catfactشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.