Skip to content

Settings & Maintenance

The Settings & Maintenance TUI provides a visual interface for managing SCC’s configuration, clearing cache, and performing maintenance operations — all without leaving the terminal.

KeyAction
/ or j/kNavigate actions
/ or h/lSwitch categories
TabCycle categories
EnterExecute action
iToggle info panel
pPreview affected paths and sizes
?Show help panel
Esc / qGo back / Close panels

Maintenance

Cache cleanup, session pruning, and configuration reset operations.

Profiles

Save, apply, diff, and sync personal profiles from the TUI.

Diagnostics

Health checks and debugging tools like scc doctor.

About

Version info and file locations (scc config paths).

Each action has a risk tier that determines the confirmation level:

ActionRiskDescription
Clear cacheSafeRemove regenerable cache files
Clear contextsChanges StateClear recent work contexts
Prune containersChanges StateRemove stopped Docker containers
Prune sessionsChanges StateRemove old sessions (keeps recent 20)
Reset exceptionsDestructiveClear all policy exceptions
Delete all sessionsDestructiveRemove entire session history
Reset configurationDestructiveReset to defaults (requires setup)
Factory resetVery DestructiveRemove all SCC data

Actions like “Clear cache” execute immediately with just a success toast.

No confirmation required — these operations are always safe to run.

Press p on any action to see exactly what will be affected before executing:

Clear cache
Paths affected:
~/.cache/scc/
Current size: 15.7 KB
  1. Quick cleanup after heavy usage

    Open settings (s), select “Clear cache”, press Enter.

  2. Starting fresh with a new organization

    Open settings (s), select “Reset configuration”, confirm, then run scc setup.

  3. Cleaning up old sessions

    Open settings (s), select “Prune sessions” to keep only the 20 most recent per team.

All TUI actions are also available via CLI using scc reset:

Terminal window
# Clear cache
scc reset --cache
# Clear contexts
scc reset --contexts
# Prune sessions (keeps newest 20 per team)
scc reset --sessions
# Factory reset (interactive confirmation)
scc reset --all
# Non-interactive for scripts
scc reset --cache --yes

Troubleshooting

Common issues and how to fix them. Get help →