/tizen-sdk-skills:tizen-check-nodefrom TIZEN SDK SKILLS
Checks whether Node.js is installed and reports the version and path in a Standard JSON Envelope. Use this skill for any Node.js installation or version query, especially as a prerequisite before Tizen SDK install.
Ships in TIZEN SDK SKILLS. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
If there is no Agent tool (e.g., Cline), go to the "CLI Runner" section below.
tizen-check-node agent via the Agent tool (personal deployment or tizen-sdk-skills:tizen-check-node)json block, with only a 1–2 line summary under it)Use the shipped CLI runner. Find the runner path, then run node on it.
Pick the ONE block for the shell your terminal / tool runs — the prompt tells you: $ is Bash (Linux, macOS, Claude Code's Git Bash on Windows, Codex on Linux / macOS) → Bash block; PS C:\…> is PowerShell (Codex on Windows, Cline PowerShell terminal) → PowerShell block; C:\…> is cmd.exe (Cline cmd.exe terminal) → cmd.exe block. Run that block as-is: a block pasted into another shell, or wrapped in powershell -Command "…", is a parse error.
Run the node line exactly as written and read the JSON envelope it prints to stdout. Do NOT redirect or capture the output (> file, 2>&1 | tee, Out-File, | Out-String), do NOT wrap the line in cmd /c, powershell -Command "…" or any second shell, and do NOT mix shell dialects: %TEMP% and 2>nul are cmd.exe only, $env:TEMP and Out-File are PowerShell only — in the other shell they are literal text or a parse error. A tool message that the command's completion or output "could not be observed / captured" means the terminal is still busy with an earlier command or its shell-integration hooks have broken, not that the runner failed: open a NEW terminal and re-run the SAME line unchanged. Runners that drive em-cli, sdb or a JVM can take 10–30 s and print the envelope only when they exit — wait for it rather than retrying with a redirect.
Bash — Linux / macOS / Ubuntu, and Windows Git Bash (Claude Code):
BASE="$HOME/.cline"; [ -z "${CODEX_THREAD_ID:-}${CODEX_SANDBOX_NETWORK_DISABLED:-}${CODEX_SANDBOX:-}${CODEX_VERSION:-}" ] || BASE="$HOME/.codex"; [ -z "${GEMINI_CLI:-}" ] || BASE="$HOME/.gemini"; [ -z "${CLAUDECODE:-}" ] || BASE="$HOME/.claude"
_tz_o=; [ -z "${ZSH_VERSION:-}" ] || { [[ ! -o nomatch ]] || _tz_o=1; unsetopt nomatch; }; _tz_s=; CLI=; for _tz_d in "$BASE" "$HOME"/.claude "$HOME"/.cline "$HOME"/.codex "$HOME"/.gemini; do [ "$_tz_d" != "$BASE" ] || [ -z "$_tz_s" ] || continue; _tz_s=1; for _tz_f in "$_tz_d"/plugins/cache/tizen-platform/tizen-sdk-skills/*/lib/cli/check-node-cli.js; do [ -f "$_tz_f" ] || continue; _tz_v=${_tz_f#"$_tz_d"/plugins/cache/tizen-platform/tizen-sdk-skills/}; _tz_v=${_tz_v%%/*}; case $_tz_v in *[!0-9.]*|.*|*.|*..*|*.*.*.*) continue ;; *.*.*) ;; *) continue ;; esac; _tz_a=${_tz_v%%.*}; _tz_c=${_tz_v##*.}; _tz_b=${_tz_v#*.}; _tz_b=${_tz_b%.*}; if [ -z "$CLI" ] || [ "$_tz_a" -gt "$_tz_A" ] || { [ "$_tz_a" -eq "$_tz_A" ] && { [ "$_tz_b" -gt "$_tz_B" ] || { [ "$_tz_b" -eq "$_tz_B" ] && [ "$_tz_c" -gt "$_tz_C" ]; }; }; }; then CLI=$_tz_f; _tz_A=$_tz_a; _tz_B=$_tz_b; _tz_C=$_tz_c; fi; done; [ -z "$CLI" ] || break; done; unset _tz_s _tz_d _tz_f _tz_v _tz_a _tz_b _tz_c _tz_A _tz_B _tz_C; [ -z "$_tz_o" ] || setopt nomatch; unset _tz_o
node "$CLI"
PowerShell (Codex CLI on Windows, Cline PowerShell terminal) — prefers this harness's own cache, then the newest version. Run all three lines below, in order, in the SAME PowerShell session: the node line needs the $CLI the lookup line sets (on its own, node "$CLI" … becomes node <first-arg> and fails with a misleading MODULE_NOT_FOUND), so it carries a guard that stops with a clear message when $CLI is empty. Never wrap the lines in powershell -Command "…" (PowerShell and Git Bash expand $h, $CLI and $env:… before the inner shell runs, so the lookup arrives empty):
$h = ".cline"; if ($env:CODEX_THREAD_ID -or $env:CODEX_SANDBOX_NETWORK_DISABLED -or $env:CODEX_SANDBOX -or $env:CODEX_VERSION) { $h = ".codex" }; if ($env:GEMINI_CLI) { $h = ".gemini" }; if ($env:CLAUDECODE) { $h = ".claude" }
$CLI = $null; foreach ($d in @($h, ".claude", ".cline", ".codex", ".gemini")) { $CLI = Get-ChildItem "$env:USERPROFILE\$d\plugins\cache\tizen-platform\tizen-sdk-skills\*\lib\cli\check-node-cli.js" -ErrorAction SilentlyContinue | Sort-Object { [version]$_.Directory.Parent.Parent.Name }, FullName | Select-Object -Last 1 -ExpandProperty FullName; if ($CLI) { break } }
if (-not $CLI) { throw 'tizen-sdk-skills runner not found: $CLI is empty. Run the two lookup lines above in THIS PowerShell session first; if they still find nothing, the tizen-sdk-skills plugin is not installed.' }; node "$CLI"
Windows — cmd.exe terminal only (Cline with a cmd.exe terminal). & and 2>nul are cmd.exe syntax — in a PowerShell terminal run the PowerShell block above instead; Claude Code on Windows runs Git Bash — use the Bash block above. cmd.exe cannot version-sort, so this only lists every copy: pick your own host's highest version and paste it into the node "<found-path>" step below:
cmd /c dir /s /b "%USERPROFILE%\.claude\plugins\cache\tizen-platform\tizen-sdk-skills\*check-node-cli.js" 2>nul & dir /s /b "%USERPROFILE%\.cline\plugins\cache\tizen-platform\tizen-sdk-skills\*check-node-cli.js" 2>nul & dir /s /b "%USERPROFILE%\.codex\plugins\cache\tizen-platform\tizen-sdk-skills\*check-node-cli.js" 2>nul & dir /s /b "%USERPROFILE%\.gemini\plugins\cache\tizen-platform\tizen-sdk-skills\*check-node-cli.js" 2>nul & ver >nul
Pick the highest-version path (the PowerShell form above already resolved $CLI), then:
node "<found-path>"
Runner not found? If none of the
~/.claude,~/.cline,~/.codex,~/.geminicaches contains the runner, the tizen-sdk-skills plugin is NOT installed on this machine — install it first; do not improvise with other tools. (Contributors working inside the tizen-sdk-skills source repository can use the in-repo runner instead:node common/lib/cli/<runner>.js.)
Exit code: 0 = success (Node.js installed, v18+), 1 = failure (Node.js not found, below v18, or error).
process.version / process.execPath) —
the runner being alive is the proof that Node.js is installed. No node --version is spawned
(issue #71: under a sandboxed host the child PATH may lack node while the runner runs fine)where node (Windows) or which node (Linux/macOS) to report on_path; a miss is
only a warning, never a failurenode_version_unsupported failure. A pkg-compiled binary (source: "pkg") embeds its own
Node, which the user cannot upgrade, so the floor is not checked thereprocess | pkg), on_pathSuccess (Node.js installed):
{
"command": "tizen-sdk check-node",
"status": "success",
"result": {
"installed": true,
"version": "v22.11.0",
"path": "C:\\Program Files\\nodejs\\node.exe",
"major_version": 22
},
"warnings": []
}
Success below v22 (e.g. Node 20): same shape, with a warnings entry
"Node.js v20.11.0 is older than the required v22+ … Upgrade to Node.js 22 LTS or later from https://nodejs.org/en/download.",
followed by " Install command (run it yourself in a terminal): <command>" when the source of the
running Node.js is known (see the table below). Report it to the user as an upgrade the SDK skills
need — do not call that Node version fine.
Failure (Node.js not installed) — example from a Linux host with a system Node (no safe
one-line command, so command is null and guide_url is the download page):
{
"command": "tizen-sdk check-node",
"status": "failure",
"errors": [{
"error_code": "TIZEN_SDK_ENV_E001",
"error_category": "node_not_found",
"message": "Node.js is not installed or not on PATH. Tizen SDK CLI runners require Node.js 22+. Please install Node.js LTS from https://nodejs.org/en/download and retry.",
"suggested_fix": {
"command": null,
"auto_fixable": false,
"guide_url": "https://nodejs.org/en/download"
}
}]
}
When the source of the running Node.js is known, command is the matching entry of the table
below instead. A null command means none is known: point the user at guide_url — never make up an
apt / dnf / curl command.
Failure (Node.js below v18): error_code TIZEN_SDK_ENV_E003, error_category
node_version_unsupported, the same suggested_fix as above.
suggested_fix.command and the warning only ever carry a command that changes nothing but Node.js
itself, and only when the runner can tell where the running Node.js comes from (its execPath,
and the version managers' environment variables). These are commands for the user to run in their
own terminal — relay the command or the page; do not run it for them (nvm, for one, is a shell
function that only exists in an interactive shell).
| Where the running Node.js comes from | Command |
|---|---|
nvm ($NVM_DIR, ~/.nvm or ~/.config/nvm) | nvm install 22 && nvm alias default 22 |
nvm-windows (%NVM_HOME% / %NVM_SYMLINK%) | nvm install 22 && nvm use 22 |
| fnm | fnm install 22 && fnm default 22 |
volta (…/volta/tools/image/node/…) | volta install node@22 |
Windows installer (C:\Program Files\nodejs\node.exe, no nvm-windows) | winget install OpenJS.NodeJS.LTS |
macOS, Homebrew's node formula | brew upgrade node |
Anything else — Linux system Node, asdf, mise, n, nodenv, scoop, keg-only node@NN, the nodejs.org .pkg | none (null) — https://nodejs.org/en/download |
A version manager gets its own command because a system-wide install would not replace the Node.js
it puts first on PATH. With nvm-windows installed but not running this Node.js there is no command
either: its symlink is usually C:\Program Files\nodejs, where winget would install.
Linux system installs — what to tell the user:
nodejs package is below 22 on current LTS releases (Node 18 on Ubuntu
24.04 and Debian 12), so apt install nodejs does not reach the floor.nodejs, npm, libnode-dev and versioned libnodeNN packages must be removed
first (dpkg otherwise refuses to overwrite their files), and packages that depend on nodejs go
with them; NodeSource's Node 22 also needs glibc 2.28+ (Ubuntu 20.04+, Debian 10+, RHEL-family 8+).
This is for the user to do in their own terminal.After installing Node.js, restart the terminal (to refresh PATH), then retry the Tizen SDK installation.
The JSON Envelope on the runner's stdout sits inside a tool result, so the user cannot see it (the Claude Code UI collapses Bash/Agent results as "Ran 1 shell command"). The user only sees the final answer text, so on either execution path (subagent delegation or direct CLI Runner execution) the final answer must follow the format below:
json block (first item).result, or the gist of errors[0].message).errors[0].message/details; show what is inside the JSON as-is.user_input_required Envelope as-is, then ask the user.Scope check:
sdk-install-cli.js checks Node.js automatically. No separate run needed.Suggested next steps (only when user asks):
tizen-sdk-install (install the Tizen SDK — checks Node.js automatically)tizen-check-disk-space (verify disk space before SDK installation)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
33 skills in this plugin
/tizen-build-projectBuild a Tizen app/project (Native, DotNET, WebApp, standalone RPK resource package, or Platform/GBS). TRIGGERS — 빌드, 빌드해줘, 앱 빌드, 앱 빌드해줘, 프로젝트 빌드, 타이젠 빌드, 타이젠 앱 빌드, RPK 빌드, build, build app, build the app, build project, tz build, gbs build, build native/dotnet/webapp/rpk/platform. When the user asks to build, ROUTE HERE FIRST and follow this skill — do NOT run SDK tools by hand or debug PATH yourself; this skill's CLI runner detects the type and builds/packages correctly./tizen-certificate-managerManage Tizen certificates (local self-signed and Samsung online-CA) and signing profiles, including generation, Samsung Account login, distributor selection, profile lifecycle, import, and inspection./tizen-check-disk-spaceCheck disk space, disk space check, 디스크 공간 확인, 용량 확인, storage check, 설치 전 공간 확인, disk space, free space. Use this skill to verify available disk space before installing the Tizen SDK. Runs a quick CLI runner that checks free space on the target drive and returns a Standard JSON Envelope with disk info. Recommended before tizen-sdk-install./tizen-create-emulatorTizen create emulator, 타이젠 에뮬레이터 생성, custom emulator, 커스텀 에뮬레이터, em-cli, 에뮬레이터 만들기, 에뮬레이터 VM 생성, emulator VM create, 에뮬레이터 사이즈, 에뮬레이터 해상도, emulator size, emulator resolution, 1080 에뮬레이터, 720 에뮬레이터, list platforms, list emulator templates, 에뮬레이터 템플릿, list VMs, list emulators, available emulators, 에뮬레이터 목록, delete emulator, 에뮬레이터 삭제, TV 에뮬레이터 생성, Samsung TV emulator create. Use this skill to CREATE a custom Tizen emulator VM with a user-selected screen size (default 1080) plus configurable platform and profile via em-cli. Lists screen sizes/platforms/templates/VMs, creates and deletes VMs. ANY "list the available / existing emulators" request ROUTES HERE — it is `list-vm --detail`, never a manual search or a raw em-cli call; report each VM's `profile` from the envelope (tizen-* is the unified tizen profile, not Mobile). Templates here are EMULATOR VM templates — for APP/project templates, use tizen-create-project instead. For LAUNCHING (booting) an existing emulator VM, use tizen-launch-emulator instead./tizen-create-projectCreate Tizen project or app, tizen create project, RPK resource project, 타이젠 프로젝트 생성, 타이젠 앱 생성, 타이젠 리소스 패키지 생성, 타이젠 앱 만들어줘, 웹앱 만들어줘, 웹앱 생성, 네이티브 앱 만들어줘, 닷넷 앱 만들어줘, Tizen 프로젝트 만들기, 앱 생성, make a tizen app, create webapp, import wgt, WGT 가져오기, wgt 임포트, wgt to project, 앱 템플릿, 타이젠 앱 템플릿, 앱 템플릿 알려줘, 프로젝트 템플릿, app templates, project templates, list app templates, 프로젝트 삭제, 프로젝트 삭제해줘, 타이젠 프로젝트 삭제, 프로젝트 지워줘, 프로젝트 폴더 삭제, 프로젝트 정리, delete project, delete tizen project, remove project, clean up projects. Owns the whole project-directory lifecycle through the shipped CLI runner on the SDK host — create (Native, DotNET, WebApp, standalone RPK, TV, Platform) from real SDK templates, list-templates, import-wgt, delete. NEVER hand-write config.xml / tizen-manifest.xml, unzip a .wgt, or rm -rf / Remove-Item a project yourself — ALWAYS use this skill. Emulator VM templates (screen sizes) belong to tizen-create-emulator; a bare "템플릿" needs a clarifying question. Full routing rules are in the body./tizen-device-managerTizen device manager, 타이젠 디바이스 관리, 디바이스 연결, 에뮬레이터 종료, sdb devices, emulator stop, 디바이스 찾기, 에뮬레이터 중지, TV 에뮬레이터, 타이젠 TV 에뮬레이터, Samsung TV emulator, TV emulator, TV 에뮬. Use this skill ONLY to find connected Tizen devices via sdb (one device, or ALL of them with `list` — "show all connected devices", "연결된 디바이스 전체 목록") or to stop/shut down running emulator VMs. NOT for problem reports — a crash, error, freeze, high CPU usage, memory growth, video/audio not playing, slow emulator, or any "investigate / analyze this issue" request belongs to tizen-dlog-analyzer even when the sentence mentions the emulator or device (its runner detects the device itself). For creating an emulator VM — and for LISTING the existing / available emulator VMs ("list emulators", "에뮬레이터 목록": `list-vm`) — use tizen-create-emulator. For launching an existing emulator VM, use tizen-launch-emulator. Supports both standard Tizen and Samsung TV emulator profiles.npx claudepluginhub samsung/tizen-agent-skills --plugin tizen-sdk-skillsOther plugins' skills for the same job