Back to browse
Sustn, Turn unused Claude Code tokens into PRs that clean your codebase

Sustn, Turn unused Claude Code tokens into PRs that clean your codebase

by flyingsky·Feb 25, 2026·2 points·0 comments

AI Analysis

●●●BangerSolve My ProblemShip It

Claude Code autopilot for code cleanup — no more wasted subscription tokens.

Strengths
  • Genuinely solves token waste: runs autonomously during off-hours, creates backlog users actually control.
  • Agent-first design: reorderable task list, token budgeting, scheduling, and manual task injection.
  • Keeps everything local to Claude Code instance — no external infrastructure or data leakage.
Weaknesses
  • Very early (author admits it); macOS-only in current form, no Windows/Linux clarity.
  • Entirely dependent on Claude Code availability and pricing; if Anthropic changes tokens, the value prop shifts.
Target Audience

Developers using Claude Code subscriptions who want to automate routine codebase maintenance

Similar To

GitHub Advanced Security (detection only) · Devin Codeium · Continue IDE

Post Description

Hi HN! I use Claude Code a lot, but my token usage is directly proportional to how long I'm willing to sit there prompting it. If I'm not at my desk thinking up tasks and feeding them in, the tokens just go unusued[which i weirdly feel bad about].

over the past couple of days, I hacked on sustn, a tool that scans your repo, figures out what needs fixing on its own (dead code, missing tests, security issues, etc.), and puts it in a prioritized list. Then it just starts working through the list - whether you're there or not.

When it's done with a task, it either creates a PR automatically or waits for your approval - you choose. You can reorder the list to control what gets picked up next, set a schedule (e.g let it run overnight), set a token budget, and add your own tasks manually too.

It runs on your local Claude Code instance, so nothing leaves your machine. Free and open source - https://github.com/Ghvstcode/sustn Still very early but would love feedback.

Similar Projects

AI/ML●●●Banger

ContextSpectre – Reasoning hygiene layer for Claude Code sessions

Cuts 1.5M tokens from bloated Claude sessions with compaction archaeology and cost-per-decision tracking.

Solve My ProblemBig BrainDark Horse
ppiankov
102mo ago
Developer Tools●●Solid

Noodles – Turn any codebase into a diagram with Claude and Tree-sitter

Tree-sitter + agentic flow ~50x faster than raw LLM calls, but codebase visualization is crowded category.

Solve My ProblemShip It
unslop
603mo ago