Skip to content
Back

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-cleanup
Free up contextSkills and commands that ride along with each new chat.
Not used in
9 unused2 never used9 selected
1,410 of 1,828 tokens freed every session
The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

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

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.

Terminal
oxyn add storage-cleanup

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

30 days

Nine items idle for a month, all picked; the dots show the tokens they cost every session.

Free up contextSkills and commands that ride along with each new chat.
Not used in
9 unused2 never used9 selected
1,410 of 1,828 tokens freed every session
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

6 months

Only what sat unused for half a year.

Free up contextSkills and commands that ride along with each new chat.
Not used in
4 unused2 never used4 selected
629 of 1,828 tokens freed every session
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

90 days

A quarter's window.

Free up contextSkills and commands that ride along with each new chat.
Not used in
6 unused2 never used6 selected
994 of 1,828 tokens freed every session
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

StorageCleanup

PropTypeDefaultDescription
itemsOption<Vec<CleanItem>>Default::default()Items (the demo list when `None`).
default_daysu3230Starting window in days (30, 90 or 180).
on_trashEventHandler<Vec<String>>—Items were moved to the Trash (names).

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabWindow, Select all, each row, Move to Trash, Undo
SpaceTicks 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 StorageCleanup from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: StorageCleanupEl in oxyn_gpui.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI