randomuser

A connection to randomuser.me, a service that provides structured sample user data through an API.

In plain words
What is it for?
Use it to fetch API data, search cached records, or sync records into a local SQLite cache.
Why use it?
It removes the need to manually create test user records when an agent needs example data.

Skill for Claude CodeCodex

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/randomuser
Any agent
npx skills add JustVugg/tools-factory --skill randomuser
Clone the repo
git clone --depth 1 https://github.com/JustVugg/tools-factory

Made for: Claude Code, Codex.

Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 333 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 $0.00034 $0.00333
Opus 5 $0.00017 $0.00167
Sonnet 5 $0.00007 $0.00067
Haiku 4.5 $0.00003 $0.00033

Measured 2d ago against content hash 9b13151cee8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

randomuser 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 2d 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/randomuser/skills/randomuser/SKILL.md · 48 lines

What it actually says

randomuser

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

When to use

  • The user asks for data exposed by randomuser (api).
  • An agent task needs structured JSON from https://randomuser.me.
  • You need to perform a write/destructive operation on randomuser — 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/randomuser from the project directory).

randomuser operations
randomuser call getRoot --json
randomuser sync --json
randomuser search "<keyword>" --json

Authentication

No authentication required.

Operations index

  • getRoot (GET /api) — read — GET /api

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/randomuser.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. 2d ago First seen · 48 lines · 34 tokens per session scan A 9b13151cee8d

Subscribe to this mod's changes

randomuser is a skill published in the GitHub repository JustVugg/tools-factory (51 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 333 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.