wine-hid-device-tools

wine-hid-device-tools is a skill for Claude Code, Codex from howdeploy/kisa-stack. It costs 65 tokens per session (1,656 once invoked), scanned B, original, MIT.

A troubleshooting tool for running Windows keyboard and similar USB device utilities on Linux through Wine. Wine is software that runs many Windows programs on Linux.

In plain words
What is it for?
It helps diagnose USB and HID device access, create permissions rules, find the right Wine prefix, adjust Wine settings and relaunch a vendor utility.
Why use it?
It addresses cases where the keyboard works for typing but the Windows configuration app cannot find or control it. It checks device visibility, permissions, the correct Wine environment and relevant settings.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/howdeploy/kisa-stack/wine-hid-device-tools
Any agent
npx skills add howdeploy/kisa-stack --skill wine-hid-device-tools
Clone the repo
git clone --depth 1 https://github.com/howdeploy/kisa-stack

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 wine-hid-device-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/howdeploy/kisa-stack/wine-hid-device-tools.svg)](https://agentmods.dev/skills/howdeploy/kisa-stack/wine-hid-device-tools)
Your own site
<a href="https://agentmods.dev/skills/howdeploy/kisa-stack/wine-hid-device-tools"><img src="https://agentmods.dev/badge/skills/howdeploy/kisa-stack/wine-hid-device-tools.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,656 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00065 $0.01656
Opus 5 $0.00032 $0.00828
Sonnet 5 $0.00013 $0.00331
Haiku 4.5 $0.00006 $0.00166

Measured 3d ago against content hash cc39c9979491, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

wine-hid-device-tools scanned grade B with 1 finding 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 3d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/discover_hid_devices.sh, scripts/find_wine_prefix_apps.sh, scripts/print_hid_setup_commands.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo dmesg -wH | grep -Ei --line-buffered 'usb|hid|hidraw|keyboard|device'
skills/wine-hid-device-tools/SKILL.md · 174 lines

How it starts

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

Wine HID Device Tools

Hermes: все команды и скрипты этого скилла — обычный bash, запускай через terminal. Вывод команд показывай пользователю как есть.

Goal

Help users run Windows keyboard and HID vendor tools on Linux when the device works as normal input but the configuration app cannot detect or control it. Diagnose Linux USB/HID visibility, hidraw permissions, the correct Wine prefix, and winebus settings before recommending a Windows VM.

Do not run Wine as root. Do not assume ~/.wine is the correct prefix.

Quick Workflow

  1. Confirm the device is wired over USB data, not only charging or still using Bluetooth/2.4 GHz.
  2. Find the device's VID/PID and hidraw nodes.
  3. Verify user access to the relevant /dev/hidraw* nodes.
  4. Generate and apply a udev rule if permissions are missing.
  5. Find the prefix that contains the installed vendor app.
  6. Apply winebus settings to that exact prefix.
  7. Relaunch the installed .exe with careful shell quoting.

Use scripts first when available; they are read-only except for printing commands.

Discovery Scripts

List HID raw devices:

scripts/discover_hid_devices.sh
scripts/discover_hid_devices.sh 'aula|sonix|keyboard|0c45'

Find likely Wine prefixes and installed vendor executables:

scripts/find_wine_prefix_apps.sh
scripts/find_wine_prefix_apps.sh 'aula|akko|keychron|keyboard|driver'

Print setup commands for a known VID/PID:

scripts/print_hid_setup_commands.sh 0c45:800a
scripts/print_hid_setup_commands.sh 0c45:800a "/path/to/prefix"

The third script prints commands only. Review them with the user before applying sudo or registry changes.

Manual HID Checks

Use these when scripts are unavailable or more detail is needed:

lsusb
sudo dmesg -wH | grep -Ei --line-buffered 'usb|hid|hidraw|keyboard|device'

Inspect hidraw metadata:

for d in /sys/class/hidraw/hidraw*; do
  [ -r "$d/device/uevent" ] || continue
  echo "/dev/${d##*/}"
  cat "$d/device/uevent"
  echo
done

Read the full file on GitHub · 174 lines

Files

What ships with it

4 files 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. 3d ago First seen · 174 lines · 65 tokens per session scan B cc39c9979491

Subscribe to this mod's changes

wine-hid-device-tools is a skill published in the GitHub repository howdeploy/kisa-stack (23 stars, last pushed 2mo ago), licensed MIT. It adds 65 tokens to every session and 1,656 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cli-anything-3mf

3MF mesh geometry editor — detect and resize cylindrical holes, repair meshes, compare 3D printing files. Works with BambuStudio and PrusaSlicer 3MF files.

HKUDS/CLI-Anything · 44 tokens

doca-compress

Use this skill for hands-on DOCA Compress programming on a BlueField DPU, ConnectX NIC, or host with DOCA — enabling compress-deflate, decompress-deflate, decompress-lz4-stream, or decompress-lz4-block tasks on a docacompress context (the hardware supports DEFLATE both directions plus LZ4 decompress; LZ4 encode is NOT…

NVIDIA/skills · 242 tokens

pcbway

PCBWay PCB fabrication and assembly — turnkey/consigned assembly, design rules, ordering workflow. Alternative to JLCPCB for manufacturing. Use with KiCad. Use this skill when the user mentions PCBWay, needs turnkey assembly (PCBWay sources parts by MPN), has parts not available on LCSC, needs assembled boards with…

aklofas/kicad-happy · 119 tokens

robotics-design-patterns

Architecture patterns, design principles, and proven recipes for building robust robotics software. Use this skill when designing robot software architectures, choosing between behavioral frameworks, structuring perception-planning-control pipelines, implementing state machines, designing safety systems, or…

arpitg1304/robotics-agent-skills · 120 tokens

unifly

This skill should be used when the user asks to "manage UniFi devices", "configure UniFi networks", "create a VLAN", "provision an SSID", "create firewall rules", "reorder firewall policies", "create a NAT rule", "set up port forwarding", "configure masquerade NAT", "add DNS records", "manage traffic matching lists"…

hyperb1iss/unifly · 265 tokens

autofish-control

Control Android devices with Autofish via the af CLI. Use this skill when you need reliable observe-act-verify loops, ref-based tapping, overlay management, screenshots, and recovery steps.

felinics/Autofish · 42 tokens