tizen-download-mobile-platform
Download Tizen Mobile platform, 모바일 플랫폼 다운로드, MOBILE platform download, IOT-Headed extension download, download MOBILE-{version}, download IOT-Headed extension. Use this skill to download and install the Tizen Mobile platform package (MOBILE-{version}) from the Tizen package repository, with optional IOT-Headed extension support.
Samsung Electronics · Static checks on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add Samsung/tizen-agent-skills --skill tizen-download-mobile-platformAbout this skill
name: tizen-download-mobile-platform description: Download Tizen Mobile platform, 모바일 플랫폼 다운로드, MOBILE platform download, IOT-Headed extension download, download MOBILE-{version}, download IOT-Headed extension. Use this skill to download and install the Tizen Mobile platform package (MOBILE-{version}) from the Tizen package repository, with optional IOT-Headed extension support. metadata: author: Samsung Electronics last-updated: "2026-08-13" keywords: - Tizen Mobile platform - MOBILE platform download - IOT-Headed extension - 타이젠 모바일 플랫폼 - 모바일 플랫폼 다운로드 - extension_info.xml - IoT Headed repository
Claude Code (서브에이전트 위임)
Agent tool 이 없으면 (예: Cline) 아래 "CLI Runner" 섹션으로 가세요.
- Agent tool 로
tizen-download-mobile-platform에이전트 호출 - 수집된 입력 (platform_version, include_iot_headed, iot_headed_version, force 옵션) 을 프롬프트로 전달
- 서브에이전트의 JSON Envelope를 그대로 사용자에게 전달 — 아래 "결과 보고" 규칙을 따른다
(fenced
json블록으로 원문을 싣고, 그 아래 요약은 1~2줄만)
Prerequisite: Tizen SDK must be installed
모바일 플랫폼 패키지는 Tizen SDK 의 확장 패키지이므로, Tizen SDK 가 먼저 설치되어 있어야 합니다.
- Tizen SDK 설치됨 → 모바일 플랫폼 패키지 다운로드 진행
- Tizen SDK 미설치 → 설치 중단, 에러 envelope 반환:
- "Tizen SDK 가 먼저 설치되어야 합니다. tizen-sdk-install 스킬을 사용하여 SDK 를 설치하세요."
downloadMobilePlatform() Flow
1. Tizen SDK 설치 여부 확인 (sdk.info) ← 미설치 시 중단
2. 모바일 플랫폼 패키지 이미 설치? (.mobile-platform-installed 마커) ← 설치 시 success 반환
3. 모바일 플랫폼 패키지 다운로드 스크립트 명령 반환 (suggested_fix) — 에이전트가 Phase 2 로 실행
What the download script does
- Reads the CDN mirror URL from
{TIZEN_SDK_PATH}/.package/repository.info(written during SDK install). Falls back to the official repo if the file is missing. - Downloads
{PKG_REPO_URL}/pkg_list_{OS}-{32,64}from the Tizen package repository - Parses the package list (Package, Version, Path, Install-dependency, etc.)
- If
--platform-versionis specified, targetsMOBILE-{version}; otherwise auto-detects the latest MOBILE-X.Y platform - Recursively resolves all Install-dependency packages of the Mobile platform package
- Downloads each package zip from
{PKG_REPO_URL}{Path}and extracts/mergesdata/into the SDK root - Creates
.mobile-platform-installedmarker on success
IOT-Headed Extension Download Flow (when --include-iot-headed)
- Downloads
{PKG_REPO_URL}/extension_info.xml. IfPKG_REPO_URLis a custom repository (fromrepository.info) that does not serve this file, falls back tohttps://download.tizen.org/sdk/tizenstudio/official/extension_info.xml - Parses the XML to extract the IoT Headed repository URL:
- Looks for
<extension name="IoT-Headed"><repository>URL</repository></extension>
- Looks for
- Downloads
{IOT_REPO_URL}/pkg_list_{OS}-{32,64}from the IoT repository - Auto-detects or uses specified
IOT-Headed-{version}package - Recursively resolves all Install-dependency packages
- Downloads and merges IOT-Headed packages into SDK root
- Updates
.mobile-platform-installedmarker with IOT-Headed status
repository.info
During SDK install, a CDN mirror is automatically selected based on the system timezone and stored in .package/repository.info. The Mobile platform package downloader reads this file to download from the same mirror — no further timezone check is needed. If repository.info is missing (e.g., SDK was installed before this feature), the downloader falls back to the official repository (https://download.tizen.org/sdk/tizenstudio/official).
CLI Runner (Cline / Claude Code — Phase 1: Pre-check)
This CLI is a pre-check, not the installer. It finishes in seconds. Run in foreground — NEVER with run_in_background: true.
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/download-mobile-platform-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"
Read the complete source ↗