mcp-jp-paid-leave: Instructions file for Claude Code

CLAUDE.md

mcp-jp-paid-leave CLAUDE.md is an instructions file for Claude Code from skypier-jp-works/mcp-jp-paid-leave. It costs 1,517 tokens per session, scanned A, original, MIT.

A set of project instructions for an AI assistant working on Japanese paid-leave software. It requires checking legal details against primary Japanese government sources and reporting anything not verified.

In plain words
What is it for?
Use it to guide development and review of Japanese paid-leave calculations, legal sources, documentation, tests, and related code changes.
Why use it?
It reduces the risk of implementing leave rules from memory, outdated summaries, or unconfirmed legal information.

Instructions file for Claude Code

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

This is skypier-jp-works/mcp-jp-paid-leave's own configuration. It tells Claude Code how to work on mcp-jp-paid-leave 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 mcp-jp-paid-leave configures →

Reuse

Borrowing it

Nothing to install: this file belongs to skypier-jp-works/mcp-jp-paid-leave. 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/skypier-jp-works/mcp-jp-paid-leave/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/skypier-jp-works/mcp-jp-paid-leave

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 mcp-jp-paid-leave CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/skypier-jp-works/mcp-jp-paid-leave/claude-md"><img src="https://agentmods.dev/badge/instructions/skypier-jp-works/mcp-jp-paid-leave/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,517 This file is loaded in full into every session.
When invoked 1,517 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.01517 $0.01517
Opus 5 $0.00758 $0.00758
Sonnet 5 $0.00303 $0.00303
Haiku 4.5 $0.00152 $0.00152

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

Security

Grade A, and why

mcp-jp-paid-leave 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 12d 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 · 67 lines

How it starts

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

CLAUDE.md

このファイルは、このリポジトリで作業するすべてのAIアシスタント(Claude Code等)に対する プロジェクト固有の指示です。

1. 法令データは必ず一次情報を実際に開いて照合すること

  • 付与日数表、比例付与表、出勤率の要件、施行日、罰則、時効期間など、法定データに 関わる数値・文言は、記憶やそれらしい一般知識で書いてはならない。
  • 必ず e-Gov法令検索(https://laws.e-gov.go.jp/)、厚生労働省(https://www.mhlw.go.jp/)、 衆議院法制局の制定法律データベース(https://www.shugiin.go.jp/internet/itdb_housei.nsf/) などの一次資料を実際に取得し、内容を突き合わせてから実装すること。
  • 二次資料(社労士事務所のブログ、HR系メディアの解説記事等)は、一次資料が見つからない 場合の手がかりとしてのみ使い、最終的な根拠にはしない。
  • 一次資料のURLは、src/leaveRules.ts のコメントとREADMEの出典一覧に、実際に 照合した日付とともに記載すること。

2. 照合できなかったものは「未検証」と明示的に申告すること

  • 一次資料で確認できなかった数値・施行日・沿革は、確認できたかのように書かない。
  • 過去にこのプロジェクトで、根拠のない施行日を記載してしまった誤り(1.2.0での 標準付与日数表の施行日の誤り)や、通達の一部だけを読んで重要な記述を見落とした 誤り(全労働日の定義に関する所定休日労働の扱い)があった。同じ種類の誤りを 繰り返さないよう、一次資料は「必要な部分だけ」ではなく、関連する条項の前後を 含めて全体の構成を確認すること。
  • README・CHANGELOG・コード内コメントに、未検証事項を隠さず記載すること (README.ja.md の「未検証・確認できなかった事項」を参照)。

3. 修正作業のあとは、別の箇所を壊していないか必ず確認すること

  • ある関数・データ構造の設計を変更したら、それを参照している他の箇所 (別のツールの出力、コメント、README、CHANGELOGの記述、テストのモックデータ等) が古い前提のまま残っていないか、変更後に横断的に検索して確認すること (例: grep -rn "<削除したフィールド名>" src tests README.ja.md README.md)。
  • 実際にあった例: check_attendance_rateの引数を再設計した際、 calculate_entitlementのshortenedPeriod.noteが旧引数名(deemedAttendanceDays)を 参照したまま残っていた。
  • 修正後は必ず npm run build && npm test を実行し、全テストが通ることを確認する。 既存のテストが新しい設計と合わなくなった場合は、テストを削除するのではなく、 新しい設計を正しく検証する内容に書き換えること。

4. 引数設計では、判断や分類をツール側が引き受けること

  • 呼び出し側(AIやユーザー)に、法的な分類判断(「この日数は分子に入れるべきか」 「この理由は除外事由に当たるか」等)をさせてはならない。分類こそがツールの 提供すべき価値であり、同時に誤りが混入しやすい部分である。
  • 引数は、呼び出し側が客観的に数えられる生の事実(日数・日付など)を渡す形にし、 それをどう扱うかの判断(法的な分類・計算)はツール内部のロジックが担うこと。
  • 引数名・説明文は、AIが読んで一意に解釈できる粒度で書くこと。曖昧な集約値 (例: 「除外日数の合計」)ではなく、何が起きた日なのかが具体的にわかる名前 (例: forceMajeureSuspensionDays)にする。
  • 分類や計算の根拠になった条文・通達は、応答に含めること(呼び出し側が 検証・監査できるようにするため)。
  • 不明な値がある場合は、0やデフォルト値を推測して補わず、エラーを返すこと。

5. 公開前に、実際にサーバーを起動して手動で確認すること

  • ユニットテストが全て通っていても、それだけで「動作確認済み」とはしない。
  • 変更のたびに、実際に npm run build した上でMCPクライアント経由でサーバーを 起動し(例: @modelcontextprotocol/sdkClient/StdioClientTransport を 使った簡易スクリプト)、変更した(あるいは影響を受けうる)ツールを実際に 呼び出して応答を目視確認すること。
  • 特に、ツールのスキーマ(引数の必須/任意、型)がMCP経由で意図どおりに公開されて いるか(tools/list)、異常系(必須項目の欠落など)が期待どおりエラーになるかを 確認すること。
  • 確認に使った一時スクリプトは、作業終了後に削除し、リポジトリに残さないこと。

Read the full file on GitHub · 67 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. 12d ago First seen · 67 lines · 1,517 tokens per session scan A 1aebeaec954c

Subscribe to this mod's changes

mcp-jp-paid-leave CLAUDE.md is an instructions file published in the GitHub repository skypier-jp-works/mcp-jp-paid-leave (0 stars, last pushed 1mo ago), licensed MIT. It adds 1,517 tokens to every session, about $0.0076 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

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,126 tokens

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

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

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