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 agentmods add skills/valkor-ai/loom/input-mappernpx skills add valkor-ai/loom --skill input-mappergit clone --depth 1 https://github.com/valkor-ai/loomWrote 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/valkor-ai/loom/input-mapper)<a href="https://agentmods.dev/skills/valkor-ai/loom/input-mapper"><img src="https://agentmods.dev/badge/skills/valkor-ai/loom/input-mapper.svg" alt="Measured on agentmods" 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 | $0.00054 | $0.00785 |
| Opus 5 | $0.00027 | $0.00392 |
| Sonnet 5 | $0.00011 | $0.00157 |
| Haiku 4.5 | $0.00005 | $0.00078 |
Grade A, and why
input-mapper 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 4d 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 — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Input Mapper
$ARGUMENTS
Read the GDD or user request, determine which input actions are needed,
and write the correct [input] section entries into project.godot.
Step 1 — Extract Required Actions
Source actions from one of:
- GDD Mechanics table — each mechanic implies input actions
(e.g., "Player can jump" →
jumpaction). - Genre preset — use a preset from Step 3 as a starting point.
- Explicit request — user or dispatching role specifies exact actions.
For each action, determine: action name (snake_case), bound keys/buttons.
Step 2 — Write to project.godot [input] Section
For Object() serialization format, templates (keyboard, mouse, gamepad button, gamepad axis), and key code table, read references/serialization.md.
Step 3 — Genre Presets
Use these as starting points. Add gamepad bindings if the GDD mentions controller support.
Platformer
| Action | Keys |
|---|---|
move_left |
A, Left Arrow |
move_right |
D, Right Arrow |
jump |
Space, W, Up Arrow |
Top-down
| Action | Keys |
|---|---|
move_up |
W, Up Arrow |
move_down |
S, Down Arrow |
move_left |
A, Left Arrow |
move_right |
D, Right Arrow |
Shooter (top-down or twin-stick)
| Action | Keys / Buttons |
|---|---|
move_up |
W, Up Arrow |
move_down |
S, Down Arrow |
move_left |
A, Left Arrow |
move_right |
D, Right Arrow |
shoot |
LMB (mouse button 1) |
reload |
R |
UI (add to all genres)
| Action | Keys |
|---|---|
pause |
Escape |
Note: ui_accept, ui_cancel, ui_left, ui_right, ui_up, ui_down are
built-in Godot actions — do NOT redefine them in [input] unless overriding defaults.
Step 4 — Validation
Check that every Input.is_action_*("action_name") and event.is_action("action_name")
call in .gd files has a matching entry in project.godot [input] or is a built-in
Godot action (prefixed with ui_).
To validate:
- Grep all
.gdfiles foris_action\w*\("([^"]+)"\)— extract action names. - Parse
project.godot[input]section for defined actions. - Built-in actions (do not need definition):
ui_accept,ui_cancel,ui_select,ui_left,ui_right,ui_up,ui_down,ui_focus_next,ui_focus_prev,ui_page_up,ui_page_down,ui_home,ui_end,ui_text_*,ui_filedialog_*,ui_graph_*,ui_copy,ui_cut,ui_paste,ui_undo,ui_redo. - Report any action referenced in code but missing from project.godot.
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.
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.
- 4d ago First seen · 88 lines · 54 tokens per session scan A 8639e5073141
input-mapper is a skill published in the GitHub repository valkor-ai/loom (931 stars, last pushed 17d ago), licensed Apache-2.0. It adds 54 tokens to every session and 785 once invoked, about $0.0003 per session on Opus 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-30.
Other skills, from other repositories
gameobject-component-destroy
Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.
assets-prefab-save
Save the currently opened prefab edit stage back to its prefab asset without exiting the stage. Pair with 'assets-prefab-open' to enter the edit mode first.
mobile-games
Mobile game development principles. Touch input, battery, performance, app stores.
influence-psychology
Apply the seven principles of ethical persuasion (reciprocity, commitment, social proof, authority, liking, scarcity, unity) to product design, copy, and sales. Use when the user mentions "social proof", "persuasive copy", "why users dont convert", "ethical persuasion", "reciprocity", "scarcity tactics", "commitment…
unity-addressables
Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).
unity-manual-component
Manually add, configure, reorder, and copy components on GameObjects using Unity Editor UI. For one-off Inspector workflows that do not need REST automation.