I need to give it this whole folder and I'm feeding it one file at a time.
What you do now
Open each file, select all, copy, switch to the agent, paste, type the filename above it, go back for the next one.
What happens instead
Select the folders in Finder, right-click once, and every file inside them is on the clipboard as one blob with a token count.
What it costs you
17× a day · 150s by hand, 5s with Chute · 41.1 min a day
The same thing from the terminal
The command and the right-click do the same job. The app is worth having because you do it where the files already are, without leaving Finder or typing a path. Both are free and MIT.
Download the appFree and MIT. Or
brew install avaluev/tap/chute