generate-request-types

generate-request-types is a skill for Claude Code, Codex from JNZader/repoforge. It costs 30 tokens per session (423 once invoked), scanned A, original, MIT.

A guide for defining the data types used by generation requests. A data type describes the fields and allowed values that a program expects, such as a user record or a generation mode.

In plain words
What is it for?
Use it to define user structures and specify generation modes when working on generation requests.
Why use it?
It makes request data more predictable and documents how users and generation choices are represented in code.

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/jnzader/repoforge/types
Any agent
npx skills add JNZader/repoforge --skill types
Clone the repo
git clone --depth 1 https://github.com/JNZader/repoforge

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 generate-request-types

README.md
[![agentmods](https://agentmods.dev/badge/skills/jnzader/repoforge/types.svg)](https://agentmods.dev/skills/jnzader/repoforge/types)
Your own site
<a href="https://agentmods.dev/skills/jnzader/repoforge/types"><img src="https://agentmods.dev/badge/skills/jnzader/repoforge/types.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 423 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.00423
Opus 5 $0.00015 $0.00211
Sonnet 5 $0.00006 $0.00085
Haiku 4.5 $0.00003 $0.00042

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

Security

Grade A, and why

generate-request-types 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 4d 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.

.claude/skills/frontend/types/SKILL.md · 85 lines

What it actually says

Generate Request Types

This skill covers the creation and management of generation request types.

Trigger: Load this skill when working with types related to generation requests.

Quick Reference

Task Pattern
Create a user type User
Define generation mode GenerationMode

Critical Patterns (Summary)

  • User: Defines the structure for user-related data.
  • GenerationMode: Specifies the mode of generation for requests.

Critical Patterns (Detailed)

User

Defines the structure for user-related data, encapsulating user attributes.

// Example of User type usage
const newUser: User = {
  id: '123',
  name: 'John Doe',
  email: '[email protected]'
};

GenerationMode

Specifies the mode of generation for requests, allowing for different generation strategies.

// Example of GenerationMode usage
const mode: GenerationMode = GenerationMode.AUTOMATIC;

When to Use

  • When defining user data structures in your application.
  • When specifying how generation requests should be processed.

Commands

docker-compose up
python repoforge/cli.py generate

Anti-Patterns

Don't: Use generic types

Using overly generic types can lead to confusion and errors in type safety.

// BAD
const genericUser: any = {};
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. 4d ago First seen · 85 lines · 30 tokens per session scan A 0acc79ef9841

Subscribe to this mod's changes

generate-request-types is a skill published in the GitHub repository JNZader/repoforge (5 stars, last pushed 10d ago), licensed MIT. It adds 30 tokens to every session and 423 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.

Related

Other skills, from other repositories

strategy-stakes-review

Use when you want a strategic-fit and opportunity-cost check on a text artifact before it ships — assess goal alignment against the operator's life-goals or portfolio framework, name the specific opportunity cost (what queued work this preempts), run the kill-criteria check, and assess identity coherence with the…

Avyayalaya/agent-council · 109 tokens

mcporter

List, auth, and call MCP servers/tools from the terminal.

NousResearch/hermes-agent · 16 tokens

article-writing

Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

affaan-m/ECC · 57 tokens

sector-rotation

行业轮动分析——申万行业景气度评分、行业动量排名、产业链传导、估值/盈利/资金流多维比较框架.

HKUDS/Vibe-Trading · 39 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

complete-partial-pr

Evaluate and complete an issue or PR where the submitted patch fixes only a narrow symptom of the reported pain point. Use when a contribution may miss adjacent integration surfaces, provider/spec semantics, roundtrip behavior, tests, docs, or historical maintainer decisions.

pydantic/pydantic-ai · 55 tokens