Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/code-generatorWrote 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.
[](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/code-generator)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/code-generator"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/code-generator/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.
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/code-generator"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/code-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00132 | $0.03405 |
| Opus 5.5 | $0.00053 | $0.01362 |
| Sonnet 5.5 | $0.00026 | $0.00681 |
| Haiku 4.5 | $0.00013 | $0.00341 |
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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Generator — Automated Plan-to-Code Generator
Converts code-intent-planner's task plan into runnable code files. Two-tier architecture: L1 script template engine (fast, covers common patterns) + L2 agent generation (flexible, handles complex logic).
Applicability Decision Table
| Situation | Use this skill? | Which tier |
|---|---|---|
| The plan is a Python FastAPI CRUD implementation | ✅ L1 script direct output | code_generator.py --plan ... --format json |
| The plan is a bug fix / test stub | ✅ L1 script emits a skeleton | Same as above (fix/test intent) |
| TypeScript/Go CRUD | ⚠️ Script L1 doesn't cover it; the agent renders by hand from the .j2 template | references/templates/typescript_express_crud.ts.j2 |
| Custom / complex business logic | ⚠️ L2 generated by the agent (see the honesty statement) | The agent follows the "L2 generation discipline" |
| No implementation plan yet | ❌ Go to code-intent-planner first | — |
| Reviewing/debugging existing code | ❌ Out of scope | — |
Honesty Statement (read first; this section is aligned item-by-item with the scripts' actual behavior)
- L2 is a Mock inside the scripts. The L2 path of
code_generator.py(generate_l2) makes no LLM call at all: for theimplementintent it always returns a FastAPI CRUD scaffold, and for other intents it returns empty. The--no-mockflag is just a marker; there is no real LLM backend. The actual "LLM generation" is performed by the agent running this skill (you) — the script's role is an L1 accelerator + structured reporter. - The scripts do not validate code. The
validationfield in the returned JSON is always"skip (mock mode)"; checks likepy_compile/tsc/blackare run by the agent itself after files land on disk (workflow Step 4). "✓ generated" in the report only means "content was produced", not that it works. - The script does not read the .j2 files under
references/templates/. The script uses built-in in-memory templates (3 families); the .j2 files are reference material for the agent and tests to do Jinja2 rendering (4 of them). Do not confuse the two systems. - A scaffold ≠ a product. The service layer L1 produces is an in-memory list store, with no auth and no persistence — it's a starting point, not an endpoint, and must be adapted to the project's real needs before delivery (see dark knowledge 1).
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.
- 2mo ago Changed · -1 lines · -34 tokens per session 2d131be4f272
- 2mo ago Changed · -43 lines · -128 tokens per session 097688c9bc72
- 2mo ago First seen · 233 lines · 294 tokens per session scan A 0da06869654a
code-generator is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 132 tokens to every session and 3,405 once invoked, about $0.0005 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-09-19.
code-generator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-generatorMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 132 | Claude Code, Codex |
| stripe-projectsNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 15 | Claude Code, Codex |
| fastapi-patternsaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 35 | Claude Code, Kiro |
| statusmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 54 | Claude Code |
| mem0-test-integrationmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 207 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| backendlangwatch/langwatch | Skill | 5.1k | today | Apache-2.0 | A | 190 | Claude Code |