code-generator

A multi-language code generator that creates functions, classes, API endpoints, CRUD operations, tests, refactoring examples, language-conversion guidance, and project starter structures from a description.

In plain words
What is it for?
Use it to scaffold code in Python, JavaScript, TypeScript, Go, Java, Rust, PHP, Ruby, C#, or Shell, or to generate tests and conversion guides.
Why use it?
It turns a plain-language coding request into runnable example code with comments, a suggested filename, and a usage example.

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/subhansh-dev/agent-maxxing/05-code-generator
Any agent
npx skills add subhansh-dev/agent-maxxing --skill 05-code-generator
Clone the repo
git clone --depth 1 https://github.com/subhansh-dev/agent-maxxing

Made for: Claude Code, Codex.

Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 254 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.00030 $0.00254
Opus 5 $0.00015 $0.00127
Sonnet 5 $0.00006 $0.00051
Haiku 4.5 $0.00003 $0.00025

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

Security

Grade A, and why

code-generator 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.

engineering/05-CODE-GENERATOR/SKILL.md · 34 lines

What it actually says

Code Generator — Multi-Language Code Scaffolding

Describe what you need, get working code. Multiple languages, ready to run.

Key Features

  • Function Generation — Describe it, get a complete annotated function
  • Class Generation — OOP design with constructor and methods
  • API Endpoints — RESTful routes and handlers
  • CRUD Operations — Full Create/Read/Update/Delete code
  • Test Code — Auto-generate unit tests with assertions
  • Refactoring — Optimization suggestions with examples
  • Language Conversion — Conversion guide between Python/JS/Go/Java
  • Project Boilerplate — Quick-start project skeleton

Supported Languages

Python, JavaScript, TypeScript, Go, Java, Rust, PHP, Ruby, C#, Shell

Usage

Describe what you need in natural language. The agent generates complete, runnable code.

Every output includes:

  1. Language label and suggested filename
  2. Complete runnable code
  3. Inline comments
  4. Usage example
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 · 34 lines · 30 tokens per session scan A c88e9a456813

Subscribe to this mod's changes

code-generator is a skill published in the GitHub repository subhansh-dev/agent-maxxing (2 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 254 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-31.