Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Kokai-Data/japan-business-data --skill search-egov-lawsgit clone --depth 1 https://github.com/Kokai-Data/japan-business-dataWrote 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/skills/kokai-data/japan-business-data/search-egov-laws)<a href="https://agentmods.dev/skills/kokai-data/japan-business-data/search-egov-laws"><img src="https://agentmods.dev/badge/skills/kokai-data/japan-business-data/search-egov-laws/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/skills/kokai-data/japan-business-data/search-egov-laws"><img src="https://agentmods.dev/badge/skills/kokai-data/japan-business-data/search-egov-laws.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.00111 | $0.01230 |
| Opus 5 | $0.00056 | $0.00615 |
| Sonnet 5 | $0.00022 | $0.00246 |
| Haiku 4.5 | $0.00011 | $0.00123 |
Grade A, and why
search-egov-laws 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.
How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to use
Use this skill when:
- The user asks about a specific Japanese law, cabinet order, or ministerial ordinance (e.g., "中小企業基本法", "個人情報保護法", "労働基準法").
- You need to find the official law_id / law_num for citation in legal research or due diligence briefs.
- The user wants a list of laws matching a keyword (e.g., "data privacy laws in Japan", "中小企業 関連法令").
- Pre-M&A diligence requires regulatory landscape mapping (which laws apply to a target's industry).
- Legal research workflows that require 公式 e-Gov citation rather than secondary sources.
How to invoke
Call the kokai MCP server's search_egov_laws tool:
{
"name": "search_egov_laws",
"arguments": {
"keyword": "<search term, e.g., 中小企業, 個人情報, 労働基準>",
"law_type": "<optional: Constitution / Act / CabinetOrder / MinisterialOrdinance / Rule>",
"limit": 20
}
}
keyword is required (free-text Japanese, matches law title + content). law_type is optional filter. limit defaults to 20, max 100.
law_type values (公式 enum)
| Value | Japanese | Notes |
|---|---|---|
Constitution |
憲法 | 日本国憲法のみ |
Act |
法律 | 国会制定 (e.g., 中小企業基本法) |
CabinetOrder |
政令 | 内閣制定 (e.g., 中小企業基本法施行令) |
MinisterialOrdinance |
省令 / 府令 | 各省庁制定 (e.g., 個人情報保護法施行規則) |
Rule |
規則 | 委員会規則 等 |
Output structure
For each law:
law_id(法令 ID、get_egov_laws_dataで本文 / 条文 fetch に使う)law_num(法令番号、e.g., "昭和三十八年法律第百五十四号")title(法令名)title_kana(法令名 ふりがな)enforcement_date(施行日)promulgation_date(公布日)law_type(Constitution / Act / CabinetOrder / MinisterialOrdinance / Rule)source_authority:"official"(公式 cite_required layer)attribution_text:"出典: e-Gov 法令検索 (デジタル庁) https://laws.e-gov.go.jp/"
Differentiation from other Kokai sources
| 領域 | gBizINFO | 国税庁 | J-Grants | EDINET | e-Gov 法令 (this) | 官公需 |
|---|---|---|---|---|---|---|
| 法人特定 | ✅ | ✅ | — | ✅ (上場) | — | — |
| 補助金 | ❌ | — | ✅ | — | — | — |
| 異動履歴 | △ | ✅ | — | △ | — | — |
| IR / 財務 | △ | — | — | ✅ | — | — |
| 法令本文 / 改正履歴 | ❌ | ❌ | — | ❌ | ✅ 公式 | — |
| 政府調達公告 | — | — | — | — | — | ✅ |
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.
- 12d ago First seen · 83 lines · 0 tokens per session scan A cd3a76c0b12d
search-egov-laws is a skill published in the GitHub repository Kokai-Data/japan-business-data (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 111 tokens to every session and 1,230 once invoked, about $0.0006 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.
Other skills, from other repositories
security-compliance
Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding security throughout the SDLC.
aenderungsvorbehalt-308
Für Änderungsvorbehalt 308: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt.
agb-begriff-vorformuliert-305
Für AGB Begriff Vorformuliert 305: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: agb-begriff-vorformuliert-305.
beweislast-und-zugang-309
Für Beweislast und Zugang 309: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Beweislast- und Substantiierungsmatrix.
agb-pruefung-kaltstart
Für AGB Prüfung Kaltstart: routet Rolle, Frist, Unterlagen und Fachschritt; Ergebnis: Tatbestands- oder Anspruchsmatrix.
agb-rechtswahl-schweizer-recht-rom-i
Für AGB Rechtswahl Schweizer Recht Rom I: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: agb-rechtswahl-schweizer-recht-rom-i.