YzPzCode CLAUDE.md

A project guide for YzPzCode, a desktop app built with React and Rust using Tauri, a framework for packaging web interfaces as native desktop apps.

In plain words
What is it for?
Use it when developing YzPzCode to install dependencies, start the app, build installers, type-check the frontend, and check the Rust backend.
Why use it?
It tells a coding agent where the app lives, which technologies it uses, and which commands check, build, and run the project.

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/wolfenazz/yzpzcode/claude-md
Clone the repo
git clone --depth 1 https://github.com/wolfenazz/YzPzCode
Per session 4,878 This file is loaded in full into every session.
When invoked 4,878 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.04878 $0.04878
Opus 5 $0.02439 $0.02439
Sonnet 5 $0.00976 $0.00976
Haiku 4.5 $0.00488 $0.00488

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

Security

Grade A, and why

YzPzCode 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 · 394 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

YzPzCode is a Tauri v2 desktop application that provides a unified interface for multiple AI coding CLI tools and SaaS tool CLIs. It combines a React 19 frontend with a Rust backend to create a native, cross-platform development environment with an in-app browser, visual design inspector, AI-powered designer, and multi-workspace management.

Tech Stack:

  • Frontend: React 19 + TypeScript, Vite 6, Tailwind CSS v4, Zustand 5, CodeMirror 6, xterm.js 6, framer-motion, @iconify/react
  • Backend: Tauri v2, Rust, portable-pty, Tokio, discord-rich-presence
  • Development: Node.js 18+, Rust (latest stable)

Development Commands

# Navigate to app directory first
cd app

# Development
npm install              # Install dependencies
npm run tauri dev       # Run development server (opens on port 8745)

# Building
npm run build           # Build frontend only
npm run tauri build     # Build production installers

# Type Checking
npx tsc --noEmit        # Frontend type checking
cd src-tauri && cargo check  # Backend type checking

# Rust-specific
cd src-tauri
cargo test              # Run tests
cargo clippy            # Lint
cargo fmt               # Format code

Architecture

Frontend-Backend Communication

The app uses Tauri's IPC (Inter-Process Communication) for all frontend-backend communication:

  • Frontend calls Tauri commands via @tauri-apps/api/core
  • Backend defines commands in src-tauri/src/commands/ with #[tauri::command]
  • Real-time events: app.emit("event-name", payload) from Rust, listen<T>("event-name", callback) from frontend
  • No direct REST APIs - all communication through Tauri IPC

State Management

  • Zustand (app/src/stores/appStore.ts): Centralized state with persist middleware
  • Updater Store (app/src/stores/updaterStore.ts): Auto-update state (checking, downloading, progress)
  • Key state slices include:
    • Workspace management (currentWorkspace, workspaceList, openWorkspaces, multi-workspace tabs)
    • Terminal sessions (sessions, activeSessionId, per-workspace session tracking)
    • CLI statuses (cliStatuses, toolCliStatuses) — both AI agents and tool CLIs
    • Authentication states (authInfos, toolAuthInfos)
    • UI settings (theme, accent color, UI density, animations, custom cursor, terminal, editor)
    • File editor (openFiles, activeFilePath, dirty state tracking, workspace file isolation)
    • Browser state (URL, tabs, zoom, inspect/pickStyle/apply modes, style clipboard, UI references)
    • IDE detection (ideStatuses, selectedIdes)
    • Version updates (autoCheck, autoDownload, channel, updateAvailable)

Read the full file on GitHub · 394 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 · 394 lines · 4,878 tokens per session scan A bf8c7b6a2efd

Subscribe to this mod's changes

YzPzCode CLAUDE.md is an instructions file published in the GitHub repository wolfenazz/YzPzCode (11 stars, last pushed 7d ago), licensed Apache-2.0. It adds 4,878 tokens to every session, about $0.0244 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.