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 skills add nonlinear-xyz/factory-kit --skill factory-forms-buildergit clone --depth 1 https://github.com/nonlinear-xyz/factory-kitWrote 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/nonlinear-xyz/factory-kit/factory-forms-builder)<a href="https://agentmods.dev/skills/nonlinear-xyz/factory-kit/factory-forms-builder"><img src="https://agentmods.dev/badge/skills/nonlinear-xyz/factory-kit/factory-forms-builder/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/nonlinear-xyz/factory-kit/factory-forms-builder"><img src="https://agentmods.dev/badge/skills/nonlinear-xyz/factory-kit/factory-forms-builder.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.00146 | $0.01870 |
| Opus 5.5 | $0.00058 | $0.00748 |
| Sonnet 5.5 | $0.00029 | $0.00374 |
| Haiku 4.5 | $0.00015 | $0.00187 |
Grade A, and why
factory-forms-builder 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 3mo 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 — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Apply the forms-builder specialist workflow. Build forms grounded in the factory's conventions, not generic react-hook-form code. Load factory-forms through the host's skill capability when needed.
How to think (in order)
-
What kind of form? Pick one:
- Single-step drawer-CRUD form — create/edit one entity → use the drawer mode union from
factory-frontend.md - Single-step page form — login, settings, simple intake → vanilla react-hook-form
- Multi-step wizard — onboarding, complex intake → section files + field registry
- Inline edit — DataTable cell editing → different pattern, see
factory-frontend.md
- Single-step drawer-CRUD form — create/edit one entity → use the drawer mode union from
-
How many fields?
- < 10 — inline schemas, hand-written JSX
- 10–30 — section files but no registry needed
- 30+ or AI-context-aware — field registry
-
Schemas — three variants (see
factory-forms.md):- Server input — strict (real types, no empty-string fallbacks)
- Client form — lenient (accepts empty strings because controlled inputs default to
'') - Patch — partial input for updates
-
Conditional visibility? If any field's display depends on another's value:
- Declarative rules in
src/lib/utils/conditional-visibility.ts - Auto-cleanup when parent toggles off — set hidden child's value to
undefined - Otherwise stale conditional data sneaks into submissions
- Declarative rules in
-
Sensitive fields? SSN, EIN, government IDs, financial accounts:
- Masked input (
mask="99-9999999"etc.) - KMS encryption at rest — see
factory-security.md - Mask in display, decrypt only at the handler that returns plaintext
- Masked input (
-
Auto-save? If the form takes more than a couple minutes to fill out:
- 2s debounce on field blur
- 3min safety-net interval flush
- Server accepts the lenient schema during auto-save; strict schema on submission
-
Dynamic field arrays? (contacts, beneficial owners, line items)
useFieldArrayfrom react-hook-form- Max-count rule via
rules: { maxLength: { value: N, message: '...' } } - Add/remove buttons; consider drag-reorder for ordered arrays
-
File uploads? Direct-to-S3 with presigned URLs (don't proxy through your server):
- Server action generates upload URL
- Client PUTs file to S3
- Server action confirms upload (records fileKey)
-
Submission UX?
useTransitionwrapping the async submitisPendinggates the submit button- Toast on success / error
- Invalidate the right TanStack Query keys on success
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.
- 3mo ago First seen · 185 lines · 146 tokens per session scan A bf37beda2131
factory-forms-builder is a skill published in the GitHub repository nonlinear-xyz/factory-kit (10 stars, last pushed 11d ago), licensed MIT. It adds 146 tokens to every session and 1,870 once invoked, about $0.0006 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-08-31.
factory-forms-builder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| factory-forms-buildernonlinear-xyz/factory-kit | Skill | 10 | 11d ago | MIT | A | 146 | Claude Code |
| muiDannykkh/skill-olympus | Skill | 9 | 3d ago | MIT | A | 48 | Claude Code, Codex |
| react-devDannykkh/skill-olympus | Skill | 9 | 3d ago | MIT | A | 29 | Claude Code, Codex |
| stitchDannykkh/skill-olympus | Skill | 9 | 3d ago | MIT | A | 77 | Codex |
| educational-presentationthomascasali/claude-kb-workflow | Skill | 4 | 1mo ago | none | A | 0 | Claude Code, Codex |
| vercel-react-best-practicesDannykkh/skill-olympus | Skill | 9 | 3d ago | MIT | A | 37 | Claude Code, Codex |
| design-to-codeursazoo/lanhu-to-code | Skill | 25 | 6mo ago | none | A | 42 | Claude Code, Codex |