Skip to content
86% off$349 $48.86code BF2026

Docs

Sledbot docs30 pages

Insights, Resources and Cleanup in Sledbot

See where Sledbot's token and cost numbers come from, which agents are counted, how to export usage, spot stuck agents, free ports and clean up disk space.

Updated 7 min read

On this page

This page covers three Sledbot tools. Sledbot Insights shows token use, cost and agent activity. Resources shows what is using CPU, memory and ports. Cleanup finds disk space that Sledbot and your agents have used and moves it to the Trash.

Sledbot Insights: cost, tokens and activity

You can open Insights in two ways:

  • Full view: click Insights in the sidebar.
  • Popover: press ⇧⌘I (Shift-Command-I) or click the Insights button in the toolbar. The popover shows Weekly cost (or Daily cost…), Top models and Accounts. Click Open Insights to go to the full view.

The full view has these tabs: Overview, Usage, Models & Providers, Agents & Teammates, Uptime, Sessions and Cleanup.

To change the time range, pick Today, Yesterday, 7 days, 30 days, This month, Last month, All time or Custom.

Sledbot Insights Overview tab with the 7-day range picker, Cost, Tokens and Active agent time, and cost by model
Insights shows cost, tokens and activity for the range you pick.

What the numbers mean

StatWhat it shows
Cost, TokensSpend and token totals for the selected range
Active agent time, Sessions, TurnsHow much agent work ran
Needed youHow often an agent waited for you
Over timeA chart of the range
Tokens by Model / Provider / Agent / Machine / SourceBreakdowns of token use
Token kinds, Cache hit rateHow your tokens split by kind, and how often the cache was hit
Cost per integrated job, First-try pass rate, Review per integrated job, Reverted within 7 daysDelegated job outcomes
UptimeSled Core restarts and machine disconnects

Exact costs and estimates

Each cost is either exact or an estimate. Estimates are calculated from list prices in the models.dev model catalogue, so they can differ from what your provider actually bills you. When you need the real figure, use your provider's billing page.

Sledbot ships a snapshot of the models.dev catalogue and refreshes it weekly from https://models.dev/api.json. Setting the environment variable SLED_NO_NETWORK=1 stops that refresh. There is no switch for this in the app.

Two other places show usage:

  • Today ▸ Usage shows All plans available, or which account is at its limit and when it resets, plus API spend today.
  • Settings ▸ Accounts shows each account's tokens today and today's cost.

Which agents' usage is counted

Insights reads these sources:

SourceCounted
Sledbot's native agent (sled chat, native-runtime teammates)Yes
Delegated jobsYes
Claude CodeYes, from its local logs
Codex CLIYes, from its local logs
OpenCodeYes, from its local logs
Every other CLI agent (Gemini CLI, GitHub Copilot CLI, Cursor CLI, Amp, Goose, Aider and the rest)No

Sledbot reads those local logs without changing them, and it never reads agent credentials. The per-account usage numbers come from Claude Code and Codex session logs on disk.

If you run an agent that isn't counted, its tokens and spend are missing from every Insights total. Use that agent's own usage reporting instead.

Exporting usage data

In Insights, click CSV… or JSON…. The export is saved to insights/exports/ inside Sled Core's state folder, which is normally ~/Library/Application Support/Sledbot/core/default/.

You can get the same data from a terminal with the sled command line tool. Every Sledbot terminal already has it; to use it in other terminals, see the sled command line.

This shows the last 7 days of usage, broken down by model:

bash
sled stats --range 7d --by model
  • --range takes today, yesterday, 7d, 30d, month, lastMonth, all or <n>d.
  • --by takes model, provider, agent, account, space, machine, source, teammate or job.
  • --on <machine> reads a remote machine, and --json prints JSON.

This writes usage records to a CSV file (use --format json for JSON). Run sled stats export --help to see how to choose the range:

bash
sled stats export --format csv --out ~/Desktop/sledbot-usage.csv

Two related commands:

  • sled stats rescan indexes the local agent logs again right away.
  • sled stats limits shows plan limits per account and how full each agent's context is.

Health: stuck, rate-limited and crashing agents

Sledbot watches running agents for these problems:

IssueWhen it's raised
"<who> looks stuck"The agent is working but has had no output for 10 minutes and uses no CPU
"<who> hit a rate limit"The provider rate-limited it
"<who> keeps hitting provider errors"2 or more provider errors
"<who> keeps crashing"2 non-zero exits within 2 minutes

Issues show in the Health section of Today, which only appears when something is wrong, and as a banner on the agent's header. Each issue offers these fixes:

  • Send a nudge
  • Restart with resume, which restarts the agent and continues its conversation where possible.
  • Switch account, which opens Settings ▸ Accounts.
  • See what happened
  • Set aside, which hides the issue until it happens again.

Optional supervisor

To have Sledbot nudge stalled agents for you, open Settings ▸ Agents ▸ Supervisor and turn on Watch running agents. It is off by default.

  • The supervisor checks every 180 seconds.
  • It treats a run as stalled after 600 seconds.
  • It sends up to 3 nudges.
  • Allow it to stop a run is on by default. Turn it off if the supervisor should only nudge.

Resources: CPU, memory, ports and Docker

You can open Resources in two ways:

  • Full screen: click Resources in the sidebar.
  • Popover: press ⌥⌘R (Option-Command-R).

Use the machine picker to switch between This Mac and your remote machines.

Resources shows:

  • CPU, memory and memory pressure.
  • Usage split into Agents & terminals, Sled Core & holders, and Language servers & jobs.
  • The processes in each terminal, plus processes Left running.
  • Listening ports and Docker.
Sledbot Resources screen listing listening ports with Free and Open localhost actions
ActionWhat it does
QuitSends SIGTERM so the process can exit cleanly
Force QuitSends SIGKILL, which ends the process immediately
FreeFrees a listening port after you confirm "Free port N?"
Stop (Docker)Stops a container
Open localhost:NOpens that local port
Copy PIDCopies the process ID

From the command line, sled top shows what is using CPU, memory and ports, by terminal, with the heaviest processes and Docker:

bash
sled top --limit 10
  • Add --on <machine> to check a remote machine.
  • Add --no-docker to skip Docker.
  • Add --json for machine-readable output.

Quick clear

Quick clear is part of Resources. It gathers "Stale processes, ports, worktrees and caches on <machine>" into two groups, Memory and ports and Disk.

Sledbot Quick clear sheet with agent leftovers, idle containers and disk findings to clear
  1. Review the items Sledbot found.
  2. Click Clear N items.
  3. For anything Quick clear doesn't cover, click More in Clean up… to open the full Cleanup view.

Cleanup categories and automatic cleanup

Cleanup finds disk space used by Sledbot and your agents.

  • On this Mac, it moves items to the Trash.
  • On remote machines, it moves them to ~/.sled-trash/<date>/<run>/ on that machine.

Run a cleanup

  1. Open Insights and choose the Cleanup tab. You can also right-click a space in the sidebar and choose Clean up worktrees….
  2. Click See what can be cleaned up, then Scan. Scanning only measures; nothing is moved yet.
  3. Click Select recommended, or tick items yourself.
  4. Click Move to Trash. The button shows the total size.
Sledbot Cleanup tab after a scan: categories with sizes, recommended items selected and the Move to Trash button

Cleanup sorts what it finds into these categories:

  • Sledbot worktrees
  • Delegated job copies
  • Job snapshot stores
  • Checkpoints and private refs
  • Exited terminals
  • Sledbot logs and caches
  • Project build files
  • Git maintenance
  • Developer caches
  • Agent CLI transcripts (opt-in, with Include agent transcripts (Claude Code, Codex))
  • Sledbot trash

Re-measure everything measures every category again.

When you confirm, two extra options are available:

  • Also delete the branches of merged worktrees (git branch -d)
  • Run git gc --prune=now afterwards to free the space now

Danger items are never selected in bulk; you have to select them yourself.

Delete permanently… skips the Trash. You can't get those files back. Use Move to Trash unless you are sure.

Automatic cleanup

Automatic cleanup runs once a day. It only handles Safe items, and it moves them to the Trash.

Only one rule is on by default: Purge ~/.sled-trash after N days, set to 7 days. The other rules are off until you turn them on:

RuleDefault
Merged worktrees7 days
Job copies after integration14 days
CheckpointsKeep the last 50
Exited terminals3 days
Logs14 days
Snapshot stores7 days
Git-ignored build folders30 days

Clean up from the command line

This lists what can be cleaned without moving anything:

bash
sled clean --dry-run

Other flags:

  • --on <machine>, --category, --space and --id narrow what gets cleaned.
  • --all-safe selects the Safe items.
  • -y (or --yes) skips the confirmation.
  • --delete-merged-branches and --gc match the confirm options in the app.

Run sled clean --help to see every flag.

--delete removes items permanently instead of moving them to the trash.

Agents running in Sledbot terminals can scan, but they can't clean. Only you can.

Teammate worktrees

Teammate threads set to One per thread keep their worktrees in a .sled-worktrees/ folder next to your repo. The Sledbot worktrees category scans .sledbot/worktrees/ inside the repo, so these teammate worktrees may not appear in Cleanup. If your disk is filling up, check that sibling folder yourself.

Troubleshooting

  • An agent's spend is missing from Insights. Only Sledbot's native agent, delegated jobs, Claude Code, Codex and OpenCode are counted. Other CLI agents don't appear.
  • Recent sessions aren't showing yet. Run sled stats rescan to index the local agent logs again.
  • A cost doesn't match your invoice. Estimates use models.dev list prices. Your provider's bill is the real figure.
  • A pane says it needs a newer Sled Core. Open Settings ▸ General ▸ Sled Core and click Restart core, or run sled update. Update the app first: sled update doesn't download anything itself.
  • The disk didn't get smaller after a cleanup.
    • On this Mac, items stay in the Trash until you empty it.
    • On remote machines, items wait in ~/.sled-trash until the Purge ~/.sled-trash after N days rule removes them (7 days by default).
    • Removed git objects may need the Run git gc --prune=now afterwards option before the space is freed.
  • Stalled agents aren't nudged automatically. The supervisor is off by default. Turn on Watch running agents in Settings ▸ Agents.

Every app.
One purchase.