DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to get commit messages from Claude with no chat wrapper with Attention Span

Use the Attention-kind style so that when you ask for a message or commit, you get just that text.

Short answer: Install the plugin with /plugin marketplace add alexgreensh/attention-span and /plugin install attention-span; then set Attention-kind as the Output style under /config; ask Claude for a commit message for your staged changes. All steps.

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

  1. Install the plugin with /plugin marketplace add alexgreensh/attention-span and /plugin install attention-span
  2. Set Attention-kind as the Output style under /config
  3. Ask Claude for a commit message for your staged changes
  4. 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.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for alexgreensh/attention-span and "Get commit messages from Claude with no chat wrapper"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer