lab-knowledge
Searches the laboratory's git knowledge base and writes into it through a pull request on a claim. Use when the user asks what the lab knows about something…
от shkodnik1917★ 37 звёзд на GitHub
Установить lab-knowledge в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Lab Knowledge
Read the base from the local clone of the work (grep, git log, git show); there is no reading server any more, it was removed on 05-10-2026 because nobody used it. Personal Obsidian notes, agent history
and the laboratory's shared records have different owners and purposes.
Find what the laboratory knows
Search the clone, with grep and git log. There is no search service: the one that
existed lived on Postgres embeddings and was deleted on 07-10-2026 together with its base.
A work is a git repository, so grep -rn "<term>" <work>/claims/ and git log -S"<number>"
answer faster than any index, and they never return a stale snapshot. Papers of the library
are files too: <theme>/literature/ holds one page per paper, named by its citation key.
For the laboratory's own knowledge, read the clone: grep and git log over
<work>/claims/, which is checked out locally. That is faster than any search call and it is
the same bytes the reviewer sees. There is no typed index and no read API: the directory
listing of claims/ is the index, and the first line of each README.md is the claim.
A closed task is not a confirmed claim. Verify changeable facts against their current source before reporting them as current. A read-only question must not cause writes.
Return the supporting public codes, shared links, and any uncertainty. Do not publish local paths, private transcripts, or credentials as provenance.
Start with the manuscript and the code, not with the claims
A work that has a paper and a training repository brings them into the work itself, as submodules, before a single claim is written:
git submodule add https://git.overleaf.com/<id> paper/<work>
git submodule add <git url of the training code> code/<name>
git commit -F - # say what was connected and where it came from
The repository then stores a pointer, lab here brings the text, and both are named in the
README in backticks. They are not gitignored and not pasted as a link in prose: a reader, a
gate and an agent all need to open them, not to be told they exist.
Why this comes first. Claims, runs and series are then derived from material that is in
hand. Every number copied out of the paper carries the address it came from — the table or
figure label, not the word «рукопись» — and that address can be opened and checked on the
spot. Measured 13-10-2026 on spectral-wd: with the manuscript pulled, four of its numbers
turned out not to be in the paper's tables at all, one was attributed to a 124M model where
the paper's caption says 257M, and the claim «the manuscript has no experiments» proved
false — it had been written from an older version someone had sent. None of that is visible
while paper/ is an empty folder.
Before writing anything, check they are actually there, because an unpulled submodule looks exactly like an absent one:
git submodule update --init --recursive
find paper -name '*.tex' | head # empty output means not pulled, not «no manuscript»
If the work has no paper or no code yet, say so in the README in one line and name who has them. That is a debt with an owner, not a silence.
Существующий проект → работа
A project that already lives as a folder — manuscript, logs, notes, code, call transcripts —
becomes a work in two halves. Knowledge goes to GitLab as claims/ by merge request.
Personal material stays on the machine, copied into the local-only folders of the work's own
clone in the tree, so the owner's ~/brainlab looks the same for this work as for every
other one. One clone, in the tree; never a clone in ~/.cache, never a token in a URL.
The layout of a work (handbook tools/gitlab.md, «Как разложена работа»): what lies in a
folder itself is shared and goes to GitLab; its drafts/, local/ or raw/ subfolder stays
on the machine.
| from the old project | into the work | in GitLab |
|---|---|---|
| claims, runs, series, derivations, figures | claims/H-…/ |
yes, by merge request |
| manuscript (Overleaf) | paper/<work> submodule |
yes |
| training code | code/<name> submodule |
yes |
| poster, posts | socials/ |
yes |
| what a call decided | calls/<DD-MM-YYYY>.md |
yes |
| notes, plans, hypotheses, tool settings | notes/ |
no |
| diary | daily/ |
no |
| raw logs, dumps, notebooks, result pictures | runs/ (root shelf) |
no |
| old manuscripts and editions | paper/drafts/ |
no |
| working code, local clones | code/local/ |
no |
| recordings and transcripts | calls/raw/ |
no |
The flow:
- The work exists in GitLab, created empty and
internalin its theme's group (thecreate-projectskill), with a README whose**Ведут**line names the lead. lab here <work>puts the clone at~/brainlab/<direction>/<theme>/<work>, closesnotes/,daily/,/runs/,paper/drafts/,code/local/,calls/raw/in.git/info/exclude, and sets the push options: `merge_request.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/acceptance.md
- references/claim-page.md
- references/library.md
- references/publishing.md
- references/record-contract.md
- references/what-is-a-claim.md
- references/writing-in-git.md
- scripts/lab_run.py
- scripts/lab_wandb.py
FAQ
Что делает скилл lab-knowledge?
Searches the laboratory's git knowledge base and writes into it through a pull request on a claim. Use when the user asks what the lab knows about something, or when work produces something the lab should keep — a finished run, a series of runs with a verdict, a derivation, a new claim, or a correction to one. Also use before writing anything into a work repository, the handbook or the journal, because it carries the canon of rules that the proposal gates enforce.
Как установить скилл lab-knowledge?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lab-knowledge запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…