egov-laws SKILL.md skillA
egov-laws from tahodev/kurashi-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tahodev/kurashi-skill/egov-laws@git:20261006.05d91fbPins git:20261006.05d91fb in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tahodev/kurashi-skill
- Path
egov-laws/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261006.05d91fb, committed Oct 6, 2026
- First version recorded
- Oct 2, 2026
- Size
- 6,919 bytes
- Repository stars
- 4
- License
- MIT
e-Gov法令API v2(デジタル庁・認証不要)で日本の現行法令を引く。法令名検索、条文本文の取得(第709条など枝番つきも可)、時点指定(2017-04-01以降)、改正履歴(未施行の改正を含む)、条文本文の全文キーワード検索に対応。法律の解釈・判例・法的助言は対象外。国会での発言はkokkai、書誌はndl-booksを使う。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# egov-laws
e-Gov法令検索(デジタル庁)の公式API v2で、現行法令の条文を取得するスキル。APIキー・ログイン・ユーザー登録は一切不要。結果は条文そのもので、**法的な解釈や助言ではない**(判断は専門家に)。
**実測日: 2026-10-02。以下のURL・構造・件数はすべて当日の実測で確認。**
## エンドポイント
ベース: `laws.e-gov.go.jp/api/2`(HTTPS。仕様はSwagger UIが `https://laws.e-gov.go.jp/api/2/swagger-ui/` で公開)
| 用途 | パス | 備考 |
| --- | --- | --- |
| 法令一覧・名前検索 | `/laws?law_title=民法&limit=5` | 部分一致。総数は `total_count`(2026-10-02: 9,572法令) |
| 法令本文(全文) | `/law_data/{law_id}` | 民法で1.6MB。JSONの木構造 |
| 条・項だけ取得 | `/law_data/{law_id}?elm=Article[1]` | **Nは「第N条」ではなく「N番目の要素」(下の罠1)** |
| 時点指定 | `/law_data/{law_id}?asof=2017-04-01` | 2017-04-01以降のみ |
| 改正履歴 | `/law_revisions/{law_id}` | 施行済み+未施行の全リビジョン |
| 全文検索 | `/keyword?keyword=暴力&limit=3` | 条文本文のヒット(2026-10-02: 1,619法令) |
法令IDは `129AC0000000089`(民法)、`321CONSTITUTION`(日本国憲法)のような形式。
## 使い方(ヘルパー)
```bash
python3 egov-laws/lookup.py search 民法 # 法令名検索
python3 egov-laws/lookup.py article 民法 709 # 第709条の本文
python3 egov-laws/lookup.py article 民法 3の2 # 枝番(第3条の2)
python3 egov-laws/lookup.py article 民法 4 --asof 2017-04-01 # 時点指定
python3 egov-laws/lookup.py revisions 民法 # 改正履歴
…Read the whole file at its exact version.
How to install
mdr add tahodev/kurashi-skill/egov-laws@sha256:812d3a800f29ca27The line at the top of this page pins the label git:20261006.05d91fb, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_huaxvquzftyi2qx7)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Oct 2, 2026 and Oct 6, 2026, about one every 4 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261006.05d91fb latest | 2026-10-06 | 05d91fb | 6,919 B | A | view · diff |
| git:20261002.ede3d43 | 2026-10-02 | ede3d43 | 6,919 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6919 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
tahodev/kurashi-skill · 4 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_huaxvquzftyi2qx7 GET https://markdownregistry.com/api/v1/resolve?ref=tahodev/kurashi-skill/egov-laws GET https://markdownregistry.com/api/v1/blob/812d3a800f29ca27ea9abacff074d9d6c924f3fcf46cc541b25dc68797f15a90
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.