SmartTrim — AI skill for Claude Code
macOS menu bar app that fixes mangled clipboard text from AI coding assistants.
How to install SmartTrim
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open gmickel/SmartTrim and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What SmartTrim does
macOS menu bar app that fixes mangled clipboard text from AI coding assistants. Removes ghost indentation, unwraps hard-wrapped lines, preserves lists.
Alternatives in AI
- Humanizer — A Claude Code skill that removes signs of AI-generated writing from text, making it sound more natural and hum 11.3k ★
- Vibeproxy — Native macOS menu bar app to use your Claude Code & ChatGPT subscriptions with AI coding tools - no API keys n 3.3k ★
- Claude Usage Tracker — Native macOS menu bar app for tracking Claude AI usage limits in real-time 2.2k ★
README
SmartTrim
macOS menu bar utility that fixes mangled clipboard text from AI coding assistants.
You know the problem: you're deep in Claude Code, Cursor, or Copilot, copy some text, paste it into Slack or Notion, and it's full of ghost indentation, hard line breaks mid-sentence, and weird formatting artifacts.
SmartTrim sits in your menu bar and fixes it automatically.
Features
- Auto-Trim — Monitors clipboard, automatically cleans malformed text
- Manual Trim — Global hotkey (⌘⇧.) or menu bar button
- Smart Detection — Only processes text that looks broken
- Preserves Structure — Keeps lists, paragraphs, and intentional formatting
What It Fixes
| Problem | Example |
|---|---|
| Ghost indentation | text with invisible leading spaces |
| Hard-wrapped lines | This sentence was\nbroken mid-flow |
| Mixed formatting | Bullet points with broken continuations |
Install
Download from [Releases](https://github.com/gmickel/SmartTrim/releases) or build from source:
brew install xcodegen
git clone https://github.com/gmickel/SmartTrim.git
cd SmartTrim
xcodegen && xcodebuild -scheme SmartTrim -configuration Release
Requirements
- macOS 14.0 (Sonoma) or later
- Apple Silicon or Intel
Settings
- Launch at Login — Start automatically
- Auto-Trim — Enable/disable clipboard monitoring
- Hotkey — Customize the manual trim shortcut
Tech
Swift 6, SwiftUI, strict concurrency. No Electron. No dependencies. ~500 lines.
Author
**Gordon Mickel** — [mickel.tech](https://mickel.tech)
Origin
Built as part of [gmickel-bench](https://mickel.tech/gmickel-bench), a project comparing AI coding assistants on real-world task
Related Skills
Gh Review Loop
Fixes the AI reviewer findings on your PR, including the sibling instances the bot missed. Runs your tests bef
Humanizer: Remove AI Writing Patterns
You are a writing editor that identifies and removes signs of AI-generated text to make writing sound more nat
Invisible Text Forensics
Agent Skill that finds and removes invisible Unicode in text: zero-width characters, AI watermarks, bidi overr
Humanizer Claude Skill
Agent skill that removes AI tells from prose and scores how human it reads. Markdown-safe CLI: --check scores
English Refiner
A fast TUI tool for refining English text using LLM via OpenRouter. Fixes grammar while preserving your voice.
Arabic Rtl Fix
🇸🇦 مهارة لأي وكيل AI تُصلح اتجاه النص العربي في تطبيقات Electron — An AI-agent skill that fixes Arabic RTL t
Related Agents
Wiki Scribe
Use this agent when the user gives you something to file (URL, PDF, GitHub link, clipboard text, conversation
Apple UI Designer
Visual and theme redesigns in current Apple design language (macOS 27 / iOS 26+ Liquid Glass, vibrancy, system
macOS UI Designer
Use this agent when you need to plan, design, or evaluate macOS application user interfaces from a UI/UX persp