Claudio CLAUDE.md

Claudio CLAUDE.md is an instructions file for coding agents from hllqkb/Claudio. It costs 709 tokens per session, scanned A, original, MIT.

Repository instructions for Claudio, an AI music-radio application with a web interface and server in one pnpm monorepo. A monorepo stores multiple related applications in one repository; pnpm is a JavaScript package manager.

In plain words
What is it for?
Use them to work on the radio server or web app, build either part, run both during development, and keep changes consistent with the project’s TypeScript and React setup.
Why use it?
They explain the project structure, development commands, coding standards, and branch conventions an agent must follow.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/hllqkb/claudio/claude-md.svg)](https://agentmods.dev/instructions/hllqkb/claudio/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/hllqkb/claudio/claude-md"><img src="https://agentmods.dev/badge/instructions/hllqkb/claudio/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 709 This file is loaded in full into every session.
When invoked 709 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.00709 $0.00709
Opus 5 $0.00354 $0.00354
Sonnet 5 $0.00142 $0.00142
Haiku 4.5 $0.00071 $0.00071

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

Security

Grade A, and why

Claudio 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 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.

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 · 59 lines

How it starts

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

Claudio — AI Music Radio

Architecture

  • pnpm monorepo: apps/server (Fastify + TypeScript) + apps/web (React 19 + Vite + PWA)
  • SQLite via better-sqlite3 for settings, playlists, plays history
  • Claude AI for music planning, Fish Audio for TTS, Netease Cloud Music for songs
  • WebSocket for real-time updates (now_playing, queue, DJ messages)

Key Commands

  • ./start.sh一键启动(自动关闭旧进程 → NCM :3000 → 后端 :8080 → 前端 :5173,Ctrl+C 全部停止)
  • pnpm dev — start both server (:8080) and web (:5173) concurrently (不启动 NCM,不清理旧进程)
  • pnpm --filter @ai-radio/server build — build server
  • pnpm --filter @ai-radio/web build — build web (outputs to apps/web/dist)
  • cd apps/server && pnpm dev — server only (tsx watch src/index.ts)
  • cd apps/web && pnpm dev — web only (Vite dev server)

Code Standards

  • TypeScript strict mode, 4-space indent
  • React functional components with hooks
  • Zustand for state management (playerStore.ts)
  • CSS in styles/global.css — dark theme, glassmorphism style
  • Conventional Commits (feat:, fix:, docs:, chore:, refactor:)
  • Branch model: main (stable) / develop / feat/* / fix/*

Project Structure

  • apps/server/src/routes/ — API route handlers
  • apps/server/src/services/ — business logic (ncm, claude, tts, weather, etc.)
  • apps/server/src/db/ — SQLite repos (settings, playlist, plays)
  • apps/server/src/helpers/ — utilities (plan-enrich)
  • apps/web/src/pages/ — route pages (Player, Playlist, Profile, Settings)
  • apps/web/src/components/ — UI components
  • apps/web/src/stores/ — Zustand stores
  • apps/web/src/audio/ — AudioPlayer manager (HTMLAudioElement wrapper)
  • apps/web/src/api/ — API client + WebSocket client

Current Features

  • AI-powered music planning (Claude generates playlists based on context)
  • NCM song search and playback with real audio streaming
  • DJ TTS messages between songs (DjMessages + ChatArea)
  • LRC/karaoke lyrics display (KaraokeLyrics + LyricsPanel)
  • 6 audio visualization modes (AudioVisualizer + AudioSpectrum)
  • Playlist CRUD + NCM playlist browsing
  • Play history tracking with real DB stats
  • Song favorite/like system
  • Volume control, shuffle/repeat modes
  • Keyboard shortcuts + MediaSession API (lock screen/earphone controls)
  • Toast notification system + loading skeletons
  • MiniPlayer bottom bar
  • Bilingual (EN/ZH) i18n
  • PWA with service worker
  • Profile page with real play stats (top artists, minutes listened, favorites)

Read the full file on GitHub · 59 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 · 59 lines · 709 tokens per session scan A 9ce2fcf5d0cf

Subscribe to this mod's changes

Claudio CLAUDE.md is an instructions file published in the GitHub repository hllqkb/Claudio (48 stars, last pushed 4mo ago), licensed MIT. It adds 709 tokens to every session, about $0.0035 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.