besser-generators

besser-generators is a skill for Claude Code, Codex from BESSER-PEARL/BESSER-Skills. It costs 246 tokens per session (2,446 once invoked), scanned A, original, Apache-2.0.

A reference guide for BESSER, a tool that turns software models into source code. It explains generator settings, generated files, regeneration, customization, and failure diagnosis.

In plain words
What is it for?
Use it when configuring or running BESSER generators, changing templates, customizing generated output, or checking regeneration results.
Why use it?
It helps prevent generated code from being overwritten accidentally and clarifies how to recover when generation fails.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: built for cline.

Good fit Use it when configuring or running BESSER generators, changing templates, customizing generated output, or checking regeneration results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/besser-pearl/besser-skills/besser-generators
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 BESSER-PEARL/BESSER-Skills --skill besser-generators
Clone the repo
git clone --depth 1 https://github.com/BESSER-PEARL/BESSER-Skills

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 besser-generators

README.md
[![agentmods](https://agentmods.dev/badge/skills/besser-pearl/besser-skills/besser-generators/github.svg)](https://agentmods.dev/skills/besser-pearl/besser-skills/besser-generators)
Your own site
<a href="https://agentmods.dev/skills/besser-pearl/besser-skills/besser-generators"><img src="https://agentmods.dev/badge/skills/besser-pearl/besser-skills/besser-generators/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 besser-generators

Your own site · 80×15
<a href="https://agentmods.dev/skills/besser-pearl/besser-skills/besser-generators"><img src="https://agentmods.dev/badge/skills/besser-pearl/besser-skills/besser-generators.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 246 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,446 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.00246 $0.02446
Opus 5 $0.00123 $0.01223
Sonnet 5 $0.00049 $0.00489
Haiku 4.5 $0.00025 $0.00245

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

Security

Grade A, and why

besser-generators 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 11d 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/besser-generators/SKILL.md · 244 lines

How it starts

The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.

BESSER Generator Operations

Every BESSER generator implements the same shape:

class GeneratorInterface(ABC):
    def __init__(self, model, output_dir=None): ...
    def generate(self): ...

If output_dir is omitted, output goes to <cwd>/output/. The directory is created automatically (os.makedirs(..., exist_ok=True)).

Regeneration always overwrites. Every call to generate() replaces the output files entirely. This is by design — the model is the source of truth. Customizations belong in separate files (see "Safe customization" below). Once you have generated, the besser-user skill's "Verification checklist" covers what to check next (files exist, syntax parses, it runs).

Generate the baseline, then build on top. The point of these generators is that you don't hand-write the boilerplate. The output is template-based and deterministic — the same model produces the same code on every run — so regenerate the baseline freely (cheap and identical each time) and spend your effort only where the work is actually custom: extending and overriding in separate files so a re-run never clobbers it. Often the generated code is all you need; when it isn't, the "Safe customization" patterns below are how you build on top without fighting regeneration.


Generator picker

Per-generator detail (inputs, outputs, options, templates, gotchas) lives in references/. Find your target, then read the listed reference:

Want Generator Reference
Python data classes PythonGenerator python-and-data.md
Java classes JavaGenerator python-and-data.md
Pydantic models (with optional OCL→validator) PydanticGenerator python-and-data.md
JSON Schema (regular or NGSI-LD) JSONSchemaGenerator python-and-data.md
JSON data from an ObjectModel (instances) JSONObjectGenerator python-and-data.md
RDF Turtle vocabulary RDFGenerator python-and-data.md
SQLAlchemy ORM SQLAlchemyGenerator persistence.md
Raw SQL DDL SQLGenerator persistence.md
Supabase (Postgres + RLS) schema SupabaseGenerator persistence.md
FastAPI + ORM + Pydantic stack BackendGenerator api-and-web.md
Standalone REST API RESTAPIGenerator api-and-web.md
Django project DjangoGenerator api-and-web.md
Full-stack web app (React + FastAPI + Docker) WebAppGenerator api-and-web.md
Flutter mobile app FlutterGenerator api-and-web.md
Conversational agent / chatbot BAFGenerator agents-and-other.md
Quantum circuit QiskitGenerator agents-and-other.md
Terraform infrastructure TerraformGenerator agents-and-other.md
PyTorch / TensorFlow neural net PytorchGenerator / TFGenerator agents-and-other.md

Read the full file on GitHub · 244 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 244 lines · 246 tokens per session scan A 05e5f77d4031

Subscribe to this mod's changes

besser-generators is a skill published in the GitHub repository BESSER-PEARL/BESSER-Skills (8 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 246 tokens to every session and 2,446 once invoked, about $0.0012 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-31.