vibeshell CLAUDE.md

Project-specific instructions for VibeShell, a desktop app for connecting to remote computers over SSH and transferring files with SFTP. They explain the project structure, startup commands, and important files.

In plain words
What is it for?
Use them when developing, checking, or debugging VibeShell, especially when locating the React interface, Rust backend, SSH client, sessions, database, or build commands.
Why use it?
They give a coding agent the context needed to navigate and work on the codebase without first reconstructing its architecture.

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/veithly/vibeshell/claude-md
Clone the repo
git clone --depth 1 https://github.com/veithly/vibeshell
Per session 1,411 This file is loaded in full into every session.
When invoked 1,411 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.01411 $0.01411
Opus 5 $0.00705 $0.00705
Sonnet 5 $0.00282 $0.00282
Haiku 4.5 $0.00141 $0.00141

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

Security

Grade A, and why

vibeshell 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 · 115 lines

How it starts

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

CLAUDE.md — VibeShell

What is this project?

VibeShell is a desktop SSH/SFTP terminal application. Think of it as a modern alternative to PuTTY/Tabby/Xshell, built with Tauri 2 (Rust) + React 18 (TypeScript).

Quick start

npx tauri dev                    # Dev mode (hot reload)
npm run build && cargo check     # Verify both sides compile
unset CI CXX CC && npx tauri build --no-bundle  # Release exe

Key files to know

What Where
App entry + layout src/App.tsx
All Tauri commands registered src-tauri/src/lib.rs (invoke_handler)
Backend command implementations src-tauri/src/commands/*.rs
SSH client (russh) src-tauri/src/ssh/client.rs
Session manager src-tauri/src/session/manager.rs
Database schema + CRUD src-tauri/src/storage/database.rs
Data models src-tauri/src/storage/models.rs
Frontend Tauri wrapper src/lib/tauri.ts (safeInvoke)
Zustand stores src/stores/*.ts
Tailwind theme config tailwind.config.js
Tauri config src-tauri/tauri.conf.json

Architecture in 30 seconds

Frontend (React + Zustand) → safeInvoke('command', args)Tauri IPCRust command handler → business logic (SSH/SFTP/DB/tunnel)

Session I/O: mpsc::channel for input, broadcast::channel for output. Terminal uses xterm.js with WebGL renderer.

Database: SQLite via rusqlite. Tables: servers, groups, credentials, tunnel_configs, command_snippets, recordings, settings.

Gotchas & constraints

russh 0.44 (SSH library)

  • client::Handle and Channel are NOT Clone
  • For shared handle access: Arc<tokio::sync::Mutex<Option<Handle>>>
  • For channel I/O: channel.into_stream() then tokio::io::split()
  • Never try .clone() on Handle or Channel — it won't compile

Theme system

  • All colors use CSS custom properties via Tailwind: bg-tokyo-bg, text-tokyo-fg, border-tokyo-bg-hl
  • Available theme colors: tokyo-bg, tokyo-bg-dark, tokyo-bg-hl, tokyo-fg, tokyo-comment, tokyo-selection, tokyo-blue, tokyo-green, tokyo-red, tokyo-yellow, tokyo-magenta, tokyo-cyan
  • Do not use hardcoded hex colors like #1a1b26 — they break theme switching

Read the full file on GitHub · 115 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 · 115 lines · 1,411 tokens per session scan A 565ff95c9ace

Subscribe to this mod's changes

vibeshell CLAUDE.md is an instructions file published in the GitHub repository veithly/vibeshell (76 stars, last pushed 6d ago), licensed MIT. It adds 1,411 tokens to every session, about $0.0071 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.