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 get-egov-laws-datagit 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/get-egov-laws-data)<a href="https://agentmods.dev/skills/kokai-data/japan-business-data/get-egov-laws-data"><img src="https://agentmods.dev/badge/skills/kokai-data/japan-business-data/get-egov-laws-data/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/get-egov-laws-data"><img src="https://agentmods.dev/badge/skills/kokai-data/japan-business-data/get-egov-laws-data.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.00107 | $0.00856 |
| Opus 5 | $0.00053 | $0.00428 |
| Sonnet 5 | $0.00021 | $0.00171 |
| Haiku 4.5 | $0.00011 | $0.00086 |
Grade A, and why
get-egov-laws-data 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 11d 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 — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When to use
Use this skill when:
- You have a
law_idfrom a priorsearch_egov_lawscall and need the actual statute text. - The user asks "what does Article X of the Y Act say?" (e.g., "個人情報保護法 第15条").
- DD / legal research requires verbatim citation of statute text.
- You need to quote specific provisions in a due diligence brief or subsidy-fit analysis.
- Regulatory mapping requires the full chapter / article structure (法令の章立て).
How to invoke
Call the kokai MCP server's get_egov_laws_data tool:
{
"name": "get_egov_laws_data",
"arguments": {
"law_id": "<law_id from search_egov_laws, e.g., 338AC0000000154>"
}
}
law_id is required (obtained from search_egov_laws results).
Output structure
law_id(input echoed)law_num(法令番号)title(法令名)enforcement_date/promulgation_datechapters(array of 章): each withchapter_num,chapter_title,articles(array of 条)- Each article (条):
article_num,article_title,paragraphs(array of 項),items(号) revision_info(改正履歴 summary if available)source_authority:"official"(公式 cite_required)attribution_text:"出典: e-Gov 法令検索 (デジタル庁) https://laws.e-gov.go.jp/law/<law_id>"source_url: direct e-Gov URL for the law's HTML view
Workflow pattern (paired with search_egov_laws)
1. User asks about a Japanese law topic
↓
2. search_egov_laws (keyword search) → list of candidate laws (10-20)
↓
3. User / agent selects one law_id
↓
4. get_egov_laws_data (law_id) → full statute text + structure
↓
5. Quote specific 条 / 項 / 号 with attribution_text + source_url
Differentiation from third-party sources
e-Gov 法令検索 is the only official statutory database for Japanese law. Third-party services (jurist sites, commentary platforms) provide interpretation but not 公式 text. When AI agent needs cite_required statute text:
- ✅ e-Gov (this skill) — 公式, current, デジタル庁 maintained
- ❌ Wikipedia / commentary sites — not cite_required for legal opinion
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.
- 11d ago First seen · 72 lines · 0 tokens per session scan A 2f9d00bfb858
get-egov-laws-data 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 107 tokens to every session and 856 once invoked, about $0.0005 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.