Borrowing it
Nothing to install: this file belongs to sazardev/shiki. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/sazardev/shiki/main/CLAUDE.mdgit clone --depth 1 https://github.com/sazardev/shikiWrote 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.
[](https://agentmods.dev/instructions/sazardev/shiki/claude-md)<a href="https://agentmods.dev/instructions/sazardev/shiki/claude-md"><img src="https://agentmods.dev/badge/instructions/sazardev/shiki/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.
<a href="https://agentmods.dev/instructions/sazardev/shiki/claude-md"><img src="https://agentmods.dev/badge/instructions/sazardev/shiki/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.44176 | $0.44176 |
| Opus 5.5 | $0.17670 | $0.17670 |
| Sonnet 5.5 | $0.08835 | $0.08835 |
| Haiku 4.5 | $0.04418 | $0.04418 |
Grade A, and why
shiki CLAUDE.md scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`whisper-blas-bin-*.zip`), with the model (`ggml-*.bin`) downloaded once via `curl`/`wget` from How it starts
The opening of the file, as written. The whole thing — 2,112 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
shiki (私記) is a TUI note-taking app written in Rust, inspired by Yazi's three-pane
layout and modal navigation. Notes are plain Markdown files with YAML frontmatter,
organized into "notebooks" (directories, each its own git repo). Full design spec,
motivation, keybindings, config format, and included themes are documented in IDEA.md —
read it before making architectural changes, since it's the source of truth for intended
behavior (layout, CLI commands, config schema, etc).
Commands
cargo build --workspace # build everything
cargo check --workspace # fast type-check (use this while iterating)
cargo clippy --workspace --all-targets -- -D warnings # lint; CI enforces -D warnings, so match it locally
cargo fmt --all # format (run after editing, before checking clippy)
cargo run -p shiki-cli -- <args> # run the binary, e.g. `-- new "titulo"`, `-- daily`, no args launches the TUI
cargo test -p shiki-tui panel_drawer::tests # single module, e.g. while iterating on one file
cargo test -p shiki-tui clicking_the_button_row # single test by (substring of) name
cargo audit # CI runs this too; ignore list is .cargo/audit.toml
There are 504 #[test]s: 242 in shiki-core, 27 in shiki-config, 196 in shiki-tui, 33 in
shiki-cli, plus 1 in shiki-native-host and 5 in shiki-desktop (shiki-mcp has none yet — its
tool bodies are thin wrappers over already-tested shiki-core logic, verified instead by a manual
stdio protocol smoke test) — cargo test --workspace is green. They're all inline #[cfg(test)]
modules inside
the source files (no tests/ dirs, no #[ignore], no fixture setup), so the pattern set by
panel_drawer::tests (shiki-tui/src/panel_drawer.rs) — covering drawer_hit_at's mouse
coordinate math as a plain function of numbers, not &App — is the norm. When adding tests,
put them as #[cfg(test)] modules in the relevant file; shiki-core/shiki-config have no
TUI/terminal dependency, so they're the easiest to unit test. For shiki-tui, prefer designing
the function to not need &App in the first place (as drawer_hit_at does) over constructing a
full App in a test.
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.
- 5d ago Changed · +5 lines · +127 tokens per session fb15ebd919f0
- 1mo ago Changed f36a539a5a65
- 1mo ago Changed · +41 lines · +959 tokens per session fd169e5d19e3
- 1mo ago Changed · +230 lines · +4,759 tokens per session a96a1f06daee
- 1mo ago Changed · +18 lines · +424 tokens per session 15f0ca15ee15
- 1mo ago Changed · +10 lines · +225 tokens per session ff85b807ee34
- 2mo ago First seen · 1,808 lines · 37,682 tokens per session scan A 3c1827d2f109
shiki CLAUDE.md is an instructions file published in the GitHub repository sazardev/shiki (335 stars, last pushed yesterday), licensed MIT. It adds 44,176 tokens to every session, about $0.1767 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
shiki CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| shiki CLAUDE.mdsazardev/shiki | Instructions file | 335 | yesterday | MIT | A | 44,176 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |