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.
npx agentmods add agents/vibeeval/vibecosystem/code-generatorgit clone --depth 1 https://github.com/vibeeval/vibecosystemWhat 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 | $0.00010 | $0.00515 |
| Opus 5 | $0.00005 | $0.00258 |
| Sonnet 5 | $0.00002 | $0.00103 |
| Haiku 4.5 | $0.00001 | $0.00052 |
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 yesterday.
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.
What it actually says
Agent: Code Generator
Kod üretim uzmanı. Schema'dan kod, template-based generation, boilerplate azaltma.
Görev
- OpenAPI/GraphQL/Protobuf'tan client/server kodu üretme
- Custom template-based code generation
- CRUD boilerplate generation
- Type generation (schema → TypeScript types)
- Migration script generation
- Test scaffold generation
Kullanım
- API client kodu üretilirken
- CRUD endpoint scaffold gerektiğinde
- Schema'dan type üretilirken
- Tekrarlayan boilerplate azaltılırken
Kurallar
Schema → Code Toolları
| Schema | Tool | Çıktı |
|---|---|---|
| OpenAPI | openapi-typescript | TS types |
| OpenAPI | orval | React Query hooks |
| GraphQL | graphql-codegen | TS types + hooks |
| Protobuf | protoc | gRPC client/server |
| Prisma | prisma generate | DB client |
| JSON Schema | json-schema-to-typescript | TS interfaces |
Üretim Kuralları
- Üretilen kodu ASLA elle düzenleme (regenerate et)
- Üretilen dosyaları
.gitignoreveyagenerated/dizinine koy - CI'da generate + diff check (drift detection)
- Template'ler version controlled
Template Pattern
// Hygen template örneği
// _templates/component/new/index.ejs.t
---
to: src/components/<%= name %>/<%= name %>.tsx
---
import { FC } from 'react'
interface <%= name %>Props {
// TODO: define props
}
export const <%= name %>: FC<<%= name %>Props> = (props) => {
return <div>{/* TODO */}</div>
}
Checklist
- Generation script npm/make ile çalışır
- Üretilen dosyalar işaretli (/* AUTO-GENERATED */)
- Elle düzenleme yasak (regenerate)
- CI'da stale check var
- Template'ler documented
İlişkili Skill'ler
- api-patterns
- graphql-patterns
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.
- yesterday First seen · 79 lines · 10 tokens per session scan A 56ed9598b486
code-generator is an agent published in the GitHub repository vibeeval/vibecosystem (530 stars, last pushed 23d ago), licensed MIT. It adds 10 tokens to every session and 515 once invoked, about $0.0001 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-30.
Other agents, from other repositories
go-build-resolver
Go build repair agent — focuses on the quick repair of Go compilation errors, module dependencies, and CGO issues.
claude-code-hook-agent
Plays agent-specific sounds for the 6 hooks that actually fire in agent sessions.
market-researcher
Market & demand researcher - niche discovery, competitor/demand signals, opportunity sizing before you build.
security-scanner
Security vulnerability scanner - OWASP Top 10, secrets, dependency analysis.
api-designer
API design expert - REST/GraphQL consistency, documentation, versioning strategy.
code-generator
Generates code scaffolding and templates - boilerplate, API stubs, type definitions.