Skip to content
Agentmart
Submit a tool

linkml-schema

How to edit the LinkML schema in schema/*.yaml and why tvbo/datamodel/** is generated and must never be hand-edited.

Skill by virtual-twin

IndexedEUPL-1.2★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/virtual-twin-linkml-schema

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

How to edit the LinkML schema in schema/*.yaml and why tvbo/datamodel/** is generated and must never be hand-edited.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/linkml-schema

What's inside

Skill name
linkml-schema
Description
How to edit the LinkML schema in schema/*.yaml and why tvbo/datamodel/** is generated and must never be hand-edited.
License
EUPL-1.2
Instructions
31 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# LinkML Schema

The TVBO datamodel is defined in **LinkML** YAML in `schema/` and *generated* into Python types under `tvbo/datamodel/`.

## What is canonical

- `schema/common.yaml`, `schema/SANDS.yaml`, `schema/openMINDS_tvbo/**` — hand-written LinkML definitions.
- `tvbo/datamodel/pydantic.py`, `tvbo/datamodel/schema.py` — **generated**. Do not edit.

`pyproject.toml` makes this explicit:

- `tool.ruff.extend-exclude` includes `tvbo/datamodel/**`
- `tool.ruff.lint.exclude` includes `tvbo/datamodel/**`
- `tool.mypy.exclude` includes `tvbo/datamodel/`

If your diff touches `tvbo/datamodel/**` *and* anything else, that is a bug — split the change.

## Editing the schema

1. Edit the appropriate `schema/*.yaml`.
2. Regenerate the Python types via the LinkML pipeline (see `Makefile` / CI).
3. Commit both the schema change *and* the regenerated `tvbo/datamodel/**` in the same commit.

Never patch the generated file directly — the next regeneration will silently revert it.

## When in doubt

- LinkML 1.11+ is required. See `dependencies` in `pyproject.toml`.
- The LinkML schema is the source of truth for what fields a `SimulationExperiment`, `Dynamics`, `Network`, etc. accept. Class implementations in `tvbo/classes/` should match.

From virtual-twin/tvbo, EUPL-1.2.

More from virtual-twin/tvbo

Signals

Stars
5
Forks
1
Open issues
13
Last commit (this folder)
May 15, 2026 (5 months ago)
Last release
Jul 9, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
EUPL-1.2
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from virtual-twin

Cite this page

linkml-schema skill. Agent Mart. https://agentmart.dev/skills/virtual-twin-linkml-schema (last updated 2026-10-24)