What is cs?
cs is a Claude Code mod by hex. cs's in-session mod: the rotate band above the prompt, forced rotation past CS_ROTATE_FORCE_CTX, and the wrap key. It is listed under Interface and has 50 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | hex |
| Repository | hex/claude-sessions |
| Popularity | 50 GitHub stars |
| Category | Interface |
| Security | High risk (48/100) |
| Rank | #238 of 5,272 Claude Code mods; #95 in Interface |
| License | MIT |
| Last commit | 2026-10-17 |
| Stars this week | +3 |
| Hooks | 7 events |
| Sees | every prompt, the finish skill |
| Draws on | AbovePrompt, Pane |
Is cs safe to install?
cs scores 48/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.command.run | drives Claude |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.prompt.submit | drives Claude |
$.session.compact | drives Claude |
$.session.cwd | |
$.session.id | |
$.session.usage | |
$.ui.ask | draws interface |
$.ui.close | draws interface |
$.ui.invalidate | draws interface |
$.ui.open | draws interface |
How do I install cs?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/hex/claude-sessions claude plugin validate ./claude-sessions/mods/cs
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/hex/claude-sessions && claude --plugin-dir ./claude-sessions/mods/cs
Or ask Claude to set it up
Paste this into Claude Code and it installs cs for you:
Install the "cs" Claude Code mod from https://github.com/hex/claude-sessions/tree/main/mods/cs. Run claude plugin validate on it first and show me what it can access before you enable it.
More from hex/claude-sessions
This repository has 3 Claude Code mods on MCPMods.
- cs-mermaid: Draws mermaid flowcharts in replies inline, as coloured blocks and lines, and tells the model they draw. (Low risk)
- cs-update: Release notes for a pending cs update, once per launch, with 1 to install it in place; /cs-update reopens the pane. (Review before installing)