ndl-books SKILL.md skillA

ndl-books from tahodev/kurashi-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tahodev/kurashi-skill/ndl-books@git:20260928.b2230a6

Pins git:20260928.b2230a6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tahodev/kurashi-skill
Path
ndl-books/SKILL.md
Versions recorded
1
Latest version
git:20260928.b2230a6, committed Sep 28, 2026
Size
5,266 bytes
Repository stars
4
License
MIT

国立国会図書館サーチ(NDL Search)の公式API(OpenSearch / SRU)で書誌を検索する。ISBN・タイトル・著者名・任意キーワードでの検索に対応し、タイトル(読み)・著者・出版社・刊行年・資料種別(紙/電子)・書誌IDを返す。APIキー・ログイン不要。図書館の蔵書・貸出状況はcalil-books、全文が読める青空文庫はaozora(採用予定)を使う。購入・書評・在庫(書店)は対象外。.

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

# ndl-books

国立国会図書館サーチの公式APIで、日本のほぼ全ての刊行物の書誌(どんな本が存在するか)を検索するスキル。APIキー・ログイン・ユーザー登録は不要。国立国会図書館はユーザー登録なしで機械可読な書誌データを公開している。

**実測日: 2026-09-29。以下のURL・構造・件数はすべて当日の実測で確認。**

蔵書(どの図書館に実物があるか・貸出中か)はカーリルAPIの `calil-books` を使う。こちらは「存在する本の書誌」専用。

## エンドポイント

| API | URL | 形式 |
| --- | --- | --- |
| OpenSearch | `https://ndlsearch.ndl.go.jp/api/opensearch` | RSS 2.0 (XML) |
| SRU | `https://ndlsearch.ndl.go.jp/api/sru` (`operation=searchRetrieve`) | SRU (XML) |

旧ホスト `iss.ndl.go.jp` は **303 で `ndlsearch.ndl.go.jp` にリダイレクトされる**(2026-09-29実測)。古い手順記事は iss.ndl.go.jp のままのものが多い。今はリダイレクトで動くが、新しい方を直接使う。

## 使い方(ヘルパー)

```bash
python3 ndl-books/lookup.py --isbn 9784101010014
python3 ndl-books/lookup.py --title 雪国 --mediatype books --cnt 5
python3 ndl-books/lookup.py --creator 夏目漱石
python3 ndl-books/lookup.py --keyword 東京 防災
```

JSONで `{total, count, items[]}` を返す。items の各要素は `title` / `title_yomi`(タイトル読み) / `creator` / `creator_yomi` / `publisher` / `date` / `isbn` / `bib_id`(国立国会図書館書誌ID) / `material`(紙・電子など) / `link`(NDL Searchの書誌ページ)。

curl で直接読む場合:

```bash
curl -s "https://ndlsearch.ndl.go.jp/api/opensearch?isbn=9784101010014"
```

## 実測で確認した罠
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tahodev/kurashi-skill/ndl-books@sha256:6ac2435bcae2c0c8

The line at the top of this page pins the label git:20260928.b2230a6, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_kt6sqsase4qynzyf.svg)](https://markdownregistry.com/a/art_kt6sqsase4qynzyf)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 28, 2026.

versioncommittedcommitsizeaudit
git:20260928.b2230a6 latest2026-09-28 b2230a6 5,266 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5266 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

GitHub

tahodev/kurashi-skill · 4 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_kt6sqsase4qynzyf
GET https://markdownregistry.com/api/v1/resolve?ref=tahodev/kurashi-skill/ndl-books
GET https://markdownregistry.com/api/v1/blob/6ac2435bcae2c0c8e574b15ec341cfdd7bb826b4bbaef57d4ce17a26c2cac440

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.

More from tahodev/kurashi-skill

AGENTS.md AGENTS.md file
tahodev/kurashi-skill · AGENTS.md
git:20260908.93d3656 · audit A · 4 stars
address-normalize SKILL.md skill
tahodev/kurashi-skill · address-normalize/SKILL.md · デジタル庁 アドレス・ベース・レジストリ(ABR)の公式マスタ(都道府県・市区町村・町字)で日本の住所文字列を分解・正規化する。全国47都道府県・1,918市区町村・町字レコードを使い、住所から都道府県・市区町村(全国地方公共団体コード)・…
git:20260925.261964d · audit A · 4 stars
air-quality SKILL.md skill
tahodev/kurashi-skill · air-quality/SKILL.md · 環境省の大気汚染物質広域監視システム(AEROS・そらまめくん)から、PM2.5・光化学オキシダントなどの測定値(速報値)を取得する。全国約1,600測定局の最新1時間値・測定局ごとの今日/7日分・都道府県ごとの月次履歴に対応。「今のPM2…
git:20261012.307c400 · audit A · 4 stars
amagumo SKILL.md skill
tahodev/kurashi-skill · amagumo/SKILL.md · 気象庁の雨雲レーダー(解析雨量・降水ナウキャスト)タイルから、今の雨の強さとこの後30〜60分の見通しを調べる。今雨降ってる、雨雲、あとどれくらいで雨、降水ナウキャストの質問に対応。APIキー・ログイン不要。明日以降の天気はjma-weat…
git:20261012.307c400 · audit A · 4 stars
amedas-weather SKILL.md skill
tahodev/kurashi-skill · amedas-weather/SKILL.md · 気象庁のアメダス(地域気象観測システム)最新観測値を取得する。今の気温・湿度・風・降水量・気圧を全国約1,300観測所から調べる。「今の気温」「今の雨量」「今の風」の質問に対応。APIキー・ログイン不要。予報はjma-weather、雨雲の…
git:20261012.307c400 · audit A · 4 stars
aozora SKILL.md skill
tahodev/kurashi-skill · aozora/SKILL.md · 青空文庫の全作品カタログ(公式公開CSV)で著作権切れの文学作品を検索し、本文をプレーンテキストで取得する。タイトル部分一致・著者名・作品IDでの検索に対応し、作品ID・タイトル(読み)・著者・文字遣い種別・著作権フラグ・初出・図書カードU…
git:20260929.fa3784e · audit B · 4 stars
bosai-alert SKILL.md skill
tahodev/kurashi-skill · bosai-alert/SKILL.md · 気象庁の防災情報(地震速報・震度詳細、気象警報・注意報、津波情報)を公開JSONから取得する。地震、震度、警報、注意報、津波の確認に対応。APIキー・ログイン不要。ふだんの天気予報は対象外(jma-weatherを使う)。
git:20261012.307c400 · audit A · 4 stars
bosai-typhoon SKILL.md skill
tahodev/kurashi-skill · bosai-typhoon/SKILL.md · 気象庁の台風情報JSONで現在発生中の台風の有無と情報を確認する。台風、台風何号、台風接近、進路の質問に対応。APIキー・ログイン不要。地震・津波・気象警報はbosai-alert、天気予報はjma-weather、雨雲はamagumoを使…
git:20261012.307c400 · audit A · 4 stars
calil-books SKILL.md skill
tahodev/kurashi-skill · calil-books/SKILL.md · カーリル図書館APIで図書館の蔵書と貸出状況を検索する。蔵書検索、図書館、貸出状況、本を借りたいときに対応。無料APIキーが必要。書籍の購入・電子書籍・国会図書館の検索は対象外。
git:20261012.307c400 · audit A · 4 stars
eew-monitor SKILL.md skill
tahodev/kurashi-skill · eew-monitor/SKILL.md · 緊急地震速報(EEW)の発表状況と直近の地震・津波情報を、キー不要の公開APIから取得する。緊急地震速報、EEW、強震モニタ、今地震あった?に対応。気象庁の確定した発表(震度詳細・警報)はbosai-alert、天気予報はjma-weath…
git:20261012.307c400 · audit A · 4 stars
egov-laws SKILL.md skill
tahodev/kurashi-skill · egov-laws/SKILL.md · e-Gov法令API v2(デジタル庁・認証不要)で日本の現行法令を引く。法令名検索、条文本文の取得(第709条など枝番つきも可)、時点指定(2017-04-01以降)、改正履歴(未施行の改正を含む)、条文本文の全文キーワード検索に対応。法…
git:20261006.05d91fb · audit A · 4 stars
estat-stats SKILL.md skill
tahodev/kurashi-skill · estat-stats/SKILL.md · e-Stat(政府統計の総合窓口)APIで統計表の検索・メタ情報・データ取得を行う。人口、GDP、CPI、統計、調査データに対応。無料のappId(APIキー)が必要。統計表をWebサイトで見たいだけの場合はe-Statのサイトを案内する。
git:20261012.307c400 · audit A · 4 stars

Every file in tahodev/kurashi-skill

Browse by kind, by grade A, or by owner.