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/smicolon/ai-kitnpx agentmods add commands/smicolon/ai-kit/form-createWrote 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/commands/smicolon/ai-kit/form-create)<a href="https://agentmods.dev/commands/smicolon/ai-kit/form-create"><img src="https://agentmods.dev/badge/commands/smicolon/ai-kit/form-create/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/commands/smicolon/ai-kit/form-create"><img src="https://agentmods.dev/badge/commands/smicolon/ai-kit/form-create.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.00012 | $0.02225 |
| Opus 5.5 | $0.00005 | $0.00890 |
| Sonnet 5.5 | $0.00002 | $0.00445 |
| Haiku 4.5 | $0.00001 | $0.00222 |
Grade A, and why
form-create 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 — 314 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create TanStack Form
Create a form component with TanStack Form and Zod validation.
Instructions
-
Gather Information (if not provided via args):
- Ask for the form name (e.g.,
CreatePostForm,EditUserForm) - Ask for the feature it belongs to
- Ask for the fields the form should have
- Ask if it should integrate with a mutation hook
- Ask for the form name (e.g.,
-
Create Zod Schema in
src/features/{feature}/schemas/{name}Schema.ts:import { z } from 'zod' export const {name}Schema = z.object({ title: z.string().min(3, 'Title must be at least 3 characters'), content: z.string().min(10, 'Content must be at least 10 characters'), email: z.string().email('Invalid email address'), // Add more fields as needed }) export type {Name}FormData = z.infer<typeof {name}Schema> -
Create Form Component in
src/features/{feature}/components/{Name}Form.tsx:For a create form:
import { useForm } from '@tanstack/react-form' import { zodValidator } from '@tanstack/zod-form-adapter' import { {name}Schema, type {Name}FormData } from '../schemas/{name}Schema' import { useCreate{Feature} } from '../hooks' import { FormField } from '@/components/ui/FormField' interface {Name}FormProps { onSuccess?: () => void } export function {Name}Form({ onSuccess }: {Name}FormProps) { const create{Feature} = useCreate{Feature}() const form = useForm({ defaultValues: { title: '', content: '', // ... default values for all fields } satisfies {Name}FormData, onSubmit: async ({ value }) => { await create{Feature}.mutateAsync(value) onSuccess?.() }, validatorAdapter: zodValidator(), validators: { onChange: {name}Schema, }, }) return ( <form onSubmit={(e) => { e.preventDefault() form.handleSubmit() }} className="space-y-4" > <form.Field name="title" children={(field) => ( <div className="form-field"> <label htmlFor={field.name}>Title</label> <input id={field.name} value={field.state.value} onChange={(e) => field.handleChange(e.target.value)} onBlur={field.handleBlur} aria-invalid={field.state.meta.errors.length > 0} aria-describedby={`${field.name}-error`} /> {field.state.meta.isTouched && field.state.meta.errors.length > 0 && ( <span id={`${field.name}-error`} className="error" role="alert"> {field.state.meta.errors[0]} </span> )} </div> )} /> <form.Field name="content" children={(field) => ( <div className="form-field"> <label htmlFor={field.name}>Content</label> <textarea id={field.name} value={field.state.value} onChange={(e) => field.handleChange(e.target.value)} onBlur={field.handleBlur} rows={5} aria-invalid={field.state.meta.errors.length > 0} /> {field.state.meta.isTouched && field.state.meta.errors.length > 0 && ( <span className="error" role="alert"> {field.state.meta.errors[0]} </span> )} </div> )} /> {/* Add more fields as needed */} <form.Subscribe selector={(state) => [state.canSubmit, state.isSubmitting]} children={([canSubmit, isSubmitting]) => ( <button type="submit" disabled={!canSubmit || isSubmitting} className="btn btn-primary" > {isSubmitting ? 'Saving...' : 'Save'} </button> )} /> {create{Feature}.isError && ( <div className="error" role="alert"> {create{Feature}.error.message} </div> )} </form> ) }
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 First seen · 314 lines · 12 tokens per session scan A 7e79a351de08
form-create is a command published in the GitHub repository smicolon/ai-kit (7 stars, last pushed 2mo ago), licensed MIT. It adds 12 tokens to every session and 2,225 once invoked, about $0.0000 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-03.
form-create compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| form-createsmicolon/ai-kit | Command | 7 | 2mo ago | MIT | A | 12 | Claude Code |
| security-reviewsangrokjung/claude-forge | Command | 888 | 2mo ago | MIT | B | 23 | Claude Code |
| hep-local.bodyagentlas-ai/Agentlas-OS | Command | 1.4k | 3d ago | Apache-2.0 | A | 0 | Claude Code |
| sync-checkKirKruglov/claude-project-manager | Command | 12 | 7mo ago | MIT | A | 13 | Claude Code |
| react-buildDekaPrayoga/AurixAgent | Command | 62 | 4mo ago | none | A | 59 | Claude Code |
| build-fixnoah-sheldon/ai-dev-kit | Command | 13 | 7mo ago | MIT | A | 14 | Claude Code |
| github-modesairmcp-com/mcp-standards | Command | 3 | 1y ago | MIT | A | 0 | Claude Code |