zenii CLAUDE.md

zenii CLAUDE.md is an instructions file for coding agents from sprklai/zenii. It costs 3,364 tokens per session, scanned C, original, MIT.

Project instructions for Zenii, a Rust workspace that builds desktop, mobile, command-line, terminal, and background-service programs from one shared core. They describe the project structure, design principles, tools, and common commands.

In plain words
What is it for?
Use them when working on Zenii features, tests, builds, or architecture. They cover the shared core, client programs, optional modules, technology choices, and commands for checking, testing, linting, and running the project.
Why use it?
They give a coding agent the project context it needs before changing code, reducing guesses about where logic belongs and how the project should be checked.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sprklai/zenii/claude-md.svg)](https://agentmods.dev/instructions/sprklai/zenii/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/sprklai/zenii/claude-md"><img src="https://agentmods.dev/badge/instructions/sprklai/zenii/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,364 This file is loaded in full into every session.
When invoked 3,364 The same file — it is already loaded in full.
Security scan C 2 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.03364 $0.03364
Opus 5 $0.01682 $0.01682
Sonnet 5 $0.00673 $0.00673
Haiku 4.5 $0.00336 $0.00336

Measured 5d ago against content hash 212d7c95c565, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade C, and why

zenii CLAUDE.md scanned grade C with 2 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 5d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- rtk-instructions v2 -->

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

rtk curl <url> # Compact HTTP responses (70%)
CLAUDE.md · 299 lines

How it starts

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

CLAUDE.md -- Zenii

Project Overview

Zenii is a Rust workspace producing 5 binaries (Desktop, Mobile, CLI, TUI, Daemon) from a single shared core. All clients communicate via HTTP+WebSocket gateway (axum at 127.0.0.1:18981).

v2 Philosophy

  1. Use proven crates, don't hand-roll -- sysinfo, websearch, rig-core, ignore over custom implementations.
  2. Port patterns, not code -- port v1 design (trait-based tools, security policy, memory abstraction) adapted to v2 conventions.
  3. Lean by default -- feature-gate optional modules. Default binary includes only core operation.
  4. Single shared core -- ALL business logic in zenii-core. Binary crates are thin shells (<100 lines).

Tech Stack

Rust 2024 | Tokio | rig-core | rusqlite + sqlite-vec | axum | Svelte 5 + Tauri 2 | openclaw-channels | comrak + Tera

Commands

cargo check --workspace                      # Compile check
cargo test --workspace                       # Run all tests
cargo clippy --workspace                     # Lint
cargo run -p zenii-daemon                    # Start daemon
cargo run -p zenii-cli -- chat               # CLI chat
cd web && bun run dev                        # Frontend dev
cd crates/zenii-desktop && cargo tauri dev   # Desktop app
./scripts/build.sh --target native --release # Build binaries

Workspace Structure

→ Full module detail in docs/architecture.md

crates/zenii-core/     # Shared library — ALL business logic, NO Tauri dep
crates/zenii-desktop/  # Tauri 2 shell (macOS, Windows, Linux)
crates/zenii-mobile/   # Tauri 2 shell (iOS, Android)
crates/zenii-cli/      # clap CLI (thin wrapper)
crates/zenii-tui/      # ratatui TUI (thin wrapper)
crates/zenii-daemon/   # Headless daemon (thin wrapper)
web/                   # Svelte 5 frontend (shared by desktop + mobile)
docs/                  # Architecture diagrams, phase details, process flows
plans/                 # Detailed per-phase implementation plans
tests/                 # Per-phase test plans and results

Read the full file on GitHub · 299 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. 5d ago First seen · 299 lines · 3,364 tokens per session scan C 212d7c95c565

Subscribe to this mod's changes

zenii CLAUDE.md is an instructions file published in the GitHub repository sprklai/zenii (23 stars, last pushed 26d ago), licensed MIT. It adds 3,364 tokens to every session, about $0.0168 per session on Opus 5. A static security scan graded it C with 2 findings (hidden instructions, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.