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
- Make sure Claude Code is version 2.1.287 or later.
- Run
claude plugin marketplace add chenxiachan/textfold. - Run
claude plugin install textfold@textfold. - 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
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer