jetson-init-source
БесплатноБез исполняемых скриптовНе проверенSet up the BSP source workspace: Linux_for_Tegra overlay tracker, bsp_sources, Crosstool-NG toolchain. Use after jetson-init-image; not for fetching inputs.
от NVIDIA★ 4 269 звёзд на GitHubОб этом скилле
Initialize BSP Customization Workspace
Overview
This skill bootstraps the source-side workspace that customize-* / build
skills depend on: the Linux_for_Tegra overlay tracker (git repo for
pristine + customization commits), the bsp_sources/ mono-tree (kernel,
OOT, nvgpu, display, hwpm, hardware DTs), and a working NVIDIA
Crosstool-NG cross-compile prefix. It owns only the source: block in
the active profile and the on-disk source workspace under
<source.root_path> (default: <workspace>/Source).
Responsibilities:
- Optionally record a non-default
source.root_path. - Create or mount the
Linux_for_Tegraoverlay tracker. - Materialize
bsp_sourcesusing the precedence in the "Materialize the BSP-sources baseline" step. - Resolve and record
source.toolchain. - Clone extra user-defined repos from
source.repos:.
When to invoke
- The user asks to bootstrap, init, or sync the BSP customization workspace.
- A downstream customization skill refused with "no workspace
tracker at
<source.root_path>/Linux_for_Tegra/". - After
jetson-init-image(Setup's next step on a fresh target).
Procedure
Quick-start prefill mapping
Follow the shared
quick_start_prefill contract.
This skill has source-specific mappings:
quick_start_prefill.source.public_sources_archivemaps to the Branch-A archive candidate.quick_start_prefill.source.reposmaps to proposedsource.repos:entries; validate reserved keys andurl:/archive:mutual exclusion before writing.quick_start_prefill.source.toolchainmay be a cross-compile prefix, agccpath, a containingbin/directory, anx-tools.tbz2archive path, orskip.
This skill remains the only owner of source.root_path, source.repos:,
and source.toolchain profile writes.
Resolve the active target + paths
Resolve the active profile + workspace defaults per the contract in
../../context/target-platform-contract.md.
- Refuse if
<bsp_image.root_path>does not containLinux_for_Tegra/(BSP not extracted — route to/jetson-init-image). - If the profile has
source.root_path:, use it. Otherwise<source.root_path>defaults to<workspace>/Source; use that default silently and do not writesource.root_path:to the profile. Ask only for an explicit custom path, unrelated content at the default path, or an unwritable parent.
Read source.repos: (if present) into a map keyed by entry name,
each carrying optional url, ref, subdir, path. Reserved keys:
Linux_for_Tegra (overlay tracker), bsp_sources (kernel-source
repo). Every other key is an extra user-defined repo.
(Optional) prompt for source.root_path override
Only when source.root_path is absent from the profile and one of the
override conditions above applies:
source.root_path: default =<workspace>/Source. Press Enter to accept, or enter an absolute path to override.
- On Enter — keep the default; do not touch the profile.
- On override path — validate the closest existing parent is
writable; refuse and re-prompt if not. Edit
target-platform/<active>.yamlin place to add/updatesource.root_path:. Preserve all other blocks, comments, and quoting — use a round-tripping YAML loader (e.g.ruamel.yaml).
Fires at most once per profile. Otherwise create <workspace>/Source as
needed and continue without prompting.
Materialize Linux_for_Tegra
Mount path is canonical: <source.root_path>/Linux_for_Tegra/.
Default (no source.repos.Linux_for_Tegra entry):
LFT="<source.root_path>/Linux_for_Tegra"
mkdir -p "$LFT"
[ -d "$LFT/.git" ] || git -C "$LFT" init
Empty tracker. Do not commit anything here — pristine imports happen file-by-file when customization skills run.
Override (url, ref, optional subdir):
# Clone the user's repo to a side location, then mount the
# expected tree (subdir or repo root) at the canonical path.
CLONE="<source.root_path>/.repos/Linux_for_Tegra"
git clone <url> -b <ref> "$CLONE"
ln -s "$CLONE/<subdir or .>" "<source.root_path>/Linux_for_Tegra"
If the mount already exists with valid git state, skip; refuse if it exists with unrelated content.
Materialize the BSP-sources baseline
Three branches, dispatched in precedence order against the
profile entry source.repos.bsp_sources:
| Order | Profile state | Branch |
|---|---|---|
| 1 | url: set |
C. Customer git clone (explicit override always wins) |
| 2 | archive: set, OR entry absent AND <workspace>/Downloads/public_sources.tbz2 exists |
A. Local archive extraction (default) |
| 3 | Entry absent AND no local archive | B. source_sync.sh (fallback) |
url: and archive: are mutually exclusive — refuse if both are
set in the same entry.
Branch A is the preferred default because it
Установить jetson-init-source в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл jetson-init-source?
Set up the BSP source workspace: Linux_for_Tegra overlay tracker, bsp_sources, Crosstool-NG toolchain. Use after jetson-init-image; not for fetching inputs.
Как установить скилл jetson-init-source?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл jetson-init-source запускает скрипты?
Нет, скилл состоит только из инструкций (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