regen-api-client

regen-api-client is a skill for Claude Code from Goldziher/ai-rulez. It costs 31 tokens per session (91 once invoked), scanned A, original, MIT.

A code-generation helper that rebuilds a TypeScript client from an OpenAPI file. OpenAPI is a structured description of an HTTP API, and TypeScript is a programming language.

In plain words
What is it for?
Run `make client` after `api/openapi.yaml` changes and report which generated files changed.
Why use it?
It keeps the client code aligned with API changes without treating server-stub generation as the same task.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Run make client after api/openapi.yaml changes and report which generated files changed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goldziher/ai-rulez/regen-api-client
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 Goldziher/ai-rulez --skill regen-api-client
Clone the repo
git clone --depth 1 https://github.com/Goldziher/ai-rulez

Made for: Claude Code.

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 regen-api-client

README.md
[![agentmods](https://agentmods.dev/badge/skills/goldziher/ai-rulez/regen-api-client/github.svg)](https://agentmods.dev/skills/goldziher/ai-rulez/regen-api-client)
Your own site
<a href="https://agentmods.dev/skills/goldziher/ai-rulez/regen-api-client"><img src="https://agentmods.dev/badge/skills/goldziher/ai-rulez/regen-api-client/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 regen-api-client

Your own site · 80×15
<a href="https://agentmods.dev/skills/goldziher/ai-rulez/regen-api-client"><img src="https://agentmods.dev/badge/skills/goldziher/ai-rulez/regen-api-client.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 91 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.00031 $0.00091
Opus 5.5 $0.00012 $0.00036
Sonnet 5.5 $0.00006 $0.00018
Haiku 4.5 $0.00003 $0.00009

Measured 1mo ago against content hash b1940fab518f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

regen-api-client 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 1mo 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.

bench/judge/corpus/units/qben-q01/.claude/skills/regen-api-client/SKILL.md · 11 lines

What it actually says

Regenerate the API client

  1. Run make client.
  2. Run git diff --stat and report which generated files changed.
  3. If make client exits non-zero, show the last 20 lines of its output and stop.
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. 1mo ago First seen · 11 lines · 31 tokens per session scan A b1940fab518f

Subscribe to this mod's changes

regen-api-client is a skill published in the GitHub repository Goldziher/ai-rulez (182 stars, last pushed 3d ago), licensed MIT. It adds 31 tokens to every session and 91 once invoked, about $0.0001 per session on Opus 5.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-10-17.

Related

regen-api-client compared with skills from other repositories

regen-api-client next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
regen-api-clientGoldziher/ai-rulezSkill1823d agoMITA31Claude Code
better-t-stackAmanVarshney01/create-better-t-stackSkill5.9k2d agoMITA149Claude Code, Codex
printing-pressmvanhorn/cli-printing-pressSkill5.1ktodayMITA86Claude Code
goericrisco/rsc-harnessSkill701yesterdayMITA86Claude Code, Codex
scaffold-projectMarve10s/Better-FullstackSkill8322d agoMITA80Claude Code
NestJS FrameworkFortiumPartners/ensembleSkill13yesterdayMITA17Claude Code, Codex
codegenAterDev/Perigon.CLISkill543d agoApache-2.0A53Claude Code, Codex