claude: add a skill for reading fleet logs from VictoriaLogs #1483

Merged
JakeHillion merged 1 commits from jj/xmnrmsovktks into main 2026-12-03 19:19:05 +00:00
1 Commits
Author SHA1 Message Date
JakeHillion 50ed960491 claude: add a skill for reading fleet logs from VictoriaLogs
commit-validation / validate-single-commit (pull_request) Successful in 21s
buildbot/nix-eval Build done. (30 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
Agents read a host's logs by SSHing in and running journalctl, which
needs SSH access to every host they look at and an approval for each
command. On tmpfs hosts it also misses everything before the last
reboot.

A project skill points agents working in this repo at VictoriaLogs for
any question about a host's logs, including searches across the whole
fleet. LogsQL is unfamiliar, so it carries tested example queries for
the common cases and the field quirks that differ from journalctl, and
links the LogsQL reference for anything else.

Test plan:
- Ran every example query against VictoriaLogs from this machine
- Checked the field names against /select/logsql/field_names and
  systemd's unit messages for the UNIT field
2026-12-03 19:16:42 +00:00