tayomi-cc-views: Instructions file for Claude Code

CLAUDE.md

tayomi-cc-views CLAUDE.md is an instructions file for Claude Code from mopi1402/tayomi-cc-views. It costs 1,467 tokens per session, scanned A, original, MIT.

A set of coding rules for Tayomi CC Views, a software project. It explains where shared constants and patterns belong, so different parts of the code agree on the same values.

In plain words
What is it for?
Use it when adding or changing markup, templates, regular expressions, language tokens, styles, or tests in the project.
Why use it?
It reduces repeated definitions and prevents modules from using conflicting tokens, names, file extensions, or environment variables.

Instructions file for Claude Code

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

This is mopi1402/tayomi-cc-views's own configuration. It tells Claude Code how to work on tayomi-cc-views 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 tayomi-cc-views configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mopi1402/tayomi-cc-views. 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/mopi1402/tayomi-cc-views/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/mopi1402/tayomi-cc-views

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 tayomi-cc-views CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mopi1402/tayomi-cc-views/claude-md/github.svg)](https://agentmods.dev/instructions/mopi1402/tayomi-cc-views/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/mopi1402/tayomi-cc-views/claude-md"><img src="https://agentmods.dev/badge/instructions/mopi1402/tayomi-cc-views/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 tayomi-cc-views CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mopi1402/tayomi-cc-views/claude-md"><img src="https://agentmods.dev/badge/instructions/mopi1402/tayomi-cc-views/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,467 This file is loaded in full into every session.
When invoked 1,467 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.01467 $0.01467
Opus 5 $0.00733 $0.00733
Sonnet 5 $0.00293 $0.00293
Haiku 4.5 $0.00147 $0.00147

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

Security

Grade A, and why

tayomi-cc-views 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 9d 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 · 34 lines

How it starts

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

One shape, one constant, and src/data/ when it has several readers. A token, a delimiter, a marker: written once, never retyped, and regexes compose from it. When more than one module must AGREE on the value, it goes in src/data/ by domain (markup.ts for the shapes, marks.ts for the reserved control codes, language.ts for the words a template author types) and everything imports from there, tests included. Three modules picking their own code is how two of them pick the same one.

A WORD is a constant too, and the ones the product is named on are the first: view sits at the root of markup.ts and the fence, the decorator token, the file extension, the directory and the env vars all derive from it. Every @directive sits in language.ts and every matcher composes from there. Renaming either is a major version, and it should cost one edit, never a sweep.

The test is HOW MANY MODULES MUST AGREE, never data-versus-logic. A value one module reads stays with the code that reads it, however table-shaped it looks: the palette sits in style.ts beside resolveTag, which is the only thing on earth that reads it, and keeping it unexported is what stops any module growing its own opinion about a colour. src/data/ holds FORMS several readers share, never meanings.

Split a module by CONCEPT when it grows, never by the nature of its values. Splitting by nature separates exactly what changes together.

A module becomes a DIRECTORY the day it gains that second concept, never because of the storey it occupies: style.ts and pipeline.ts are the two ends of the chain and stay single files. A directory holding one file names a split nobody has designed yet, and the file inside it still has to be called something, where index.ts already means the package's public entry. Waiting costs nothing, because exports publishes src/index.ts alone and every import names its file under nodenext: the move is a rename the typecheck proves complete, never a search for the sites it missed.

No magic number, no bare literal. Anything a reader would have to decode gets a name: widths, offsets, escape sequences, sentinels, thresholds. Tests included, and first of all there, since a test is read to learn what the code is supposed to do. expect(out).toContain("\x1b[1;97m") says nothing; seq("box_title") says everything.

Prefer DERIVING over naming a copy: ask the module that owns the value (renderTags(tagMark("fail"))) rather than declaring a second constant that is free to drift from it. Name a copy only for a value the owner deliberately does not expose.

Every module answers for itself. foo.ts is tested by foo.test.ts beside it, or it says IN WRITING why it is not, in the exclusion table of scripts/check-sidecars.mjs, which gates it. A reason there is a decision; anything reading "not yet" belongs in the suite instead. The gate bites both ways, or the table rots into a list of excuses: an entry naming a module that has since gained a test, or that no longer exists, fails too.

Coverage counts lines a suite happened to execute, which a test driving the whole engine from the front door satisfies without pinning one module's edge. A sidecar is where that module's OWN contract is written, so the day it changes the failure lands on it and not three layers away. Tests typecheck like the rest: a fixture that no longer matches the shape it drives proves nothing.

Three kinds, and only the first is a sidecar. A suite answering for a PATH rather than a module lives in tests/, exempt by location so there is no allowlist to keep in step. End to end is scripts/verify-pack.mjs alone: it packs, installs and spawns the real binary, and nothing else here crosses a process.

A near-miss deserves a case as much as a hit. Every matcher in this engine is built so a malformed line falls through to the BODY, where an author sees it printed: a test that only ever feeds it valid input cannot tell that apart from a matcher that swallows.

Read the full file on GitHub · 34 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. 9d ago First seen · 34 lines · 1,467 tokens per session scan A e0516f6b8b0c

Subscribe to this mod's changes

tayomi-cc-views CLAUDE.md is an instructions file published in the GitHub repository mopi1402/tayomi-cc-views (3 stars, last pushed 23d ago), licensed MIT. It adds 1,467 tokens to every session, about $0.0073 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-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens