openharmony-download

Download OpenHarmony source code with mirror, branch, and directory selection.

31|6|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill openharmony-download
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openharmony-download
Source: https://github.com/openharmonyinsight/openharmony-skills/tree/main/skills/openharmony-download
Command: npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill openharmony-download

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you reliably download the OpenHarmony source code by guiding the user to choose a mirror, verify the local environment, select a branch, and complete the sync with real-time progress and integrity verification instead of manually dealing with setup failures and incomplete checkouts.

Core Features & Use Cases

  • Interactive mirror/branch/directory selection: Collects required inputs through single-choice prompts to reduce configuration mistakes.
  • Environment pre-check with remediation: Runs step-by-step checks for git, git-lfs, python3, curl, repo tool, git config, and disk space, and provides installation guidance when checks fail.
  • Foreground download with verification: Executes repo init + repo sync and then pulls LFS objects, followed by a completeness verification routine that checks key directories, important files, repo status, and disk/storage constraints.

Use Case: When a developer needs to fetch OpenHarmony (e.g., master or a specific release like OpenHarmony-5.0.3-Release) on a fresh machine, this Skill ensures the prerequisites are present and reduces the risk of missing repositories or LFS artifacts before the build starts.

Quick Start

Ask the AI to download OpenHarmony by selecting an appropriate mirror source, branch, and destination directory for your system.

Frequently Asked Questions about openharmony-download

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download OpenHarmony source code from a specific mirror like GitCode or Gitee?

To download OpenHarmony source code, you can use an interactive setup that guides you through selecting a mirror from GitCode, Gitee, or GitHub, choosing a specific branch, and setting a destination directory to reduce configuration errors.

What environment checks are required before running repo sync for OpenHarmony?

Before running repo sync for OpenHarmony, required environment checks include verifying git, git-lfs, python3, curl, the repo tool, git config, and disk space, with installation guidance provided if any checks fail.

Can I fetch a specific release like OpenHarmony-5.0.3-Release on a fresh machine?

Yes, you can fetch specific releases like OpenHarmony-5.0.3-Release on a fresh machine through interactive branch selection, which ensures all prerequisites are present before initiating the download.

How does the OpenHarmony download process handle large file storage and verify integrity?

The OpenHarmony download process handles large files by pulling git-lfs objects after repo sync, followed by a completeness verification routine that checks key directories, important files, repo status, and disk constraints.

What is the best way to ensure my OpenHarmony build preparation doesn't fail due to missing repositories?

The best way to ensure OpenHarmony build preparation avoids missing repositories is to use a guided foreground download with interactive prompts and post-download integrity verification to confirm all components are present.

Why does repo sync fail with incomplete checkouts during OpenHarmony environment recovery?

Repo sync may fail with incomplete checkouts during OpenHarmony environment recovery due to missing prerequisites, inadequate disk space, or unconfigured git-lfs, which guided environment checks and remediation steps can resolve.