본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)11k · #11838

skypilot

하는 일

이 스킬은 SkyPilot으로 클라우드 기계에서 AI 작업을 실행하는 과정을 AI에게 안내합니다. 모델을 학습, 미세 조정, 서비스하면서 저렴하거나 이용 가능한 컴퓨팅을 원하는 사람들을 위한 것입니다.

사용하는 경우

  • ✓모델 학습이나 미세 조정을 위해 GPU나 TPU 기계가 필요할 때.
  • ✓여러 클라우드에 걸쳐 자동 확장되는 모델 서비스를 원할 때.
  • ✓여러 클라우드 제공업체의 GPU 가격을 비교하고 싶은 경우.

스킬 링크

https://github.com/skypilot-org/skypilot/blob/master/agent/skills/skypilot/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/skypilot-org/skypilot/blob/master/agent/skills/skypilot/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“클라우드 GPU에서 모델을 미세 조정하고 싶습니다. 여러 업체 중 가장 저렴한 곳을 찾아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 기계와 작업을 설명하는 SkyPilot 작업 파일을 작성한 뒤, 클라우드, Kubernetes 또는 Slurm 시스템에서 실행합니다. 더 저렴한 스팟 인스턴스를 사용할 수 있고, 실행 중인 작업도 추적합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

SkyPilot Skill

SkyPilot is a unified framework to run AI workloads on any cloud, Slurm or Kubernetes. It provides a single interface to launch clusters, run jobs, and serve models across 25+ clouds (AWS, GCP, Azure, Coreweave, Nebius, Lambda, Together AI, RunPod, and more), Kubernetes clusters, and Slurm clusters.

When to Use SkyPilot

Use SkyPilot when you need to:

  • Manage compute resources on any cloud, Slurm, or Kubernetes cluster
  • Launch CPU/GPU/TPU (GB300, GB200, B200, H200, H100, etc.) on any cloud, Kubernetes or Slurm
  • Run training, fine-tuning, or batch inference jobs
  • Serve models with autoscaling and multi-cloud replicas (SkyServe)
  • Run long-running jobs with automatic lifecycle management and recovery (managed jobs)
  • Find the cheapest or most available GPU across clouds

Don't use SkyPilot for:

  • Local-only workloads (use Docker/conda directly)

Capabilities: When to Use What

SkyPilot has three core abstractions. Use the right one for each stage of your workflow:

1. SkyPilot Clusters (sky launch / sky exec) — Interactive development and debugging

  • Use during initial development, debugging, and experimentation
  • Launch a cluster, SSH in or connect VSCode/Cursor (code --remote ssh-remote+CLUSTER), iterate quickly
  • Cluster stays up until you stop/down it or autostop triggers
  • Best for: prototyping, debugging, short experiments

2. Managed Jobs (sky jobs launch) — Long-running training and batch jobs

  • Use when submitting long-running jobs that should run unattended
  • Manages the full lifecycle: provisioning, execution, recovery, and teardown
  • Automatically recovers from spot preemptions, quota limits, and transient failures
  • Works across clouds, Kubernetes, and Slurm (handles preemptions and quota)
  • Best for: training runs, fine-tuning, hyperparameter sweeps, batch inference

3. SkyServe (sky serve up) — Production model serving

  • Use when serving models at scale with autoscaling
  • Start with sky launch + open port to test your serving setup, then use sky serve up to scale
  • Provides load balancing, autoscaling, and multi-cloud replicas
  • Best for: model serving endpoints, API services

Before You Start (Agent Bootstrap)

Bootstrap to confirm SkyPilot is installed, connected to an API server, and has cloud credentials. Once confirmed, skip straight to the user's task.

Step 1: Check installation and API server connectivity

sky api info
Output contains Meaning Next action
Server version and status Server is running and connected Bootstrap done. Skip to user's task.
No SkyPilot API server is connected No server connected Go to "Start or connect a server" below.
Could not connect to SkyPilot API server Remote server unreachable or auth expired Tell the user and suggest sky api login --relogin -e <endpoint> to reconnect.
command not found: sky SkyPilot not installed Go to "Install SkyPilot" below.

Install SkyPilot (only if sky command not found):

pip install "skypilot[aws,gcp,kubernetes]"  # Pick clouds the user needs

Ask the user which clouds they need if unclear, then re-run sky api info.

Start or connect a server (only if "not running"):

Ask the user:

Do you have an existing SkyPilot API server to connect to, or should I start one locally?

  • Connect to existing server: sky api login -e <API_SERVER_URL> — get the URL from the user.
  • Start locally: sky api start

After either path, re-run sky api info to confirm the server is reachable.

Step 2: Check cloud credentials (only for fresh setups — skip if the server was already running)

sky check -o json

This shows which clouds are enabled or disabled. If the user's target cloud is not enabled, guide them through credential setup (see Troubleshooting).

Essential Commands

Use -o json with status/query commands to get structured JSON output instead of tables.

Clusters — interactive development and debugging:

Command Description
sky launch -c NAME task.yaml Launch a cluster or run a task
sky exec NAME task.yaml Run task on existing cluster (skips provisioning); syncs workdir each time
sky exec NAME task.yaml -d Same, but detach immediately (don't stream logs)
sky status -o json Show all clusters
`s
자주 묻는 질문

어떤 클라우드를 지원하나요?

25개 이상의 클라우드와 Kubernetes, Slurm 클러스터에서 작동한다고 설명됩니다.

스팟 인스턴스는 무엇인가요?

중단될 수 있는 대신 더 저렴한 기계로, 스킬은 이를 활용해 비용을 낮출 수 있습니다.

언제 사용하지 말아야 하나요?

Docker나 conda로 직접 할 수 있는 로컬 전용 작업에는 적합하지 않습니다.

상세 정보

작성자의 원본 설명

Use when launching cloud VMs, Kubernetes pods, or Slurm jobs for GPU/TPU/CPU workloads, training or fine-tuning models on cloud GPUs, deploying inference servers (vllm, TGI, etc.) with autoscaling, writing or debugging SkyPilot task YAML files, using spot/preemptible instances for cost savings, comparing GPU prices across clouds, managing compute across 25+ clouds, Kubernetes, Slurm, and on-prem clusters with failover between them, troubleshooting resource availability or SkyPilot errors, optimizing cost and GPU availability, or migrating an existing Slurm workload (converting sbatch scripts,

repo: skypilot-org/skypilot

인기도

GitHub 스타
11k
순위
#11838
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

비슷한 스킬