What is session-modes?
session-modes is a Claude Code mod by cpeaustriajc that /mode readonly, research, prototype and build: a working mode enforced for the whole session. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | cpeaustriajc |
| Repository | cpeaustriajc/cj-stack |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | High risk (48/100) |
| Rank | #2,952 of 5,272 Claude Code mods; #1,227 in Interface |
| Last commit | 2026-10-18 |
| Hooks | 8 events |
| Sees | every prompt, every tool call, subagent spawns |
| Draws on | AbovePrompt |
Is session-modes safe to install?
session-modes 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 |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.id | |
$.state.get | |
$.state.set | |
$.tool.register | drives Claude |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install session-modes?
- 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/cpeaustriajc/cj-stack claude plugin validate ./cj-stack/mods/session-modes
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add cpeaustriajc/cj-stack && claude plugin install session-modes@cj-stack
Or ask Claude to set it up
Paste this into Claude Code and it installs session-modes for you:
Install the "session-modes" Claude Code mod from https://github.com/cpeaustriajc/cj-stack/tree/main/mods/session-modes. Run claude plugin validate on it first and show me what it can access before you enable it.
More from cpeaustriajc/cj-stack
This repository has at least 9 Claude Code mods on MCPMods.
- denial-explainer: Says which rule blocked an action in auto mode and the allow rule that would cover it (Low risk)
- work-pane: Shows test runs in a pane. (Low risk)
- bash-trim: Cuts a long successful Bash output to its first 2,000 and last 3,000 characters with a count of the cut lines; read-like (Low risk)
- git-guard: Denies a Bash git command that loses work Claude Code does not already guard: git branch -D, a force push to main or mas (Low risk)
- hone-nudge: Suggests /hone when you corrected Claude during a cj-stack skill run (Review before installing)
- kill-guard: Denies a Bash command that stops processes by name or by port, because it can also stop another checkout's dev server; a (Low risk)
- linear-gate: Blocks Linear writes off shift; on shift, leaves them to your permission mode and asks only before a delete or cancel. (Low risk)
- loop-brake: Ends a turn after N forced Stop-hook continuations so a looping goal hook cannot burn your usage (High risk)