Skip to content
Back to search

cc-stretch

MarketplaceWorks with Claude CodeGitHub

Stretchtext replies for Claude Code: short by default, each phrase grows in place when you click it

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/pro-vi/cc-stretch with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/pro-vi/cc-stretch'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/pro-vi--cc-stretch/badge.svg)](/listings/pro-vi--cc-stretch)

HTML

<a href="/listings/pro-vi--cc-stretch"><img src="/api/listings/pro-vi--cc-stretch/badge.svg" alt="findsafeskills safety rating" /></a>

Install

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

In a Claude Code session:

/plugin install cc-stretch --marketplace pro-vi/cc-stretch
/tui fullscreen

In the terminal, clicks need Claude Code's fullscreen renderer. `/tui fullscreen` switches to it, restarting and resuming your session. If stretches still show open, see [Limits](#limits). In the Claude desktop app stretches are links: click one to open it in place, click `«` to close it. No setting needed.

To update, run `claude plugin update cc-stretch@cc-stretch` in a shell, or open `/plugin`, find cc-stretch under Installed and choose Update now. As of Claude Code 2.1.302 a plugin from this marketplace updates on its own only once you turn on auto-update for the marketplace in `/plugin`'s Marketplaces tab.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 5 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. {
  2. "name": "cc-stretch",
  3. "owner": { "name": "pro-vi" },
  4. "plugins": [{ "name": "cc-stretch", "source": "./" }]
  5. }
README.md · README · 171 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. # cc-stretch
  2. **Claude writes a lot. Now you can read a little.**
  3. ![A reply in Claude Code growing in place as phrases are clicked](docs/stretch.gif)
  4. Replies arrive short. Click a linked phrase and it grows right where it stands. Click `«` and it
  5. shrinks back. Claude is told which parts you opened, so it doesn't assume you read the rest.
  6. ## Install
  7. In a Claude Code session:
  8. ```
  9. /plugin install cc-stretch --marketplace pro-vi/cc-stretch
  10. /tui fullscreen
  11. ```
  12. In the terminal, clicks need Claude Code's fullscreen renderer. `/tui fullscreen` switches to it,
  13. restarting and resuming your session. If stretches still show open, or replies come with none, see
  14. [Limits](#limits). In the Claude desktop app stretches are links: click one to open it in place,
  15. click `«` to close it. No setting needed.
  16. To update, run `claude plugin update cc-stretch@cc-stretch` in a shell, or open `/plugin`, find
  17. cc-stretch under Installed and choose Update now. As of Claude Code 2.1.302 a plugin from this
  18. marketplace updates on its own only once you turn on auto-update for the marketplace in `/plugin`'s
  19. Marketplaces tab.
  20. ## What to expect
  21. You read about a sixth of what Claude writes. Across 69 real replies from four of my coding
  22. projects, the version you see before clicking was 17% of the words Claude wrote without the
  23. plugin. It carries about two of every three most important points; the rest is one click away. My
  24. replies run long, so if yours are short you will save less. How this was measured, and how to run
  25. it on your own transcripts: [`bench/`](bench/README.md).
  26. ## A silly plugin about a serious idea
  27. In 1967 Ted Nelson described **stretchtext**: text that "stretches, becoming longer, with
  28. replacement phrases, new details and additional clauses popping into place", and shrinks back on
  29. demand, while "the reader remains oriented" (*Hypertext Note 8*). In 1970 he put it like this:
  30. "Gaps appear between phrases; new words and phrases pop into the gaps, an item at a time."
  31. It never caught on. The hard part, as later writers put it, was "how to author the text in the
  32. first place" (Wadge and schraefel, 1999): someone had to write every level by hand.
  33. Language models write every level for free, and they are good at it. So all this plugin does is
  34. plug a 59-year-old idea into a terminal. The idea is Nelson's. Most of the code is Claude's. I
  35. mostly clicked things.
  36. Here is what that looks like. The reply opens with
  37. > A monad is a type that wraps values and lets you chain steps that each return a wrapped value.
  38. and one click on that sentence turns it into this (new words in bold, the way *Dream Machines*
  39. appears to set the words Nelson's own example adds):
  40. > **In programming,** a monad is a **generic** type that wraps values, **and it** lets you chain
  41. > steps that each **take a plain value and** return a wrapped value**, without unwrapping anything
  42. > by hand between the steps.**
  43. The words you already read never move. New ones open up around them, on both sides.
  44. ## Three words
  45. - **skim**: a reply with every stretch closed. What you read by default.
  46. - **full**: the same reply with every stretch open. Everything Claude wrote.
  47. - **read**: what you actually read, the skim plus the stretches you opened.
  48. The point of the plugin is the gap between them. Nelson's word for this was levels; ours is
  49. *progressive attention*. Progressive disclosure is the interface deciding what to hide from you.
  50. Here you spend your attention one phrase at a time, and because nothing you have read moves, you
  51. never lose your place.
  52. ## What else it does
  53. - **Stretches nest.** A long form can hold more stretches.
  54. - **Words to click before a lone period.** When Claude makes a sentence's period the link to more,
  55. or a spot with no words at all, the sentence's words before it open it too, marked like the link,
  56. so there is a phrase to click rather than one cell. This is in the terminal's fullscreen layout;
  57. in the Claude desktop app only the short form is the link.
  58. - **Streaming stays clean.** While a reply streams, stretches already show as their short forms.
  59. - **Letters for the keyboard.** In the terminal's fullscreen layout, alt+↓ or ctrl+↓ puts a letter
  60. over each closed stretch in the latest three replies on screen that hold one (up to 26), and
  61. typing that letter opens it. alt+↑ or ctrl+↑ puts letters over each «, to close. Typing anything
  62. else puts the letters away and is typed as usual. Recalling a prompt (from Claude Code 2.1.300),
  63. sending one, or pressing the same chord again puts them away too. As of Claude Code 2.1.301 a
  64. plugin has no chords of its own, and these are the ones that scroll the diff panel's file list, so
  65. while that panel is open with more than eight files they scroll it instead. As of macOS 26, ctrl+↑
  66. opens Mission Control and ctrl+↓ shows the app's windows by default. If your terminal or system
  67. takes both chords of one action, bind another to `app:diffFileListDown` or `app:diffFileListUp` in
  68. the `Global` context of `~/.claude/keybindings.json`.
  69. - **The marking is yours to pick.** Phrases you can open are underlined by default. In the
  70. terminal's fullscreen layout, run `/cc-stretch:style` and a toolbar above the prompt restyles
  71. every reply as you click: marks (`bold`, `italic`, `underline`, `strikethrough`, `dim`) and a
  72. highlight, either one hex colour or `tinted`, which highlights each closed stretch in the colour its
  73. added words are drawn in once you open it, blended 75% into the background. Under a highlight,
  74. `dim` moves the text toward the highlight. `save` keeps the style in two plugin settings, `marks`
  75. and `highlight`, which as of Claude Code 2.1.302 `/plugin`'s Configure options also change;
  76. `close` puts the toolbar away and drops a style you tried but did not save. In the Claude desktop
  77. app, where cc-stretch draws stretches as links, there is no toolbar.
  78. - **Colours for your screen.** The words an opened stretch adds, and the `tinted` highlight, come
  79. in one palette for a dark screen and one for a light screen. cc-stretch takes the one Claude
  80. Code's theme setting names: a theme whose name starts with `light` or with `dark`. As of Claude
  81. Code 2.1.322 a plugin reads the setting, not the theme the screen shows. So under `auto` or a
  82. custom theme the added words take the theme's own colours, which Claude Code draws for the theme
  83. it shows: they are not softened as a palette's are, and a stretch opened earlier does not fade.
  84. The `tinted` highlight stays dark there, with light text. For a palette under such a theme, set
  85. `palette` to `light` or `dark` in `/plugin`'s Configure options: it wins over the theme setting.
  86. ## Limits
  87. - Clicks work in the terminal's fullscreen layout and in the Claude desktop app. Everywhere else every
  88. stretch shows open, so nothing is hidden: in other apps, and on the terminal's main screen, where a
  89. printed reply can't change. There the first such reply says why. As of Claude Code 2.1.300, some
  90. setups start on the main screen even with fullscreen set: `tmux -CC`, SSH from Windows, or a
  91. machine where an earlier fullscreen start failed. Starting Claude Code with
  92. `CLAUDE_CODE_NO_FLICKER=1` forces fullscreen there.
  93. - In the terminal the plugin draws each paragraph that holds a stretch itself, and as of Claude
  94. Code 2.1.302 its transcript selects nothing in it. A drag there is the plugin's: the text it
  95. crosses is drawn inverse and copied when the button comes up, and it stays within that paragraph.
  96. A phrase you can open acts when the button comes up too, so a drag that starts on one selects.
  97. A double-click there selects and copies the word under it, as Claude Code 2.1.303 does in a
  98. paragraph without a stretch, except that the `#` of an id such as `#12806` stays in the word and
  99. any full stops after it stay out. In the words before a lone period, a double-click copies a word
  100. as well, so a single click there opens its stretch half a second later, once no second click
  101. can follow. A ctrl- or alt-click on an `http:` or `https:` link in such a paragraph opens it, as
  102. Claude Code 2.1.304 does in a paragraph without a stretch; a cmd-click, where the terminal keeps
  103. one, is the terminal's own.
  104. - Claude writes every level up front, so a reply costs about as many tokens as before. You read
  105. less; you don't pay less.
  106. - The `{{short|long}}` markup shows as raw text wherever the plugin isn't loaded.
  107. - On a machine with managed settings, and on a Team or Enterprise account, Claude writes no
  108. stretches: replies stay plain. As of Claude Code 2.1.322 its built-in plugin
  109. `cc-plugin-sec-default` runs there, and it keeps the system prompt out of reach of every plugin a
  110. person installs, so cc-stretch's guide never reaches Claude; a `--debug` log says
  111. `prompt.compose bypassed by cc-plugin-sec-default`
  112. ([#3](https://github.com/pro-vi/cc-stretch/issues/3)). cc-stretch says so in a dim line, at the
  113. prompt after the first reply written that way. It does not send the guide another way, which
  114. would go around that control; only the organization's administrator can change it, in its
  115. managed settings.
  116. - Built on Claude Code's function-hook plugin API, which is early access and changes between
  117. releases. Checked in the terminal on macOS with Claude Code 2.1.300 to 2.1.302 and 2.1.306, and
  118. with 2.1.292 to 2.1.294 in cc-stretch 0.1.0; in the Claude desktop app with 2.1.295 in cc-stretch
  119. 0.2.0. Claude Code before 2.1.300, which the desktop app can still bundle, refused cc-stretch 0.4.0
  120. to 0.5.2 whole ([#17](https://github.com/pro-vi/cc-stretch/issues/17)); 0.5.3 loads in 2.1.293 and
  121. 2.1.295 again, but its clicks in the desktop app there are unchecked. On Linux, a reader reports
  122. clicks working with 2.1.302 in a terminal pane of the Orca app
  123. ([#14](https://github.com/pro-vi/cc-stretch/issues/14)). On Windows 11, a reader reports clicks
  124. working with 2.1.304 in PowerShell ([#1](https://github.com/pro-vi/cc-stretch/issues/1)).
  125. - A terminal session that also has the desktop app attached shows the markup while a reply streams,
  126. because the desktop builds its links from it.
  127. ## Development
  128. ```
  129. npm test # claude plugin validate . && claude plugin test .
  130. npm run typecheck # the benchmark scripts
  131. ```
  132. The launch film in `film/` is made from a real recorded session: `film/take.mjs` drives Claude Code
  133. in a WezTerm pane and records its screen, and `film/compose.mjs` renders the film. Each release from
  134. 0.4.0 on has a film of its own: `film/releases/<version>/` holds its take script and cut, and
  135. `node film/compose.mjs --release=<version>` renders it. Archive pictures in the launch film: photographs of the Hypertext Editing System at Brown University, October 1969, by Gregory Lloyd
  136. (CC BY-SA 4.0, via Wikimedia Commons), and a photograph of Ted Nelson, 2010, by Beatrice Murch
  137. (CC BY 2.0, via Wikimedia Commons). They are not stored in this repo; `film/CREDITS.md` lists each
  138. source, its license and where to fetch it into `film/out/assets/`.
  139. ---
  140. Not affiliated with Anthropic. Clawd belongs to Anthropic; stretchtext belongs to Ted Nelson.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.