Claude Code mod

collapse-work

Folds a finished turn's work under a "Worked for" row, leaving the final answer, like Codex

1 starsWorkflow modsValidates on Claude Code 2.1.316 Source

Install

From source
git clone https://github.com/FrogAi/Xenopus.git
claude --plugin-dir ./Xenopus/claude/mods/collapse-work

The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.

What it can access

Reach
L0Draws and remembers: persists state, draws
Sees
classic hooks
Draws in
UserMessageAssistantMessage|ToolUse|ToolResult|ToolGroup|TurnDurationAssistantMessage
Hooks
classic.SessionStartturn.startsession.appendturn.completeui.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.
Claude Code docs

Details

Repository
FrogAi/Xenopus
Folder
claude/mods/collapse-work
Author
FrogAi
License
Unlicense
Last updated
13 October 2026

FAQ

What is collapse-work?

Folds a finished turn's work under a "Worked for" row, leaving the final answer, like Codex It is a mod for Claude Code, from FrogAi/Xenopus on GitHub.

What can the collapse-work mod access?

Its widest reach is "draws and remembers" (persists state, draws). It sees classic hooks. It draws in UserMessage, AssistantMessage|ToolUse|ToolResult|ToolGroup|TurnDuration, AssistantMessage. Like any mod, it runs with your permissions.

How do I install collapse-work?

Clone FrogAi/Xenopus and start Claude Code with --plugin-dir pointing at the mod's folder (claude/mods/collapse-work).

Is collapse-work popular?

FrogAi/Xenopus has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 13 October 2026.

More workflow mods

clear-resume

1

m4cd4r4/clear-resume

Write a handover when a Claude Code session gets long, type /clear, and the next session picks up where you left off with nothing to paste.

Workflow mods/plugin install

comfyui-local

1

anderson-spider/claude-mods

Generate images, video and audio, keep workflows in your library, and manage node packs and restart the server on your self-hosted ComfyUI (and ComfyUI-Manager) through its HTTP API, using the url plugin option; unofficial, with slash commands ported from Comfy-Org/comfy-skills.

Workflow mods/plugin install

cleaner-tool-lines

1

macwilk/cc-extensions

Draws each tool call as one line, so the conversation reads straight through. Click a line to open the call.

Workflow mods/plugin install

compact-jev

1

edoproch/compact-jev

/compact-jev: Jev-guided verbatim compaction for Claude Code, called through Vercel AI Gateway. Never replaces /compact or auto-compaction.

Workflow mods/plugin install

classify-hint

1

corrupt952/dotfiles

Classifies the user's prompt with Haiku against a few yes/no questions in one call and attaches a rough, non-binding hint for the main agent

Workflow mods

decision-compaction

1

zchee/claude-code-mods

Hands back the conversation itself in place of a compaction summary, less the tool calls and results a System One decision model judges no longer needed. The model can be TypeSafe Jev, Cloudflare Clef, Codiv OpenJev, Perplexity pplx-decider, OpenAI GPT-6 Luna, or Jev through OpenRouter, decisions-api.dev or decisionapi.net.

Workflow mods/plugin install

Browse the most popular Claude Code mods, all workflow mods, or the skills and MCP server directories.