rtk-ai/rtk

Add support for systemctl, python3, ssh, adb, pgrep, pactl, xrandr, pkill

Open

#1,905 建立於 2026年5月16日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Rust (2,914 fork)batch import
area:clienhancementhelp wantedplatform:linuxpriority:medium

倉庫指標

Star
 (48,085 star)
PR 合併指標
 (平均合併 11天 1小時) (30 天內合併 45 個 PR)

描述

Missed commands from rtk discover

Running rtk 0.40.0 on Linux Mint 22 XFCE. Hook (PreToolUsertk hook claude) is active and intercepting correctly — rtk gain shows 87% savings on covered commands. rtk discover flags these high-frequency commands as still unhandled over 30 days / 197 sessions / 3583 Bash calls:

Command Count (30d) Example
systemctl 122 systemctl --user restart voz-daemon.service
python3 114 python3 /home/techsphere/scripts/clima_full.py --tv
ssh 59 ssh -o ConnectTimeout=4 -o BatchMode=yes ...
adb shell 54 adb shell getprop service.adb.tcp.port
pgrep 48 pgrep -af scrcpy
pactl list 37 pactl list short sinks
xrandr 30 DISPLAY=:0 xrandr --listmonitors
pkill 24 pkill -f "scrcpy.*serial"
crontab 20 crontab -l
pactl info 12 pactl info

Context: Linux automation workspace — TV control (LG WebOS), PipeWire audio routing, voice daemon (Vosk STT), scrcpy bridge to Galaxy A02. Output of systemctl status, pactl list, xrandr --listmonitors, adb shell getprop is verbose and would benefit most.

Priority guess: systemctl + python3 + pactl list together would recover ~50% of the unhandled volume.

Happy to test pre-release builds.

貢獻者指南