rtk-ai/rtk

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

Open

#1,904 opened on 2026年5月16日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Rust (2,914 forks)batch import
area:clienhancementhelp wantedplatform:linuxpriority:medium

Repository metrics

Stars
 (48,085 stars)
PR merge metrics
 (平均マージ 11d 1h) (30d で 45 merged PRs)

説明

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.

コントリビューターガイド