Claude Code mod
result-fold
Folds a shell result of more than 40 lines to its first and last 15 in the transcript; the model still reads all of it
Install
/plugin marketplace add MatheusChiodi/cockpit
/plugin install result-fold@cockpitMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L1Reads: reads mod state
- Draws in
ToolResult- Hooks
ui.render
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- MatheusChiodi/cockpit
- Folder
mods/result-fold- Marketplace
cockpit- Author
- Matheus Chiodi
- Type
- Workflow mods
- License
- MIT
- Last updated
- 18 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is result-fold?
Folds a shell result of more than 40 lines to its first and last 15 in the transcript; the model still reads all of it It is a mod for Claude Code, from MatheusChiodi/cockpit on GitHub.
What can the result-fold mod access?
Its widest reach is "reads" (reads mod state). It draws in ToolResult. Like any mod, it runs with your permissions.
How do I install result-fold?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add MatheusChiodi/cockpit and then /plugin install result-fold@cockpit.
Is result-fold popular?
MatheusChiodi/cockpit has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 18 October 2026.
More workflow mods
reply-language
1MatheusChiodi/cockpit
Makes Claude always answer in the language set in the Cockpit hub, keeping code and commands in the original
retry-status
1MatheusChiodi/cockpit
Status line counting how many times in a row the same command has failed, until it passes or another fails
regex-test
1MatheusChiodi/cockpit
/re tests a regular expression on a text and lists each match with its position and capture groups
run-script
1MatheusChiodi/cockpit
/run runs a package.json script with the project's package manager and prints the exit code and last lines
read-cap
1MatheusChiodi/cockpit
Reads only the first 600 lines of a file over 150 KB and tells Claude how to continue with offset
slow-call-status
1MatheusChiodi/cockpit
Status line with the tool call that has been running longest right now, once it passes 15 seconds
Browse the most popular Claude Code mods, all workflow mods, or the skills and MCP server directories.