rirekisho: Instructions file for Claude Code

CLAUDE.md

rirekisho CLAUDE.md is an instructions file for Claude Code from jugesuke/rirekisho. It costs 2,375 tokens per session, scanned A, original, MIT.

Repository instructions for rirekisho, a Japanese résumé template written in LaTeX, a system for producing formatted documents from source text. They describe its files, Docker-based build, text checks, and layout rules.

In plain words
What is it for?
Use them when editing the résumé, building it in the specified Docker image, updating shared template guidance, or checking its typography and layout.
Why use it?
They prevent inconsistent edits and layout errors across the résumé source, templates, style file, and generated document.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jugesuke/rirekisho/claude-md"><img src="https://agentmods.dev/badge/instructions/jugesuke/rirekisho/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,375 This file is loaded in full into every session.
When invoked 2,375 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.02375 $0.02375
Opus 5.5 $0.00950 $0.00950
Sonnet 5.5 $0.00475 $0.00475
Haiku 4.5 $0.00237 $0.00237

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

Security

Grade A, and why

rirekisho 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 · 60 lines

How it starts

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

リポジトリの概要

comfortex(日本語向け LaTeX 執筆環境テンプレート)をベースにした、履歴書用の TeX ドキュメントリポジトリ。ソースコードではなく LaTeX 文書が成果物であり、ビルドはローカルにインストールされた TeX ではなく Docker イメージ paperist/texlive-ja:latest 上で行う。Node/npm は textlint と npm-scripts のランナーとしてのみ使う。

構成:

  • rirekisho.sty — 履歴書のレイアウト(厚労省「履歴書様式例(令和3年4月)」準拠)。
  • main.tex — 唯一のビルド対象。記入用データのみを書く。\shimei などのコマンドで値を与え、\rirekisho で 2 ページを組版する。
  • blank.tex — 空のひな形。main.tex を書き潰してしまったときはこれを写して戻す(ビルド対象ではない)。
  • example.tex — 記入例(ビルド対象ではない。内容を main.tex に貼って使う)。

blank.tex / example.tex もひな形として \documentclass から \end{document} まで揃った完結した文書であり、main.tex と重複する。3 つのいずれかで書式コメントや使い方を直したら、他の 2 つにも同じ修正を反映すること。

レイアウト上の規約:

  • 行の高さはストラット(\rirekiRow)か高さ指定セル(\rirekiCell / \rirekiCellC)のどちらか一方で与える。両方使うと二重に加算される。表側の行ストラットは \arraystretch を 0 にして殺してある。
  • 1 ページ目上部は L 字に組む。氏名欄・生年月日欄は電話欄の縦罫線より \rirekiNameInset だけ左で止め(\rirekiFormLeftWidth)、写真はその右のあきに \rirekiPhotoOverlay で高さを持たないボックスとして重ねる。写真は表題行の上端から始まり、左右は氏名欄の右端と版面右端の中央に置く。下端が現住所欄の上罫線の \rirekiPhotoGap 上にくるよう、氏名行の高さ(\riri@nameheight)は表題行の実測高さから逆算する(固定値を持たせないこと)。表題行の作成日も \rirekiFormLeftWidth に合わせる。
  • 罫線は外枠 \rirekiOuterRuleWidth(0.8pt)と内側 \rirekiInnerRuleWidth(0.4pt)の2種類。外枠の横罫は \rirekiHOut、縦罫は列指定 O を使う(!{\vrule ...} を素のマクロで書くと array がプリアンブルを解釈できない)。
  • 2 ページ目の先頭は \vspace* で 1 ページ目の表題行の分だけ下げ、最初の罫線の高さを揃えている。\topskip はここでは効かせたくないので差し引く。
  • 枠と枠を縦につなぐときは必ず \rirekiGlue(\par\nointerlineskip\noindent)を挟む。\noindent だけだと直前の表と同じ行に並んでレイアウトが崩れる。枠どうしを離すときは代わりに \rirekiSkip(\rirekiBlockSkip のあきを入れる)を使う。
  • \multirow は使わない。行の実際の高さを知らず(\baselineskip の段数と仮定する)、写真欄や電話欄の位置が狂う。複数行にまたがる欄は 1 つの高さ指定ボックスに組み、内部の区切り線は \rirekiInnerRule で引く(\hrule はセルの本文幅しか引かれず、両端に \tabcolsep のあきが残る)。
  • 日付欄(作成日・生年月日)は \sakuseibi{年}{月}{日} / \seinengappi{年}{月}{日} と算用数字で与える。既定の表示は西暦(2026年8月2日)で、和暦などにしたいときは省略可能引数で表示だけ上書きする(\sakuseibi[令和8年8月2日]{2026}{8}{2})。数値引数は計算に使うので、上書きしても和暦の数字を入れないこと。
  • 作成日を空(\sakuseibi{}{}{})にするとビルド日を西暦で入れる。ビルド日を和暦で出すなら \sakuseibi[\wareki]{\the\year}{\the\month}{\the\day}。
  • 満年齢は作成日を基準日として自動で計算する(その年の誕生日前なら 1 引く)ので、入力しない。生年月日の年を空にすると生年月日・満年齢とも空欄の書式になる。計算は \sakuseibi と \seinengappi の記入順に依存しないよう \AtBeginDocument で行う(\riri@setsakuseibi → \riri@setnenrei)。表示用の値(\riri@sakuseibi / \riri@seinengappi)と計算用の数値(\riri@kijunY などの 6 つ)は別に保持している。
  • 写真は \shashin{ファイル名} で入る。縦横比が \rirekiPhotoRatioW:\rirekiPhotoRatioH(3:4)でない画像は、短い方の辺を枠に合わせてから、はみ出す分を trimclip の \clipbox で中央基準に切る。未指定なら点線の貼付枠だけを出す。

Read the full file on GitHub · 60 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 First seen · 60 lines · 2,375 tokens per session scan A 5bb26ad0b073

Subscribe to this mod's changes

rirekisho CLAUDE.md is an instructions file published in the GitHub repository jugesuke/rirekisho (48 stars, last pushed 3mo ago), licensed MIT. It adds 2,375 tokens to every session, about $0.0095 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

rirekisho CLAUDE.md compared with instructions from other repositories

rirekisho CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rirekisho CLAUDE.mdjugesuke/rirekishoInstructions file483mo agoMITA2,375Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k3d agoMITA4,313Codex, OpenCode