cs

cs is a Claude Code mod by hex. cs's in-session mod: the band above the prompt, the rotate and wrap keys under it, and forced rotation past CS_ROTATE_FORCE_CTX.

Updated 2026-11-24

What is cs?

cs is a Claude Code mod by hex. cs's in-session mod: the band above the prompt, the rotate and wrap keys under it, and forced rotation past CS_ROTATE_FORCE_CTX. It is listed under Interface and has 57 GitHub stars.

TypeClaude code mod
Authorhex
Repositoryhex/claude-sessions
Popularity57 GitHub stars
CategoryInterface
SecurityHigh risk (44/100)
Rank#341 of 9,397 Claude Code mods; #140 in Interface
LicenseMIT
Last commit2026-11-24
Stars this week+2
Hooks9 events
Seesevery prompt, the finish skill
Draws onUserMessage, AbovePrompt, SessionMode, AskUserQuestion, PromptHint

Is cs safe to install?

cs scores 44/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 2 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.list
$.command.register
$.command.rundrives Claude
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.compactdrives Claude
$.session.cwd
$.session.id
$.session.usage
$.ui.askdraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.resolvedraws interface
$.ui.scrolldraws interface
$.ui.toastdraws interface

How do I install cs?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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 6 Claude Code mods on MCPMods.

  • cs-filter-chat: Restyles the chat: your messages and Claude's replies, and nothing of the work between them. Off by default; the band's (Review before installing)
  • cs-images: Draws pictures from absolute file paths inside replies, as pixels or coloured blocks. (Review before installing)
  • cs-mermaid: Draws mermaid flowcharts in replies inline, as coloured blocks and lines. (Low risk)
  • cs-panel: /cs opens a pane of cs's settings, its mods' /config rows and its own CS_* settings, and changes one per machine or for (Review before installing)
  • 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)