Who it is forA developer who asks Claude Code for commit messages or other short deliverables and wants clean text to paste.
The problemChat replies often wrap a requested message in extra commentary, so you have to trim it before using it.
The outcomeWhen you ask for a message or commit, Claude returns just that deliverable, which the repo's benchmark reports for 88% of tasks.
What you need first
- Claude Code installed and working
- A terminal to run the install commands
- Internet access to GitHub for the plugin or the curl download
Steps
- Install the plugin with
/plugin marketplace add alexgreensh/attention-spanand/plugin install attention-span - Set Attention-kind as the Output style under
/config - Ask Claude for a commit message for your staged changes
- Paste the reply as-is and check that no chat text surrounds it
Prompt for your agent
Using the repo alexgreensh/attention-span, install the attention-span plugin in Claude Code with Attention-kind as the Output style. Then ask Claude to write a commit message for <describe your change>. Expected output: only the commit message, with no wrapper text. Verify that the reply contains nothing except the message.
Caveat. The 88% clean-deliverable figure comes from the repo's own benchmark, so your results may differ with other tasks and models.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page