book: Instructions file for Claude Code

CLAUDE.md

book CLAUDE.md is an instructions file for Claude Code from leetomlee123/book. It costs 3,032 tokens per session, scanned A, original, Apache-2.0.

Project instructions for maintaining and developing an open-source Flutter novel-reader application written in Dart.

In plain words
What is it for?
Use them when installing dependencies, analyzing code, running the app or tests, building Android packages, or regenerating project files.
Why use it?
They give an agent the project's package details, dependencies, commands, SDK requirements, and checks needed to work consistently in the repository.

Instructions file for Claude Code

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

This is leetomlee123/book's own configuration. It tells Claude Code how to work on book itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything book configures →

Reuse

Borrowing it

Nothing to install: this file belongs to leetomlee123/book. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/leetomlee123/book/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/leetomlee123/book

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/leetomlee123/book/claude-md/github.svg)](https://agentmods.dev/instructions/leetomlee123/book/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/leetomlee123/book/claude-md"><img src="https://agentmods.dev/badge/instructions/leetomlee123/book/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for book CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/leetomlee123/book/claude-md"><img src="https://agentmods.dev/badge/instructions/leetomlee123/book/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,032 This file is loaded in full into every session.
When invoked 3,032 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.03032 $0.03032
Opus 5.5 $0.01213 $0.01213
Sonnet 5.5 $0.00606 $0.00606
Haiku 4.5 $0.00303 $0.00303

Measured 2mo ago against content hash 8a8c4fdcf848, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

book 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 2mo 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 · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 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

爱看书 — open-source Flutter novel reader. Package name: book. Application ID: com.opensource.ikanshu. License: Apache-2.0.

Tech stack: Dart 3 / Flutter 3.44+, Riverpod (flutter_riverpod + ChangeNotifierProvider), event_bus, Dio 5, Fluro, sqflite, protobuf, shared_preferences (via local SpUtil facade).

SDK constraint: sdk: ^3.12.0 — sound null safety. Target Flutter 3.44 stable (Dart 3.12).

Commands

# Install dependencies
flutter pub get

# Analyze (flutter_lints via analysis_options.yaml)
flutter analyze

# Run on a connected device/emulator
flutter run

# Run tests
flutter test
flutter test test/widget_test.dart   # single test file

# Debug APK (requires a valid Android SDK / ANDROID_HOME)
flutter build apk --debug

# Release APK (CI-style)
flutter build apk

# Release APK matching build.bat (obfuscated, arm64 split, SKSL warm-up)
flutter build apk --obfuscate --split-debug-info=HLQ_Struggle --target-platform android-arm64 --split-per-abi --build-name=4.2.3 --build-number=3 --bundle-sksl-path flutter_01.sksl.json

# Regenerate json_serializable code (optional; *.g.dart are also hand-maintained)
dart run build_runner build --delete-conflicting-outputs

build.bat / build_arm64.bat are the project’s release build scripts (Windows).

GitHub Actions:

  • .github/workflows/ci.yml — flutter analyze + flutter test on push/PR
  • .github/workflows/build.yml — release APK on master/main, tags v*, workflow_dispatch, and repository_dispatch type starred; optional signing via ANDROID_KEYSTORE_* secrets; uploads artifacts and creates a GitHub Release for tags

There is no separate lint script beyond flutter analyze. file_names is enabled (all lib paths are snake_case). Residual SpUtil/API-shaped identifiers still suppress non_constant_identifier_names / constant_identifier_names.

pubspec.yaml uses dependency_overrides.platform: ^3.1.6 because transitive sqflite_platform_interface otherwise pulls platform 3.0.0, which references removed io.Platform.packageRoot on Dart 3.12.

Read the full file on GitHub · 156 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. 2mo ago Changed · +4 lines · +217 tokens per session 8a8c4fdcf848
  2. 2mo ago First seen · 152 lines · 2,815 tokens per session scan A 877a457b1777

Subscribe to this mod's changes

book CLAUDE.md is an instructions file published in the GitHub repository leetomlee123/book (479 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 3,032 tokens to every session, about $0.0121 per session on Opus 5.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.

Related

book CLAUDE.md compared with instructions from other repositories

book CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
book CLAUDE.mdleetomlee123/bookInstructions file4791mo agoApache-2.0A3,032Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode