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 today 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 today.

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. today 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 (163 stars, last pushed yesterday), 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

Other skills, from other repositories

NestJS Framework

Node.js/TypeScript backend framework with dependency injection and modular architecture.

FortiumPartners/ensemble · 17 tokens

sinch-functions-node

Write Node.js/TypeScript Sinch Functions with @sinch/functions-runtime. Use when writing or editing function.ts: answering and controlling calls with Voice API v2, IVR menus, placing or bridging calls, SMS/WhatsApp/RCS webhooks, custom HTTP endpoints, cache/storage/database, auth and setup() hooks. Run and deploy with…

sinch/sinch-plugins · 84 tokens

codegen

Use for .NET code generation work with Roslyn, Microsoft.OpenApi, Razor templates, DTO/manager/controller generation, REST API generation, C# HttpClient generation, Angular/Axios TypeScript request clients, generated formatting, and deterministic output.

AterDev/Perigon.CLI · 53 tokens

react-component-design

Designs or reviews React component APIs. Handles prop drilling decisions, composition patterns, controlled/uncontrolled contracts, and minimal public API surfaces for React 18+ TypeScript components. Invoked when creating new components, refactoring existing ones, or reviewing component contracts.

soulcodex/agentic · 56 tokens

typescript-guide

Use when editing or reviewing TypeScript in Node.js ESM projects. Triggers on .ts files, ESM package.json, and prompts about async functions, type inference, strict mode, ESM imports, env handling, template literals, even when the user doesn't say 'TypeScript'.

xonovex/platform · 63 tokens

zod-guide

Use when defining or editing Zod 4.0+ schemas for runtime validation in TypeScript. Triggers on .ts files with zod imports and prompts about API input validation, schema composition, type inference (z.infer), z.uuid(), z.email(), z.iso.datetime(), defaults, or refinements, even when the user doesn't say 'Zod'.

xonovex/platform · 87 tokens