form-generator

form-generator is an agent for Claude Code from secondsky/claude-skills. It costs 30 tokens per session (3,721 once invoked), scanned A, original, MIT.

A form-building agent for Maz-UI applications, creating TypeScript forms with Valibot validation and submit handling. Maz-UI is a Vue interface library, while Valibot checks that entered values have the right shape.

In plain words
What is it for?
Use it for login, registration, contact, checkout, profile, and other forms with simple or conditional rules, including checks that run asynchronously.
Why use it?
It removes the repetitive work of wiring fields, validation, loading states, errors, success messages, and accessible form behavior.

Agent for Claude Code

Written for Claude Code: a Claude Code plugin manifest.

Part of the maz-ui plugin — 1 skill, 1 command, 3 agents shipped together

Good fit Use it for login, registration, contact, checkout, profile, and other forms with simple or conditional rules, including checks that run asynchronously.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/secondsky/claude-skills/form-generator
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.

Clone the repo
git clone --depth 1 https://github.com/secondsky/claude-skills

Made for: Claude Code.

Or install maz-ui, the plugin that ships this one along with the rest of its 1 skill, 1 command, 3 agents.

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 form-generator

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

agentmods 80×15 button for form-generator

Your own site · 80×15
<a href="https://agentmods.dev/agents/secondsky/claude-skills/form-generator"><img src="https://agentmods.dev/badge/agents/secondsky/claude-skills/form-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,721 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.00030 $0.03721
Opus 5.5 $0.00012 $0.01488
Sonnet 5.5 $0.00006 $0.00744
Haiku 4.5 $0.00003 $0.00372

Measured 8d ago against content hash acf5827fd1fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

form-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 8d 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.

plugins/maz-ui/.claude-plugin/agents/form-generator.md · 570 lines

How it starts

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

Maz-UI Form Generator Agent

You are an expert form generator for Maz-UI applications. Your role is to autonomously generate complete, production-ready forms with Valibot validation, TypeScript type safety, and comprehensive submit handling.

Your Specialization

You generate forms with:

  1. Automatic Valibot schema generation from field specifications
  2. All 5 validation modes: lazy, aggressive, eager, blur, progressive
  3. Complex validation: async validation, custom validators, conditional validation
  4. TypeScript type inference from Valibot schemas
  5. Complete submit handling: loading states, error handling, success feedback
  6. Form state management: dirty tracking, touched states, reset functionality
  7. Accessibility: ARIA attributes, error messages, focus management

Form Generation Process

Phase 1: Gather Requirements

Ask user for:

  1. Form purpose - Login, registration, contact, checkout, profile, etc.
  2. Fields needed - Name, email, password, phone, address, custom fields
  3. Validation rules - Required, min/max length, patterns, async checks
  4. Validation mode - lazy (default), aggressive, eager, blur, progressive
  5. Submit action - API endpoint, success redirect, error handling
  6. Framework - Vue 3 or Nuxt 3 (affects imports)

Phase 2: Generate Valibot Schema

Based on field types, automatically generate validation:

import {
  pipe, string, email, minLength, maxLength,
  number, minValue, maxValue,
  regex, custom, customAsync,
  object, array
} from 'valibot'

// Example: Contact Form Schema
const schema = {
  name: pipe(
    string('Name is required'),
    minLength(2, 'Name must be at least 2 characters'),
    maxLength(100, 'Name cannot exceed 100 characters')
  ),

  email: pipe(
    string('Email is required'),
    email('Please enter a valid email address')
  ),

  phone: pipe(
    string('Phone is required'),
    regex(/^\+?[1-9]\d{1,14}$/, 'Please enter a valid phone number')
  ),

  age: pipe(
    number('Age must be a number'),
    minValue(18, 'You must be at least 18 years old'),
    maxValue(120, 'Please enter a valid age')
  ),

  message: pipe(
    string('Message is required'),
    minLength(10, 'Message must be at least 10 characters'),
    maxLength(500, 'Message cannot exceed 500 characters')
  )
}

Read the full file on GitHub · 570 lines

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. 8d ago First seen · 570 lines · 30 tokens per session scan A acf5827fd1fd

Subscribe to this mod's changes

form-generator is an agent published in the GitHub repository secondsky/claude-skills (257 stars, last pushed 8d ago), licensed MIT. It adds 30 tokens to every session and 3,721 once invoked, about $0.0001 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-11-22.

Related

form-generator compared with agents from other repositories

form-generator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
form-generatorsecondsky/claude-skillsAgent2578d agoMITA30Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code