All shelves / Mods / Review
textfold
By chenxiachanFormerly PaperFold
textfold is a Claude Code review mod by chenxiachan.
Folds each reply to one of five levels, from every word to the answer in one sentence, picked with a key or from the row above the prompt.
Draws
Install
The marketplace name is textfold.
claude plugin marketplace add chenxiachan/textfold claude plugin install textfold@textfold
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.2.3
- License
- Apache-2.0
- Repo stars
- 465
- Last change
- 2026-10-20
What it can reach
- Draws in the session
Needs Claude Code 2.1.287 or later, in the terminal or in the Code tab of the Desktop app. The levels are Full, Brief, Points, Outline, and Gist, on the keys 1 to 5. Type the digit while the prompt is empty, or pick a level in the row above the prompt. A folded reply says how much of it you are seeing, and 1 brings back every word. A reply under about 80 words, or one a fold would barely shorten, always shows as written. A session starts at Full, and Starting level in /config changes that. Nothing is paraphrased. TextFold adds a short section to the system prompt that asks Claude to lead with the point, in every reply, paragraph, and list item, and a fold keeps what Claude put first. There is no second model and no summary. The author says the section changes the order of what Claude writes, not what it says or how much, and to check on your own work that Claude does it as well as before. Turning the mod on changes the system prompt, so the prompt cache starts over once in that session. The VS Code extension and claude -p draw nothing of a mod. There the section still applies, and replies are not folded. A checkout starts with claude --plugin-dir textfold/plugins/textfold.
The marketplace name is textfold. TextFold, formerly PaperFold, folds papers, web pages, and documents on your computer, and this is its Claude Code mod. The marketplace source is ./plugins/textfold. The folded replies are why this page files it under review. hide-diffs-gixxy22 swaps a long diff for a one-line summary of the file and the lines changed. prismantis redraws Claude's replies with colored tables, code, and charts. This one folds the reply text itself, keeping the sentences Claude put first.
Demo
What it hooks into
prompt.composeWhile you write a promptui.renderDraws into the sessionAssistantMessageAbovePrompt
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- chenxiachan
- Category
- Review
- Marketplace
- textfold
- Folder
- plugins/textfold
- Version
- 0.2.3
- License
- Apache-2.0
- Repo stars
- 465
- Last change
- 2026-10-20
- Language
- Python
- Files
- 9