trivia-get-trivia

trivia-get-trivia is a skill for Claude Code from bobadilla-tech/requiems-api-skills. It costs 30 tokens per session (470 once invoked), scanned A, original, MIT.

A trivia-question endpoint that returns one random multiple-choice question, with optional category and difficulty filters.

In plain words
What is it for?
Use it for quiz games, educational exercises, or other applications that need a question with four answer choices.
Why use it?
It provides ready-made questions and answers without requiring you to create or store a question bank.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the requiems-api-skills plugin — 127 skills shipped together

Good fit Use it for quiz games, educational exercises, or other applications that need a question with four answer choices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bobadilla-tech/requiems-api-skills/trivia-get-trivia
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.

Any agent
npx skills add bobadilla-tech/requiems-api-skills --skill trivia-get-trivia
Clone the repo
git clone --depth 1 https://github.com/bobadilla-tech/requiems-api-skills

Made for: Claude Code.

Or install requiems-api-skills, the plugin that ships this one along with the rest of its 127 skills.

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 trivia-get-trivia

README.md
[![agentmods](https://agentmods.dev/badge/skills/bobadilla-tech/requiems-api-skills/trivia-get-trivia/github.svg)](https://agentmods.dev/skills/bobadilla-tech/requiems-api-skills/trivia-get-trivia)
Your own site
<a href="https://agentmods.dev/skills/bobadilla-tech/requiems-api-skills/trivia-get-trivia"><img src="https://agentmods.dev/badge/skills/bobadilla-tech/requiems-api-skills/trivia-get-trivia/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for trivia-get-trivia

Your own site · 80×15
<a href="https://agentmods.dev/skills/bobadilla-tech/requiems-api-skills/trivia-get-trivia"><img src="https://agentmods.dev/badge/skills/bobadilla-tech/requiems-api-skills/trivia-get-trivia.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 470 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00030 $0.00470
Opus 5 $0.00015 $0.00235
Sonnet 5 $0.00006 $0.00094
Haiku 4.5 $0.00003 $0.00047

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

Security

Grade A, and why

trivia-get-trivia 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 4d 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.

skills/trivia-get-trivia/SKILL.md · 58 lines

What it actually says

Endpoint

GET https://requiems.xyz/v1/entertainment/trivia

Get Trivia Question

Returns a random trivia question with multiple-choice answers. Use the optional category and difficulty query parameters to filter the question pool.

Parameters

Name Type Required Location Description
category string no query Filter by category. One of: science, history, geography, sports, music, movies, literature, math, technology, nature.
difficulty string no query Filter by difficulty. One of: easy, medium, hard.

Response Example

{
  "data": {
    "question": "What is the largest planet in our solar system?",
    "options": ["Earth", "Jupiter", "Saturn", "Mars"],
    "answer": "Jupiter",
    "category": "science",
    "difficulty": "easy"
  },
  "metadata": {
    "timestamp": "2026-01-01T00:00:00Z"
  }
}

Response Fields

Field Type Description
question string The trivia question text
options array Four multiple-choice answer options
answer string The correct answer — always one of the values in options
category string The category the question belongs to
difficulty string The difficulty level of the question (easy, medium, or hard)

Errors

  • 400 bad_request — An invalid category or difficulty value was provided
  • 404 not_found — No questions match the given category and difficulty combination
  • 401 unauthorized — Missing API key
  • 403 forbidden — Invalid or revoked API key
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. 4d ago First seen · 58 lines · 30 tokens per session scan A d00f96838a13

Subscribe to this mod's changes

trivia-get-trivia is a skill published in the GitHub repository bobadilla-tech/requiems-api-skills (2 stars, last pushed 4d ago), licensed MIT. It adds 30 tokens to every session and 470 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-09-08.