SztuCode CLAUDE.md

SztuCode CLAUDE.md is an instructions file for Claude Code from rojim666/SztuCode. It costs 286 tokens per session, scanned A, original, MIT.

Project instructions for SztuCode, an agent system with a Python runtime, TypeScript services, and a desktop workbench. The components communicate through a local JSON-RPC connection, a standard format for programs to exchange requests and responses.

In plain words
What is it for?
Use them when modifying the daemon, command-line client, desktop app, protocol packages, or documentation. They identify the Python source of truth and list the project's verification commands.
Why use it?
They clarify which runtime should receive new product behavior and provide the correct commands for testing, building, and running each part.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

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/rojim666/sztucode/claude-md
Clone the repo
git clone --depth 1 https://github.com/rojim666/SztuCode

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 SztuCode CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rojim666/sztucode/claude-md.svg)](https://agentmods.dev/instructions/rojim666/sztucode/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/rojim666/sztucode/claude-md"><img src="https://agentmods.dev/badge/instructions/rojim666/sztucode/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 286 This file is loaded in full into every session.
When invoked 286 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.1 $0.00286 $0.00286
Opus 5 $0.00143 $0.00143
Sonnet 5 $0.00057 $0.00057
Haiku 4.5 $0.00029 $0.00029

Measured 6d ago against content hash 0df32b5dd075, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

SztuCode 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 6d 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 · 24 lines

What it actually says

CLAUDE.md

The current product runtime is Python. The default daemon, Agent Loop, bus protocol, CLI, and evaluation runner live under py-runtime/src/sztu_code. The TypeScript chain (packages/, desktop/) remains available via npm run daemon:ts / npm run cli:ts; the desktop workbench connects to the TypeScript daemon.

Commands

npm install
npm run typecheck
npm test
npm run build
npm run build --prefix desktop
npm run docs:protocol
npm run docs:links
npm run daemon
npm run cli -- ping

Architecture

The Tauri + Vue desktop workbench and Node terminal client connect to the TypeScript daemon (npm run daemon:ts, 127.0.0.1:7438) over JSON-RPC 2.0 NDJSON; the default npm run daemon / npm run cli start the Python daemon (py-runtime/src/sztu_code, 127.0.0.1:7437). Shared TS contracts live in packages/protocol; Python bus contracts live in py-runtime/src/sztu_code/core/bus.

Keep new product behavior in Python (py-runtime/src/sztu_code). Python scripts under packages/runtime-ts/skills are isolated helpers for artifact formats whose mature libraries are Python-first.

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. 6d ago First seen · 24 lines · 286 tokens per session scan A 0df32b5dd075

Subscribe to this mod's changes

SztuCode CLAUDE.md is an instructions file published in the GitHub repository rojim666/SztuCode (50 stars, last pushed yesterday), licensed MIT. It adds 286 tokens to every session, about $0.0014 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.