/faressc-llm-plugin:control-fares-linux-computerfrom faressc-llm-plugin
Use when controlling Fares's Linux computer via the computer-use-linux MCP — GUI automation (clicking, typing, keyboard shortcuts, launching apps, managing windows, taking screenshots) on his Asahi Linux / Hyprland machine. Read this BEFORE sending any keyboard shortcut, because Ctrl and Super are swapped at the xkb level so injected modifier chords must be inverted. Also covers the Hyprland keybinds, monitor/coordinate layout, and reliable computer-use workflows on this setup.
Ships in faressc-llm-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Desktop control runs through the mcp__computer-use-linux__* tools (screenshot,
click, type_text, press_key, list_windows, activate_window, get_app_state, …).
Machine: Fedora Asahi Remix, aarch64, Hyprland (wlroots), Wayland.
Begin a control turn with list_windows or get_app_state to see what's open.
~/.config/hypr/hyprland.conf sets:
kb_options = ctrl:swap_lwin_lctl, ctrl:swap_rwin_rctl, special_letters:german_umlaute, ...
This swaps the Left/Right Super (Win) keys with the Left/Right Ctrl keys at the xkb keymap level. Hyprland applies this keymap to every keyboard — including ydotool's virtual keyboard that computer-use injects through. So the raw evdev modifier you inject is remapped before Hyprland and apps see it:
You inject (press_key) | Hyprland / apps actually receive |
|---|---|
ctrl | Super (Mod4) |
super / meta | Control |
alt | Alt (unchanged) |
shift | Shift (unchanged) |
plain keys, letters, space, Return, Escape, arrows, Tab | unchanged |
caps_lock | Escape on a tap, Control while held (keyd); shift+caps_lock is Caps Lock |
keyd (/etc/keyd/default.conf) also grabs ydotool's virtual device and re-emits it through
keyd-virtual-keyboard; the Ctrl↔Super swap still happens afterwards in xkb, so the
inversion rule above is unchanged.
Rule of thumb: invert Ctrl↔Super in every injected chord.
Ctrl+<k> (e.g. Firefox new tab, address bar, copy):
inject super+<k>.
super+l → Ctrl+L (focus address bar) ✓ verifiedsuper+t → Ctrl+T (new tab), super+c → Ctrl+C, super+w → Ctrl+W (close tab)$firstMod (= Super/Mod4): inject ctrl+….
ctrl+w → Super+W → launches Firefoxctrl+q → Super+Q → close windowctrl+<N> → Super+N → switch to workspace N$thirdMod (= Control): inject super+….
super+space → Control+Space → wofi launcher ✓ verifiedPlain keys and type_text literal text are unaffected — they are always reliable.
super becomes Control)Some "app shortcuts" you try to send will instead hit a Hyprland Control-bind:
super+space → Control+Space → opens wofi (not an app Ctrl+Space).super+Tab → Control+Tab → Hyprland focuscurrentorlast (switches window!) — you
cannot send a plain app Ctrl+Tab this way; it gets eaten by the compositor.super+alt+space → Control+Alt+Space → Claude desktop Quick Entry (a global
shortcut), not an app's Ctrl+Alt+Space.Optional permanent fix (not applied): keyd grabs the ydotool device too (
DEVICE: match … (ydotoold virtual device)injournalctl -u keyd), so injected keys reach Hyprland throughkeyd-virtual-keyboardlike the physical ones, and a Hyprlanddeviceblock forydotoold-virtual-devicealone has no effect. It would take both: exclude the device in keyd's[ids](-2333:6666) and give it its owndevice { name = ydotoold-virtual-device; kb_options = }block, so the swap isn't applied to injected input. Until then, use the inversion table above.
Mod vars: $firstMod = Mod4 (Super), $secondMod = Mod1 (Alt), $thirdMod = Control.
The "inject" column already accounts for the swap. The full scheme, including kitty
(Alt), tmux and Neovim, is in ~/.dotfiles/KEYBINDINGS.md; there are no arrow-key
binds any more, directions are h j k l.
| Action | Real bind | Inject via press_key |
|---|---|---|
| App launcher (wofi) | Control + space | super+space |
| Launch terminal (kitty) | Super + Return | ctrl+Return |
| Terminal split right / below | Super + V / Super + S | ctrl+v / ctrl+s |
| Launch Firefox | Super + W | ctrl+w |
| File manager (dolphin) | Super + E | ctrl+e |
| Close active window | Super + Q | ctrl+q |
| Toggle floating | Super + F | ctrl+f |
| Maximize (toggle, keeps bar) | Super + Z | ctrl+z |
| True fullscreen (toggle) | Super + Ctrl + Z | ctrl+super+z |
| Lock screen (hyprlock) | Super + Ctrl + Q | ctrl+super+q |
| Logout menu (wlogout) | Super + Escape | ctrl+Escape |
| Move focus | Super + h j k l | ctrl+h … ctrl+l |
| Swap window | Super + Shift + h j k l | ctrl+shift+h … |
| Previous / next workspace | Super + Ctrl + h / l | ctrl+super+h / …+l |
| Focus monitor left/down/up/right | Super + Ctrl + Alt + h j k l | ctrl+super+alt+h … |
| Switch to workspace N | Super + N | ctrl+<N> |
| Move window to workspace N | Super + Shift + N | ctrl+shift+<N> |
| Focus last window | Control + Tab | super+Tab |
| Keybinding cheatsheet (toggle) | Super + / | ctrl+slash |
| Screenshot (area) | Super + Ctrl + Alt + period | ctrl+super+alt+period |
Special workspaces (scratchpads): Super+A magic, Super+B spotify, Super+D qpwgraph,
Super+X claudecode, Super+G claudedesktop, Super+M mail (Thunderbird)
→ inject ctrl+a / ctrl+b / ctrl+d / ctrl+x / ctrl+g / ctrl+m.
Prefer launching apps with hyprctl dispatch exec <app> only if the user is fine with
shell use; otherwise use the wofi or direct-launch binds above through press_key.
hyprctl monitors).screenshot full_screen=true → image in the 2560×1600 desktop coordinate space.screenshot pid=<pid> (window-targeted) → raises the window, crops to it, returns
window-relative coordinates (coordinate_width/coordinate_height in the result).click pid=<pid> relative=true x=… y=…
(same space as a window-cropped screenshot). Coordinate clicks via the uinput
absolute pointer work; accuracy is best with accel_profile = flat (not currently set,
so treat absolute coords as approximate — verify with a follow-up screenshot).Screenshots: to read UI text, capture the full window at native resolution
(screenshot pid=<pid> format=jpeg quality=75). Do NOT use max_height/max_width
to "zoom a region" — those resize the entire image proportionally and make it
unreadable. There is no region-crop except window crop.
Windows / tiling (dwindle): activate_window pid=<pid> may pull the window onto
the current workspace and tile it beside whatever is focused (each gets half width).
Expect layout changes; re-list_windows after focusing. Firefox uses vertical tabs;
its bookmarks bar overflows (») at narrow widths, so a named bookmark may be hidden —
navigate via the address bar instead.
Launch an app (verified recipe):
press_key super+space → wofi openstype_text "<app name>" (e.g. firefox) — or it may already be the top entrypress_key ReturnNavigate Firefox to a URL or bookmark (verified recipe):
press_key super+l (→ Ctrl+L) → address bar focusedtype_text "<url>", or type_text "* <bookmark name>" to filter to bookmarks onlyscreenshot to confirm the result, then press_key Return or click the result rowDismiss a dialog / doorhanger: press_key Escape (plain key, reliable). Permission
doorhangers (e.g. Zoom mic/camera) can steal keyboard focus — dismiss them first.
AT-SPI element targeting: enabled, but an app only exposes its accessibility tree if it was started after AT-SPI was turned on. For apps already running, fall back to screenshot + coordinate clicks, or restart the app to get its tree.
element bookmark → chat.tu-berlin.de/#/home (TU Berlin Element / Matrix).~/tubcloud.tu-berlin.de/memory-bridge/guides/computer-use-linux-mcp.md.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub faressc/faressc-plugins --plugin faressc-llm-plugin13 skills in this plugin
/diagnosing-bugsDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow./domain-modelingBuild and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR./explain-prExplain what the current branch or PR changes, in plain language and in execution order, with code references./grillingGrill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases./grill-meA relentless interview to sharpen a plan or design./grill-with-docsA relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.