collect-user-input

collect-user-input is a skill for Claude Code, Codex from managedcode/dotnet-skills. It costs 126 tokens per session (3,046 once invoked), scanned A, a copy of collect-user-input, MIT.

A guide to building Blazor forms and handling information entered by users. It covers input controls, validation, submissions, search boxes, filters, editing, and file uploads.

In plain words
What is it for?
Use it to create data-entry forms, search and filter panels, inline editors, validated submissions, and upload controls.
Why use it?
It helps forms behave correctly with Blazor's server, browser, and static rendering modes, including validation and submission handling.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to create data-entry forms, search and filter panels, inline editors, validated submissions, and upload controls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/managedcode/dotnet-skills/collect-user-input
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.

Any agent
npx skills add managedcode/dotnet-skills --skill collect-user-input
Clone the repo
git clone --depth 1 https://github.com/managedcode/dotnet-skills

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 collect-user-input

README.md
[![agentmods](https://agentmods.dev/badge/skills/managedcode/dotnet-skills/collect-user-input/github.svg)](https://agentmods.dev/skills/managedcode/dotnet-skills/collect-user-input)
Your own site
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/collect-user-input"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/collect-user-input/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 collect-user-input

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/collect-user-input"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/collect-user-input.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,046 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 100% copy Near-identical to another mod 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.00126 $0.03046
Opus 5.5 $0.00050 $0.01218
Sonnet 5.5 $0.00025 $0.00609
Haiku 4.5 $0.00013 $0.00305

Measured 2mo ago against content hash 49d22948cea0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

collect-user-input 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.

Origin

This is a copy

100% identical to collect-user-input — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

catalog/Frameworks/Official-DotNet-Blazor/skills/collect-user-input/SKILL.md · 427 lines

How it starts

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

Collect User Input

Step 1 — Read the Project's AGENTS.md

Check AGENTS.md for Interactivity Mode and Interactivity Scope. This determines which form patterns apply:

Mode Form mechanism
None (Static SSR) EditForm with FormName + [SupplyParameterFromForm]. No @bind, no @onchange.
Server EditForm with @bind-Value. Full interactivity — real-time validation, dynamic UI.
WebAssembly Same as Server, but validators needing server data must call APIs.
Auto Same as WebAssembly — code must work in both browser and server.
Scope Impact
Global All forms are interactive. FormName only needed when explicitly opting a page to static SSR.
Per-page Forms in static pages use FormName + [SupplyParameterFromForm]. Forms in @rendermode pages use @bind-Value.

EditForm Setup

EditForm requires either Model or EditContext — never both.

Model-based (default)

<EditForm Model="Employee" OnValidSubmit="HandleSubmit" FormName="employee">
    <DataAnnotationsValidator />
    <ValidationSummary />

    <label>
        Name: <InputText @bind-Value="Employee!.Name" />
        <ValidationMessage For="() => Employee!.Name" />
    </label>

    <button type="submit">Save</button>
</EditForm>

@code {
    [SupplyParameterFromForm]
    private EmployeeModel? Employee { get; set; }

    protected override void OnInitialized() => Employee ??= new();

    private async Task HandleSubmit()
    {
        // Save Employee
    }
}

This single pattern works in both SSR and interactive modes:

  • In SSR: FormName identifies the form, [SupplyParameterFromForm] binds POST data, ??= initializes on GET.
  • In interactive: @bind-Value provides two-way binding, [SupplyParameterFromForm] is ignored, FormName is harmless.

EditContext-based (advanced)

Use when you need programmatic field tracking, dynamic validation rules, or manual EditContext.Validate() calls:

Read the full file on GitHub · 427 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 427 lines · 126 tokens per session scan A 49d22948cea0

Subscribe to this mod's changes

collect-user-input is a skill published in the GitHub repository managedcode/dotnet-skills (527 stars, last pushed 16d ago), licensed MIT. It adds 126 tokens to every session and 3,046 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to collect-user-input, differing in 0 lines, and is treated as a copy.

Related

collect-user-input compared with skills from other repositories

collect-user-input next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
collect-user-inputmanagedcode/dotnet-skillsSkill52716d agoMITA126Claude Code, Codex
windbg-kernel-lock-deadlock-triagemicrosoft/win-dev-skillsSkill52113d agoMITA56Claude Code
fuzzy-selectingSebastienDegodez/copilot-instructionsSkill19923d agoApache-2.0A25Claude Code, Codex
rust-developmentnavikt/copilotSkill65yesterdayMITA27Claude Code, Codex
spring-boot-scaffoldnavikt/copilotSkill65yesterdayMITA32Claude Code, Codex
tlc-discovertech-leads-club/agent-skillsSkill7.2k2d agononeA76Claude Code, Codex
repo-baseline-auditnavikt/copilotSkill65yesterdayMITA122Claude Code, Codex