dismech-terms
БесплатноБез исполняемых скриптовНе проверенSelect, add, validate, review, or repair ontology bindings and derived term caches in dismech. Use when changing term IDs, canonical labels, preferred_term…
Об этом скилле
Curate Ontology Terms
Follow the session-wide ontology and cache contract in CLAUDE.md. Use this
workflow for each concrete term decision.
Core workflow
1. Inspect the field and its range
Read the relevant slot or class in src/dismech/schema/dismech.yaml. Determine:
- which descriptor or term field owns the binding;
- which ontology prefixes the schema permits;
- whether the field is constrained by a dynamic enum and
reachable_from; - whether a dedicated qualifier or category slot already captures part of the intended meaning.
Do not infer validity from similar-looking entries alone. Nearby entries are useful examples, but the schema and ontology remain authoritative.
2. Choose the validator's ontology source
Check conf/oak_config.yaml before looking up a term. Automated validation uses
the adapter configured there and is cache-first.
For prefixes configured with OLS, use OLS for a lightweight search or a local
SQLite build when definitions, relationships, or -O obo output are needed:
uv run runoak -i ols:hp search "cognitive impairment"
uv run runoak -i ols:hp info HP:0002014
uv run runoak -i sqlite:obo:hp info HP:0002014 -O obo
-O obo is not implemented by OLS adapters. A local inspection adapter may
differ from the configured validation adapter, so never mechanically replace
one with the other.
ECTO and XCO are pinned local exceptions. Read Exposure-term decisions before selecting or changing those bindings.
3. Search, inspect, and choose
Search broadly enough to find synonyms, then inspect candidate definitions and ancestry:
uv run runoak -i ols:cl search "regulatory T cell"
uv run runoak -i sqlite:obo:cl info CL:0000815 -O obo
uv run runoak -i sqlite:obo:cl ancestors CL:0000815 -p i
Choose the most specific term that accurately represents the curated claim.
Do not choose a narrow term merely because it is available. If only a broad
ontology term fits, bind that term and use preferred_term for justified
human-readable specificity.
3a. "Nothing more specific exists" is a checkable claim — write the query (dismech#7835)
The step above ends in a broad binding often enough that the note explaining it
has become routine, and that is where this failure mode lives: an entry binds an
over-broad term and adds a notes: sentence asserting a search was run and found
nothing finer. The binding is wrong and its justification is false.
The defect is in the audit trail, not in the data, so nothing catches it. The
bound term is real, its label matches, and it is inside the enum root — so
just validate-terms passes, and so does every other check in the stack. The note
makes it worse rather than better: a bare over-broad binding is a small error a
reviewer might spot, whereas an over-broad binding plus "I checked, nothing finer
exists" hands the reviewer an explicit reason to skip the one check that would
catch it. Only a semantic re-check finds it.
Three confirmed instances came out of a single batch of ten freshly curated
entries. In each, an independent verifier re-ran the search the note claimed had
been run and found an exact match: UBERON:0014527 posterior limb of internal
capsule (bound as the whole capsule UBERON:0001887), NCIT:C80435 (bound as the
branch root NCIT:C49236 Therapeutic Procedure), and HP:0004890 Elevated
pulmonary artery pressure (asserted to be unavailable). All three were corrected
before their PRs merged, so main has never carried them.
- Write the query you ran, verbatim and re-runnable, plus what it returned —
not a bare assertion that searching happened.
KLHL24-Related_Hypertrophic_Cardiomyopathy.yamlis the worked example: it namesrunoak -i sqlite:obo:ncit search 't~defibrillator'and the term that came back, so the next reader re-runs it in one paste instead of guessing what was searched for. Then re-run it yourself, immediately before you commit the note. Naming a re-runnable query does not make the note true: the query is the half a reader can check, and its reported output is the half that can be false.Digitalis_Poisoningreached review with a note naming five ECTO searches (l~digitalis,l~digoxin,l~glycoside,l~oleander,l~foxglove) and concluding ECTO had no cardiac-glycoside, digitalis or oleander exposure class — wherel~glycoside, one of the five, returnsECTO:9000436 exposure to glycoside, andl~digitalinreturnsECTO:9000003 exposure to digitalin(#12307). The searches had been written down without being read back. - Prefer no note to an unverified note. If you did not run the search, silence is the honest output. Never write a verification sentence to satisfy the instruction to document verification.
- State the relation you did check, not the absence you did not. The strongest form o
Установить dismech-terms в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dismech-terms?
Select, add, validate, review, or repair ontology bindings and derived term caches in dismech. Use when changing term IDs, canonical labels, preferred_term values, enum meaning mappings, phenotype, cell-type, biological-process, disease, anatomy, exposure, or treatment annotations; choosing an OAK adapter; resolving label or dynamic-enum failures; handling ECTO/XCO terms; or diagnosing cache integrity and ordering problems.
Как установить скилл dismech-terms?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dismech-terms запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic