type_text — Claude Code prompt for entering text
The type_text Claude Code prompt enters text into a chosen field. It can submit the field and check what appeared there.
Apache-2.0 ★ 9,488 updated 2026-11-16
.claude/commands/type_text.mdWhat type_text does
type_text sends the full text to a field in one call. Select the field first, provide its ref and snapshotId, or identify it with element using its label, accessible name, or placeholder. The match must point to exactly one field; otherwise, the result lists matches or asks for a fresh observation.
Set pressEnter to submit after typing. The result includes the field’s current contents and whether they match the intended text. Password contents stay hidden. If the text did not appear, the prompt retries once; effect.kind reports the outcome.
What it helps with
- enter text into a selected field in one call
- locate a field by its label or placeholder
- submit entered text with Enter
- check whether the field received the intended text
Example prompts for the agent
- Enter “Done” in the field labelled “Status”.
- Put “project build” in the field with the placeholder “Search”.
- Type “Send” into the selected field, then press Enter.
How to install type_text
Manually: put the files in place
.claude/commands/type_text.mdHow to use
Paste the text at the start of a chat or into project instructions
Questions about type_text
How do I install type_text in Claude Code?
Add the command file at .claude/commands/type_text.md.
What does type_text do?
It enters supplied text into one field, can submit it with Enter, and checks the field’s current value. If the text did not appear, it retries once.
How does type_text identify a field?
Select the field first, pass its ref and snapshotId, or specify its label, accessible name, or placeholder with element. The match must identify exactly one field on screen.
Source text
type_text.md · Apache-2.0
Type the whole text into the focused field in one call; tap the field first, pass ref+snapshotId to target it, or name the field in element (its label, accessible name or placeholder as listed; it must match exactly one input field on the screen now, otherwise the result says which ones match or asks you to observe; a partial match is reported as resolvedFrom and matched). pressEnter submits after the text was entered. The result's effect reads the field back: readback is what the field shows now (hidden for password fields) and readbackMatches whether it is the intended text; text that did not land is retried once automatically. effect.kind is done, small_change, no_effect or place_changed as for other actions.
© wangzan101 · Apache-2.0 · wangzan101/Mika