catfact

catfact is a skill for Claude Code, Codex from JustVugg/tools-factory. It costs 35 tokens per session (403 once invoked), scanned A, original, MIT.

A local command-line tool for reading cat facts and breed data from Catfact, a public cat-information service.

In plain words
What is it for?
Use it to retrieve cat breeds, a random fact, or a list of facts; an API key is required.
Why use it?
It gives agents structured access to facts and breed lists through the service’s API.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/justvugg/tools-factory/catfact
Any agent
npx skills add JustVugg/tools-factory --skill catfact
Clone the repo
git clone --depth 1 https://github.com/JustVugg/tools-factory

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for catfact

README.md
[![agentmods](https://agentmods.dev/badge/skills/justvugg/tools-factory/catfact.svg)](https://agentmods.dev/skills/justvugg/tools-factory/catfact)
Your own site
<a href="https://agentmods.dev/skills/justvugg/tools-factory/catfact"><img src="https://agentmods.dev/badge/skills/justvugg/tools-factory/catfact.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 403 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00403
Opus 5 $0.00017 $0.00201
Sonnet 5 $0.00007 $0.00081
Haiku 4.5 $0.00003 $0.00040

Measured 6d ago against content hash b7bfe55c2fc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

catfact scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

library/tools/catfact/skills/catfact/SKILL.md · 50 lines

What it actually says

catfact

Generated by Gutenberg. Use this skill to call the catfact API through the local catfact CLI.

When to use

  • The user asks for data exposed by catfact (Breeds, Facts).
  • An agent task needs structured JSON from https://catfact.ninja.
  • You need to perform a write/destructive operation on catfact — always preview first, run with --yes only on explicit user confirmation.

How to invoke

The skill assumes the generated CLI is on PATH (or invoke via scripts/use-go.sh run ./cmd/catfact from the project directory).

catfact operations
catfact call getBreeds --json
catfact sync --json
catfact search "<keyword>" --json

Authentication

Set CATFACT_API_KEY in the environment, or pass --api-key <key>.

Operations index

  • getBreeds (GET /breeds) — read — Get a list of breeds
  • getRandomFact (GET /fact) — read — Get Random Fact
  • getFacts (GET /facts) — read — Get a list of facts

Output contract

  • All commands accept --json and emit machine-readable output.
  • call returns { dryRun, operation, request, response }. dryRun: true means the call was not executed (write op without --yes).
  • search returns cached records. sync populates the local SQLite cache.

Provenance

  • Schema: gutenberg.blueprint.v1
  • Generated by: gutenberg 0.3.0
  • Source spec: /tmp/catfact-1778930839668.openapi.json
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 50 lines · 35 tokens per session scan A b7bfe55c2fc8

Subscribe to this mod's changes

catfact is a skill published in the GitHub repository JustVugg/tools-factory (52 stars, last pushed 2mo ago), licensed MIT. It adds 35 tokens to every session and 403 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.