CodeShellManager CLAUDE.md

Repository instructions for CodeShellManager, a Windows desktop app that hosts several Claude Code and other command-line sessions in tabs or a grid. It includes session search, alerts, Git status, and saved sessions.

In plain words
What is it for?
Use them to build or run the WPF app, choose command-line flags, work from the repository root, and handle Visual Studio hot-reload crashes.
Why use it?
They provide the commands, system requirements, and known .NET 10 debugging workaround needed to build and run the app reliably.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/umage-ai/codeshellmanager/claude-md
Clone the repo
git clone --depth 1 https://github.com/umage-ai/CodeShellManager
Per session 9,292 This file is loaded in full into every session.
When invoked 9,292 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.09292 $0.09292
Opus 5 $0.04646 $0.04646
Sonnet 5 $0.01858 $0.01858
Haiku 4.5 $0.00929 $0.00929

Measured 2d ago against content hash 1f616f936bc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

CodeShellManager CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 442 lines

How it starts

The opening of the file, as written. The whole thing — 442 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CodeShellManager

A WPF .NET 10 multi-terminal host for Claude Code (and other CLI tools). Runs multiple pseudo-terminal sessions in a tabbed/grid layout with full-text search, alert detection, git status, and session persistence.

Build & Run

# From repo root
dotnet build src/CodeShellManager/CodeShellManager.csproj
dotnet run --project src/CodeShellManager/CodeShellManager.csproj

# Or open CodeShellManager.slnx in Visual Studio / Rider

Requirements: .NET 10 SDK, Windows 10/11 (uses ConPTY + WebView2)

Visual Studio: Hot Reload disabled

Properties/launchSettings.json ships with "hotReloadEnabled": false, and the csproj sets <MetadataUpdaterSupport>false</MetadataUpdaterSupport> in Debug. Both are workarounds for a System.ExecutionEngineException that crashes the app on F5 under .NET 10.0.8 + VS 18 — Microsoft.Extensions.DotNetDeltaApplier.dll faults during its own startup before any managed code runs. Ctrl+F5 (Start Without Debugging) is unaffected either way. Remove both when the runtime bug is fixed upstream.

Command-line flags

Flag Effect
--clean Debug isolation mode — see below.

--clean (parsed in App.OnStartup, exposed as App.CleanStart):

  • MainWindow.OnLoaded skips the restore loop and clears the in-memory SessionManager — both sessions AND groups — so any new work in the run starts from a blank slate.
  • MainViewModel.SaveStateAsync short-circuits — nothing is written to state.json for the entire run. Window bounds, layout changes, settings tweaks, and any sessions created during the clean run are all discarded on exit.
  • The user's prior state.json survives the run untouched, so this is the safe way to test from a blank slate.

Architecture

Key layers

PTY (ConPTY) → PseudoTerminal → TerminalBridge → WebView2 (xterm.js)
                                     ↓
                           OutputIndexer → SQLite FTS5
                           AlertDetector → SessionViewModel.RaiseAlert()

Read the full file on GitHub · 442 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 442 lines · 9,292 tokens per session scan A 1f616f936bc3

Subscribe to this mod's changes

CodeShellManager CLAUDE.md is an instructions file published in the GitHub repository umage-ai/CodeShellManager (21 stars, last pushed 3d ago), licensed MIT. It adds 9,292 tokens to every session, about $0.0465 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

DevoxxGenieIDEAPlugin GEMINI.md

Instructions for devoxx/DevoxxGenieIDEAPlugin, a project described as: DevoxxGenie is an agentic plugin for IntelliJ IDEA that uses local LLM's (Ollama, LMStudio, GPT4All, Jan and Llama.cpp) and Cloud based LLMs to help review, test, explain your project code. Latest version now also supports Spec Driven Development…

devoxx/DevoxxGenieIDEAPlugin · 257 tokens

packmind packmind-frontend-error-management.instructions.md

Instructions for PackmindHub/packmind: A global error boundary is already configured at the root level (in root.tsx) that automatically catches all page crashes, 404s, and loader failures. This standard defines when and how to use explicit... .

PackmindHub/packmind · 302 tokens

Ctxo CLAUDE.md

Instructions for alperhankendi/Ctxo, covering claude.md — ctxo, project overview, quick reference, dev (pnpm workspace) and usage (consumer).

alperhankendi/Ctxo · 5,885 tokens

apex-accelerator no-interactive-shell.instructions.md

Prevents interactive shell prompts and long-output terminal replays from being injected into chat. Forbids -i flags on mv/rm/cp, read -p, and confirm prompts (incl. inside bash -c '...'). Pipe long output to files. Scoped to chat-context-loaded files; skill references/ and templates/ are exempt because they hold…

jonathan-vella/apex-accelerator · 1,396 tokens

apex-accelerator iac-bicep-best-practices.instructions.md

Bicep-specific IaC best practices for Azure templates. Security baseline, naming, AVM mandate, anti-patterns.

jonathan-vella/apex-accelerator · 957 tokens

llm-ide-rules pytest-integration-tests.instructions.md

Instructions for iloveitaly/llm-ide-rules, covering pytest integration tests and example integration test.

iloveitaly/llm-ide-rules · 1,299 tokens