cat-fact
Random cat facts and breed information from catfact.ninja (free, no API key)
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Cat Fact
Random cat facts from catfact.ninja (no API key required).
Usage
# 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)
curl -s "https://catfact.ninja/fact" | jq '.fact'
One-liner examples
# 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
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-30
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!