stealth-code: Instructions file for Claude Code

CLAUDE.md

stealth-code CLAUDE.md is an instructions file for Claude Code from suxrobGM/stealth-code. It costs 711 tokens per session, scanned A, original, MIT.

Repository instructions for StealthCode, a Windows desktop app that runs AI coding command-line tools in a secure terminal window hidden from screen capture.

In plain words
What is it for?
Building, running, publishing, and modifying the StealthCode application and its terminal, screen-capture, and audio-capture components.
Why use it?
They explain the project's build commands, architecture, platform limits, and coding conventions before development work begins.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code; mentions Codex; mentions Gemini CLI.

This is suxrobGM/stealth-code's own configuration. It tells Claude Code how to work on stealth-code itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything stealth-code configures →

Reuse

Borrowing it

Nothing to install: this file belongs to suxrobGM/stealth-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/suxrobGM/stealth-code/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/suxrobGM/stealth-code

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stealth-code CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/suxrobgm/stealth-code/claude-md/github.svg)](https://agentmods.dev/instructions/suxrobgm/stealth-code/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/suxrobgm/stealth-code/claude-md"><img src="https://agentmods.dev/badge/instructions/suxrobgm/stealth-code/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for stealth-code CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/suxrobgm/stealth-code/claude-md"><img src="https://agentmods.dev/badge/instructions/suxrobgm/stealth-code/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 711 This file is loaded in full into every session.
When invoked 711 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00711 $0.00711
Opus 5.5 $0.00284 $0.00284
Sonnet 5.5 $0.00142 $0.00142
Haiku 4.5 $0.00071 $0.00071

Measured 1mo ago against content hash c4e6f8d5f107, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stealth-code 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 1mo 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 · 61 lines

How it starts

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

StealthCode

A Windows desktop app (Avalonia UI) that runs AI coding CLIs (Claude Code, Codex, Gemini CLI) in a secure, transparent, always-on-top terminal window invisible to screen capture.

Build & Run

dotnet build src/StealthCode/StealthCode.csproj
dotnet run --project src/StealthCode/StealthCode.csproj

Publish single executable (via Launcher):

cd scripts
.\publish.ps1

No test projects exist yet.

Architecture

  • Framework: .NET 10, Avalonia 12.1, PublishAot, full trim
  • Platform: Windows only
  • Pattern: MVVM with CommunityToolkit.Mvvm (source generators)
  • DI: Module registrar pattern — services.AddTerminal(), services.AddScreenCapture(), services.AddAudioCapture(). Stateful services are singletons. Stateless services are static classes.
  • Messaging: WeakReferenceMessenger with explicit Register<T> (no RegisterAll — AOT incompatible)
  • Terminal: xterm.js in NativeWebView (WebView2), bridged via ConPTY

Project Structure

src/
  StealthCode/                  # Main UI app (composition root, MVVM, orchestrators)
  StealthCode.Terminal/         # PTY library (ConPTY via Quick.PtyNet)
  StealthCode.ScreenCapture/    # Win32 screen capture (GDI BitBlt/PrintWindow, PngWriter)
  StealthCode.Audio/            # WASAPI loopback capture (Win32 interop) + Whisper.net transcription
  StealthCode.Updater/          # GitHub release checker + self-update downloader
  StealthCode.Launcher/         # Self-extracting AOT launcher
scripts/
  publish.ps1                   # Build + package pipeline

Modules (Terminal, ScreenCapture, Audio) are independent — zero inter-module dependencies. Orchestrator services (CaptureInjectorService, AudioInjectorService) live in the main app and bridge modules with the terminal.

Key Conventions

  • File-scoped namespaces, braces required
  • [ObservableProperty] for bindable properties, [RelayCommand] for commands
  • Private fields: camelCase. Consts/statics: PascalCase
  • Win32 interop uses [LibraryImport] with partial static classes
  • All colors in Themes/Theme.axaml, all styles in Themes/Styles/ (Buttons, Chrome, Inputs, Text, Misc), merged by Themes/Styles.axaml
  • Reusable XAML classes: Button.chrome, Button.chrome.pinned, TextBlock.section-header, TextBlock.field-label, Border.divider, *.form-input
  • Settings, models, and captures stored in %APPDATA%/StealthCode/ via System.Text.Json source gen
  • Code-behind kept minimal — only platform-specific ops
  • Content protection disabled in DEBUG builds

Read the full file on GitHub · 61 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. 1mo ago Changed · +19 tokens per session c4e6f8d5f107
  2. 2mo ago First seen · 61 lines · 692 tokens per session scan A b898d1a432ea

Subscribe to this mod's changes

stealth-code CLAUDE.md is an instructions file published in the GitHub repository suxrobGM/stealth-code (6 stars, last pushed 2d ago), licensed MIT. It adds 711 tokens to every session, about $0.0028 per session on Opus 5.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-31.