feat: add skill usage analytics backend#688
Open
charlieviettq wants to merge 1 commit into
Open
Conversation
roborev: Combined Review (
|
67450b7 to
fed42d1
Compare
roborev: Combined Review (
|
mariusvniekerk
pushed a commit
that referenced
this pull request
Jun 15, 2026
## Summary - add a full-width `Top Skills` panel to the Analytics page - fetch data from `GET /api/v1/analytics/skills` - show all-agent skill totals with visible per-agent breakdowns - keep project breakdown secondary and remove click/search behavior until a backend skill session filter exists ## Compatibility - frontend-only follow-up to #688 - no backend changes beyond the endpoint introduced in #688 - UI copy is English ## Tests - `cd frontend && npm run check` - `cd frontend && npm test -- --run` - `git diff --check` ## Review note This branch is stacked on #688 (`feat: add skill usage analytics backend`) because it uses the generated API client for `GET /api/v1/analytics/skills`. After #688 merges, this PR can be rebased onto upstream `main` for a cleaner diff. Co-authored-by: Trần Quốc Việt <charlieviettq@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GET /api/v1/analytics/skillsfor skill usage analytics fromtool_calls.skill_namedb.Store.GetAnalyticsSkillswith SQLite, PostgreSQL, and DuckDB implementationsCompatibility
Privacy/Data
tool_calls.skill_namevaluesTests
go test -tags "fts5,kit_posthog_disabled" ./internal/db ./internal/server ./internal/postgres ./internal/duckdb ./internal/backendcontractcd frontend && npm run checkcd frontend && npm run generate:apigit diff --checkFollow-ups
skill_namefor Codex/Cursor fromSKILL.mdreadsTop Skillsanalytics panel