mcp-jp-corporate-id: Instructions file for Claude Code

CLAUDE.md

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

Project-specific instructions for an AI assistant working on a Japanese corporate-identifier tool. They require checking legal data against official sources, marking unverified facts, and checking for regressions after changes.

In plain words
What is it for?
Use them when changing validation logic, researching Japanese laws or identifier formats, updating sources and documentation, or reviewing the effects of a code change.
Why use it?
They reduce the risk of implementing incorrect legal rules or leaving related code, tests, and documentation based on outdated assumptions.

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-corporate-id's own configuration. It tells Claude Code how to work on mcp-jp-corporate-id 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-corporate-id configures →

Reuse

Borrowing it

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

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-corporate-id CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/skypier-jp-works/mcp-jp-corporate-id/claude-md"><img src="https://agentmods.dev/badge/instructions/skypier-jp-works/mcp-jp-corporate-id/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,975 This file is loaded in full into every session.
When invoked 1,975 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.01975 $0.01975
Opus 5 $0.00988 $0.00988
Sonnet 5 $0.00395 $0.00395
Haiku 4.5 $0.00198 $0.00198

Measured 12d ago against content hash 2b4d34dbfca4, 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-corporate-id 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 · 85 lines

How it starts

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

CLAUDE.md

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

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

  • 検査用数字(チェックデジット)の算式、法人番号・会社法人等番号の構成、法人種別コード、 インボイス登録番号の体系など、番号の検証ロジックに関わる数値・算式・仕様は、 記憶やそれらしい一般知識で書いてはならない。
  • 必ず国税庁法人番号公表サイト(https://www.houjin-bangou.nta.go.jp/)、 国税庁インボイス制度適格請求書発行事業者公表サイト(https://www.invoice-kohyo.nta.go.jp/)、 e-Gov法令検索(https://laws.e-gov.go.jp/)などの一次資料を実際に取得し、内容を 突き合わせてから実装すること。PDF等バイナリはWebFetchで内容が取得できないことが あるため、その場合はブラウザで開くかファイルとして保存して読むこと。
  • 二次資料(会計事務所・司法書士事務所のブログ、HR/経理系メディアの解説記事等)は、 一次資料が見つからない場合の手がかりとしてのみ使い、最終的な根拠にはしない。 複数の二次資料が食い違う場合(例: 会社法人等番号の組織区分コード)は、それ自体が 「一次資料での確認が必要」というシグナルとして扱うこと。
  • 一次資料のURLは、src/sources.ts とREADME(日英)の出典一覧に、実際に照合した 日付とともに記載すること。

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

  • 一次資料で確認できなかった数値・コード表・仕様は、確認できたかのように書かない。
  • 実際にあった例: 会社法人等番号の「組織区分(2桁)」と法人種別(株式会社等)の対応表は、 商業登記規則第1条の2の条文を確認しても数字コードとしては明記されておらず、 二次資料でも情報源によって内容が食い違っていた。このため parse_corporate_number は組織区分の生の数字のみを返し、法人種別のラベル付けは行わないという設計にしている。 安易に確からしい二次資料の値を採用しないこと。
  • README・コード内コメントに、未検証事項を隠さず記載すること (README.ja.md の「未検証・確認できなかった事項」を参照)。

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

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

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

  • 呼び出し側(AIやユーザー)に、法的な分類判断(「この日数は分子に入れるべきか」 「この理由は除外事由に当たるか」等)をさせてはならない。分類こそがツールの 提供すべき価値であり、同時に誤りが混入しやすい部分である。
  • 引数は、呼び出し側が客観的に数えられる生の事実(日数・日付など)を渡す形にし、 それをどう扱うかの判断(法的な分類・計算)はツール内部のロジックが担うこと。
  • 引数名・説明文は、AIが読んで一意に解釈できる粒度で書くこと。
  • 分類や計算の根拠になった条文・一次資料は、応答に含めること(呼び出し側が 検証・監査できるようにするため。sources フィールド)。
  • 不明な値がある場合は、0やデフォルト値を推測して補わず、エラーを返すこと (例: calculate_check_digitparse_corporate_number は桁数が合わない入力に 対してパディング等を行わずValidationErrorを投げる)。
  • ただし「validate_*」系のツール(妥当かどうかを判定すること自体が目的のツール)は、 形式が不正な入力自体を例外にせず、valid: false / formatValid: false として 結果に含めること。不正な形式であること自体が有効な判定結果だから。

Read the full file on GitHub · 85 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 · 85 lines · 1,975 tokens per session scan A 2b4d34dbfca4

Subscribe to this mod's changes

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