ClaudeCodeMod

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.

In your shell
claude plugin marketplace add chenxiachan/textfold
claude plugin install textfold@textfold
Open the repo

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

From the author's repo.

What it hooks into

  • prompt.composeWhile you write a prompt
  • ui.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
Repo
chenxiachan/textfold
Folder
plugins/textfold
Version
0.2.3
License
Apache-2.0
Repo stars
465
Last change
2026-10-20
Language
Python
Files
9

Other mods in Review

quality-gateEigenwiseAfter each turn with edits, measures the complexity of the functions Claude changed, and draws it above the prompt with the cost and test status.image-previewmidudevOpens a pasted [Image #N] by the pointer when you hover it, in a small window or drawn in the terminal, and a click opens the system's viewer.time-machineDiegoMartySnapshots the working tree with git at each turn that changes files, Bash included, and /timeline opens a pane to move the files to any state and back.image-peekkaranb192Shows a pasted image while the text cursor sits on its [Image #N] marker, in a large pane on a wide window or above the prompt, on macOS in Ghostty.quiz-afterDannyMac180When Claude finishes a task that changed something, draws a quiz of two or three questions about the change above the prompt, each with a button for the answer.tool-cardsbradtraversyReplaces each tool-use row with a card: the tool's icon, an action title, its state, and the time, with the output folded behind Details until a call fails.decoratedthomas-whitaker1Teaches Claude a small tag language and draws it in the reply: colored badges, callouts, bar and braille charts, heat maps, flow and sequence diagrams, and SVG.cc-intelligent-uirazorback16Draws each answer from Claude as a typeset picture made with Typst: rendered Markdown, LaTeX math, charts, and diagrams, in kitty, Ghostty, or iTerm2.image-peekchicioDraws a tile above the prompt for each image you paste, real pixels in kitty and Ghostty and block characters in Warp, and opens one full size in Quick Look.windbg-paneglslangDraws a WinDbg-style pane from windbg-mcp tool calls as they happen: disassembly with the stop marked, registers, stack, memory, breakpoints, and commands.slint-previewtilladamOpens a live preview of a Slint UI file in a pane beside the conversation, reloads it when you save, and lists build errors under the last good UI.prompt-polishjheroorehjRewrites your prompt with the prompting guide for the session's model before it is sent, and shows the polish beside the original to apply, retry, or keep.
All 145 in Review