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

How to fold long Claude Code replies to a level you can scan with Textfold

Install the TextFold mod so every Claude Code reply shows five levels, from one sentence to full text.

Short answer: Make sure Claude Code is version 2.1.287 or later; then run claude plugin marketplace add chenxiachan/textfold; run claude plugin install textfold@textfold. All steps.

  • Research
  • Intermediate
  • 15 minutes
  • From the README
  • Claude Code

Who it is forA developer who gets long Claude Code replies and wants to read the answer first and expand only what matters.

The problemLong agent replies bury the answer, and reading every word of each reply takes time.

The outcomeEach reply can be shown at the level you press, from the one-sentence gist to every word Claude wrote.

What you need first

  • Python 3.9 or newer, or the TextFold desktop app for macOS or Windows
  • A model you already have, such as Claude Code, Codex, a ChatGPT plan, an API key, or a free OpenRouter setup

Steps

  1. Make sure Claude Code is version 2.1.287 or later.
  2. Run claude plugin marketplace add chenxiachan/textfold.
  3. Run claude plugin install textfold@textfold.
  4. In the prompt, type a digit while the prompt is empty: 5 for the one-sentence answer, 3 for the points, 1 for every word.

Prompt for your agent

Using the TextFold repo at github.com/chenxiachan/textfold, install the Claude Code plugin with `claude plugin marketplace add chenxiachan/textfold` and `claude plugin install textfold@textfold`. Expected output: after a reply, pressing 5 shows the answer in one sentence and pressing 1 shows the full reply. Verify that the Full level matches the reply exactly, since nothing is paraphrased.

Caveat. The plugin needs Claude Code 2.1.287 or later, and the README says short replies under about 80 words always show as written.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for chenxiachan/textfold and "Fold long Claude Code replies to a level you can scan"

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