skypilot AGENTS.md

skypilot AGENTS.md is an instructions file for Codex, OpenCode from skypilot-org/skypilot. It costs 3,956 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for SkyPilot, a system that launches and manages computing jobs across cloud providers and Kubernetes, a platform for running containerized applications. They describe its architecture, repository layout, setup, and development checks.

In plain words
What is it for?
Useful when modifying cloud or Kubernetes support, job scheduling, resource selection, task definitions, command-line behavior, or related tests.
Why use it?
They explain how the project coordinates different computing platforms and where changes should be made.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/skypilot-org/skypilot/agents-md
Clone the repo
git clone --depth 1 https://github.com/skypilot-org/skypilot

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skypilot AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/skypilot-org/skypilot/agents-md.svg)](https://agentmods.dev/instructions/skypilot-org/skypilot/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/skypilot-org/skypilot/agents-md"><img src="https://agentmods.dev/badge/instructions/skypilot-org/skypilot/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,956 This file is loaded in full into every session.
When invoked 3,956 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.03956 $0.03956
Opus 5 $0.01978 $0.01978
Sonnet 5 $0.00791 $0.00791
Haiku 4.5 $0.00396 $0.00396

Measured 4d ago against content hash d0b0725126a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skypilot AGENTS.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -H "Authorization: Bearer $BUILDKITE_TOKEN" \
AGENTS.md · 484 lines

How it starts

The opening of the file, as written. The whole thing — 484 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md - SkyPilot Development Guide

This document provides guidance for AI assistants working with the SkyPilot codebase.

Project Overview

SkyPilot is a system to run, manage, and scale AI workloads on any AI infrastructure. It provides a unified interface across 25+ cloud providers (AWS, GCP, Azure, Kubernetes, Slurm, and many others), enabling users to launch compute resources, run jobs, and serve models without vendor lock-in.

Key capabilities:

  • Clusters: Launch and manage compute clusters across clouds and Kubernetes
  • Managed jobs: Run jobs with automatic recovery from preemptions and failures
  • Multi-cloud and multi-Kubernetes: Unified interface across 25+ clouds and multiple K8s clusters
  • Cost optimization and GPU availability maximization

Repository Structure

skypilot/
├── sky/                    # Main source code
│   ├── __init__.py         # Package exports and version
│   ├── core.py             # Core orchestration logic
│   ├── task.py             # Task definition and YAML parsing
│   ├── resources.py        # Cloud resource specifications
│   ├── optimizer.py        # Resource allocation optimizer
│   ├── execution.py        # Task execution pipeline
│   ├── exceptions.py       # Custom exceptions
│   ├── skypilot_config.py  # Configuration management
│   ├── clouds/             # Cloud provider abstractions (25+ providers)
│   ├── backends/           # Execution backends (Ray-based VM, Docker)
│   ├── provision/          # Cloud resource provisioning
│   ├── jobs/               # Managed job lifecycle
│   ├── serve/              # Model serving (SkyServe)
│   ├── skylet/             # On-cluster execution agent
│   ├── client/             # SDK and CLI
│   ├── server/             # API server and dashboard backend
│   ├── dashboard/          # Web UI (Next.js)
│   ├── utils/              # 50+ utility modules
│   ├── catalog/            # Cloud pricing and instance catalogs
│   ├── data/               # Storage and data handling
│   ├── adaptors/           # Cloud-specific metadata adapters
│   └── schemas/            # Protobuf definitions and API schemas
├── tests/                  # Test suite
│   ├── unit_tests/         # Unit tests with subdirectories per module
│   ├── smoke_tests/        # Quick validation tests
│   ├── integration_tests/  # End-to-end tests
│   ├── kubernetes/         # K8s-specific tests
│   └── conftest.py         # Pytest fixtures
├── examples/               # 50+ usage examples
├── llm/                    # 45+ LLM training/serving examples
├── docs/                   # Sphinx documentation
├── charts/                 # Helm charts for K8s deployment
└── format.sh               # Code formatting script

Read the full file on GitHub · 484 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 484 lines · 3,956 tokens per session scan A d0b0725126a1

Subscribe to this mod's changes

skypilot AGENTS.md is an instructions file published in the GitHub repository skypilot-org/skypilot (10,555 stars, last pushed today), licensed Apache-2.0. It adds 3,956 tokens to every session, about $0.0198 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.