Storage cleanupPro
Skills and commands that ride along with each new chat, filtered by how long they sat unused; tick some, watch the tokens they free as dots, move them to the Trash and undo.
oxyn add storage-cleanupThe preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- Give back context an agent wastes every session on skills and commands nobody uses.
When not to use
- Disk use as a capacity bar of dots, one colour block per category, over a category grid: use Storage meter instead.
- An Oxyn original: use Storage waffle instead.
- An Oxyn original: use Storage forecast instead.
Installation
Storage cleanup is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add storage-cleanupUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
30 days
Nine items idle for a month, all picked; the dots show the tokens they cost every session.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
6 months
Only what sat unused for half a year.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
90 days
A quarter's window.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
StorageCleanup
| Prop | Type | Default | Description |
|---|---|---|---|
items | Option<Vec<CleanItem>> | Default::default() | Items (the demo list when `None`). |
default_days | u32 | 30 | Starting window in days (30, 90 or 180). |
on_trash | EventHandler<Vec<String>> | — | Items were moved to the Trash (names). |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Window, Select all, each row, Move to Trash, Undo |
| Space | Ticks a row |
Accessibility
- The window is a radiogroup; rows and Select all are checkboxes (role checkbox, aria-checked).
- The dot row is an image labelled with the tokens freed; moving and undoing are said in a status line.
Responsive behaviour
- 440 px card; under 480 px the place tag hides and the list scrolls in place.
Edge cases (spec)
440 px card; the list scrolls in a 244 px box; the place tag hides under 480 px.
Notes for AI
- Import
StorageCleanupfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
StorageCleanupElinoxyn_gpui. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.