-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Feature]: Settings profile page — lifetime token stats, streaks, and activity heatmap #102841
Copy link
Copy link
Closed
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.enhancementNew feature or requestNew feature or requestissue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Description
Metadata
Metadata
Assignees
Labels
P3Low-priority cleanup, docs, polish, ergonomics, or speculative work.Low-priority cleanup, docs, polish, ergonomics, or speculative work.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.enhancementNew feature or requestNew feature or requestissue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.Issue quality rating does not apply to this item.maintainerMaintainer-authored PRMaintainer-authored PRmaturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Type
Fields
Priority
None yet
Summary
Add a Profile section to the Control UI settings: an agent-centric stats page (in the spirit of coding-agent profile pages) showing lifetime token usage, activity streaks, a year-long token heatmap, and most-used tools/channels.
Problem to solve
OpenClaw tracks rich per-session usage (tokens, costs, tools, channels, models) but only exposes it through the analysis-oriented Usage dashboard. There is no glanceable, fun identity page that summarizes an install's lifetime activity — the kind of "wrapped"-style overview users share and check daily. The data already exists via
usage.costandsessions.usage; it just has no surface.Proposed solution
New
/settings/profilepage in the settings takeover:usage.cost,sessions.usagewithrange: "all"); additive aggregate fields (sessionCount,longestSessionDurationMs) so headline stats do not depend on the capped row page.Alternatives considered
sessions.usagerows only: rejected — the 1,000-row cap makes lifetime headline stats wrong on active installs; additive server aggregates are needed.Impact
All Control UI users get a zero-config overview of their agent's lifetime activity. No config surface added; purely additive gateway response fields.
Evidence/examples
Screenshots (mock-gateway harness):
Additional information
Known limitation carried over from the existing usage surface: day buckets use a fixed current-UTC offset, so DST-opposite-season history near midnight can shift a day; DST-aware bucketing is a usage-wide follow-up.