kernel-lore-search
БесплатноБез исполняемых скриптовНе проверенSearch kernel mailing lists via lore git mirrors. Use when checking prior art before a report, verifying a quote, or finding a sent message.
от laurigates★ 61 звезда на GitHubОб этом скилле
Kernel Lore Search
lore.kernel.org archives every kernel mailing list. Its web pages and search sit behind a bot challenge, so an agent reads lore through the public-inbox git mirrors instead: each list is a git repository in which every commit is one message.
When to Use This Skill
| Use this skill when... | Use something else when... |
|---|---|
| Checking whether a problem was reported or patched before | Reading the code itself at a tag: /kernel:source-history |
| Verifying a quote before citing a maintainer | Searching GitHub issues of a userspace project: git-plugin:github-issue-search |
| Confirming your own message reached the archive | Writing or sending the report: /kernel:list-report |
1. Use the Mirror, Not the Web Interface
WebFetch on lore gets a 403 or a challenge page. Sending a fake user agent to
get past the challenge is bot-check circumvention: Claude Code's auto-mode
classifier blocks it, and it should not be worked around. Cloning the mirror
with plain git is the documented way in.
2. Find the Epochs and Clone
Large lists are split into numbered epochs, newest highest. Probe until one is missing:
for e in 0 1 2 3; do printf 'epoch %s: ' "$e"; git ls-remote "https://lore.kernel.org/linux-btrfs/$e" HEAD 2>&1 | head -1 | cut -c1-12; done
git clone -q --mirror https://lore.kernel.org/linux-xfs/git/0.git linux-xfs-0.git
- Both
https://lore.kernel.org/<list>/<N>andhttps://lore.kernel.org/<list>/git/<N>.gitworked as clone URLs. - Partial clone does not help:
--filter=blob:noneprintedfiltering not recognized by server, ignoringand fetched everything. The full linux-xfs epoch 0 holds about 174,000 messages (2006–2026). - Update an existing clone with
git fetch origin; it is fast.
3. Search
Each commit's subject is the message subject, its author the sender, and the
raw RFC 822 message is the blob m in its tree.
cd linux-xfs-0.git
git log --all --format='%H %ad %s' --date=short --since=2021-01-23 --until=2021-01-26 | grep -i 'reflink/subvol'
git show <commit>:m | grep -i -m3 '^From:\|^Date:\|^Message-ID:'
git show <commit>:m | grep -i -B1 -A1 'diagnostic we use'
- Subject and date filters run on
git logand are fast. - Body search means reading
mblobs: loopgit show <c>:mover the candidates from a subject or date filter, or script a full pass for prior-art sweeps (the 2026-11 sweep regex-searched all 174k linux-xfs messages with a Python script; that script is not part of this skill). - Cross-list search on lore's
/all/index is web-only. Clone the other lists that matter (linux-fsdevel, linux-btrfs, linux-mm) instead.
4. Control-Test Every Negative
"Nobody reported this" gates a report, so prove the search can find things:
- Run a query you know must hit (
reflinkreturned 12,518 linux-xfs messages) and report the count beside the empty ones. - Before concluding a recent message is absent, look at the newest commits:
git log --all -3 --format='%ad %s' --date=iso. In 2026-11 a--since/--grepfilter returned nothing for a message sent minutes earlier whilegit log --all -3showed it at the top; the filter, not the archive, was wrong.
5. Verify Quotes Before Citing Them
A research agent's summary of a thread is a claim. Before a quote goes into a
report: find the message in the mirror, check the From: line, and grep the
exact words in its body, excluding lines that start with > (quoted text from
someone else). Cite the lore URL, which is the Message-ID without angle
brackets: https://lore.kernel.org/<list>/<message-id>/.
6. Confirm a Sent Message Was Archived
After git send-email returns Result: 250, the archive is the proof that the
list received it:
git -C linux-xfs-0.git fetch -q origin
c=$(git -C linux-xfs-0.git log --all -1 --format=%H)
git -C linux-xfs-0.git show "$c:m" | grep -m4 -i '^Message-ID:\|^From:\|^To:\|^Cc:'
In 2026-11 it was in the mirror within six minutes of sending. Record the Message-ID and the lore URL where the investigation is tracked.
7. Kernel Bugzilla
bugzilla.kernel.org has a REST API, for example
https://bugzilla.kernel.org/rest/bug?product=File%20System&component=XFS&summary=fiemap.
Many subsystems, XFS among them, work on the mailing list rather than in
bugzilla, so an empty result there is weak evidence. (A research agent used the
API in 2026-11; the URL shape here is from its report, not re-run.)
Agentic Optimizations
| Context | Command |
|---|---|
| Which epochs exist | git ls-remote https://lore.kernel.org/<list>/<N> HEAD |
| Messages by subject in a window | git log --all --format='%H %ad %s' --date=short --since=<d> --until=<d> | grep -i '<words>' |
| Headers of one message | git show <c>:m | grep -m4 -i '^From:|^Date:|^Message-ID:|^Subject:' |
| Newest messages (control) | git log --all -3 --format='%ad %s' --date=iso |
| Permanent link | `https://lore.kernel |
Установить kernel-lore-search в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(git ls-remote *)Bash(git clone *)Bash(git fetch *)Bash(git log *)Bash(git show *)Bash(grep *)ReadGrepGlobFAQ
Что делает скилл kernel-lore-search?
Search kernel mailing lists via lore git mirrors. Use when checking prior art before a report, verifying a quote, or finding a sent message.
Как установить скилл kernel-lore-search?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл kernel-lore-search запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic