claude-spend 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/parser.js +1 -1
package/package.json
CHANGED
package/src/parser.js
CHANGED
|
@@ -442,7 +442,7 @@ function generateInsights(sessions, allPrompts, totals) {
|
|
|
442
442
|
id: 'vague-prompts',
|
|
443
443
|
type: 'warning',
|
|
444
444
|
title: 'Short, vague messages are costing you the most',
|
|
445
|
-
description: `${shortExpensive.length} times you sent a short message like ${examples.map(e => '"' + e + '"').join(', ')} -- and each
|
|
445
|
+
description: `${shortExpensive.length} times you sent a short message like ${examples.map(e => '"' + e + '"').join(', ')} -- and each message burned at least 100K tokens just trying to figure out what you wanted. Across all ${shortExpensive.length} messages, that adds up to ${fmt(totalWasted)} tokens total -- spent re-reading your conversation, searching files, and making multiple attempts because the instruction was too vague.`,
|
|
446
446
|
action: 'Try being specific. Instead of "Yes", say "Yes, update the login page and run the tests." It gives Claude a clear target, so it finishes faster and uses fewer tokens.',
|
|
447
447
|
});
|
|
448
448
|
}
|