MaxMooreMy on X ("droid 也能帮忙修复下吗") showed the Sessions overview's
Skills card empty for Droid. Droid's parser counted no tools by skill:
it never read the Skill tool's input.skill, and a typed /<name> prompt,
which droid sends with a <system-notification> holding
<skill filePath=…><name>X</name>, counted nothing.
Now the Skill tool counts its input.skill, and each <name> in a
skill-selection notification of a user message counts once (HTML
entities unescaped, a name cut short counted as nothing). cacheVersion
27 reparses old sessions.
Fixtures are four real droid 0.231.0 sessions (droid exec through
magpie's gateway, sandbox HOME), byte for byte: a Skill tool call,
/greet-user, /greet-user /wave-hand, and /nonexistentzz (no skill).
Run on mote (mote-run): go test ./internal/sessions/ ok (76.9s, with
the next commit), go vet for darwin, linux and windows ok,
./internal/tui/... ok, ./internal/gui/ red only in
TestMainWindowCorners/macOS_26_SDK, the same at base (#3949). Broken
by hand: the old droid.go fails TestDroidToolsAndSkills.
Not tried: Droid's TUI, a subagent's skills, Windows and Linux runs,
a full ./... suite (mote busy with two other sessions' suites).