input-mapper

input-mapper is a skill for Claude Code from valkor-ai/loom. It costs 54 tokens per session (785 once invoked), scanned A, original, Apache-2.0.

A Godot project helper for defining input actions, such as movement or jumping, and their keyboard, mouse, or gamepad bindings. Godot is a tool for making games.

In plain words
What is it for?
Use it when adding mechanics, changing controls, setting up a new game genre, or checking that every referenced input action is configured.
Why use it?
It keeps the controls declared in the project settings and helps ensure that actions used by the game actually exist and have the intended bindings.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it when adding mechanics, changing controls, setting up a new game genre, or checking that every referenced input action is configured.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/valkor-ai/loom/input-mapper
About the project

Loom is a delivery harness that guides coding agents through defining, planning, implementing, checking, repairing, previewing, and handing off software changes. It is used with Claude Code, Codex, OpenCode, and other coding agents when work must be continued or inspected across sessions. The catalogue skills, hooks, commands, instructions, and plugin extend or operate this workflow.

valkor-ai/loom · 1,557 stars · on GitHub

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 valkor-ai/loom --skill input-mapper
Clone the repo
git clone --depth 1 https://github.com/valkor-ai/loom

Made for: Claude Code.

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 input-mapper

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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 785 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00054 $0.00785
Opus 5.5 $0.00022 $0.00314
Sonnet 5.5 $0.00011 $0.00157
Haiku 4.5 $0.00005 $0.00078

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

Security

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 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.

plugins/shared/loom/skills/godot/input-mapper/SKILL.md · 88 lines

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:

  1. GDD Mechanics table — each mechanic implies input actions (e.g., "Player can jump" → jump action).
  2. Genre preset — use a preset from Step 3 as a starting point.
  3. 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:

  1. Grep all .gd files for is_action\w*\("([^"]+)"\) — extract action names.
  2. Parse project.godot [input] section for defined actions.
  3. 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.
  4. Report any action referenced in code but missing from project.godot.

Read the full file on GitHub · 88 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. 3mo ago First seen · 88 lines · 54 tokens per session scan A 8639e5073141

Subscribe to this mod's changes

input-mapper is a skill published in the GitHub repository valkor-ai/loom (1,557 stars, last pushed yesterday), licensed Apache-2.0. It adds 54 tokens to every session and 785 once invoked, about $0.0002 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-30.

Related

input-mapper compared with skills from other repositories

input-mapper next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
input-mappervalkor-ai/loomSkill1.6kyesterdayApache-2.0A54Claude Code
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill42k22d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill13k2d agoApache-2.0A93Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill4.5k2d agoMITA121Claude Code
texture-workflowarjun988/blender-skillsSkill5.6k26d agoMITA41Claude Code
threejs-exposure-color-gradingscottstts/Threejs-Awesome-Graphics-Agent-SkillsSkill1.1k5d agoMITA91Codex
gamedev-shadersericrisco/rsc-harnessSkill695yesterdayMITA102Claude Code, Codex