sky: Instructions file for Codex

AGENTS.md

sky AGENTS.md is an instructions file for Codex, OpenCode from anzellai/sky. It costs 26,327 tokens per session, scanned C, original, Apache-2.0.

Repository instructions for Sky, an Elm-family programming language that compiles to typed Go and can be used for web apps, APIs, command-line tools, and other software.

In plain words
What is it for?
They guide agents working in the Sky repository, including how to consult the live standard-library documentation and deeper guides for application architecture and features.
Why use it?
They give AI coding agents a shared source of truth for the language, project decisions, and where to find current documentation.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is anzellai/sky's own configuration. It tells Codex and OpenCode how to work on sky itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sky configures →

View source ↗ anzellai/sky
Reuse

Borrowing it

Nothing to install: this file belongs to anzellai/sky. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/anzellai/sky/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/anzellai/sky

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 sky AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/anzellai/sky/agents-md/github.svg)](https://agentmods.dev/instructions/anzellai/sky/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/anzellai/sky/agents-md"><img src="https://agentmods.dev/badge/instructions/anzellai/sky/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sky AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/anzellai/sky/agents-md"><img src="https://agentmods.dev/badge/instructions/anzellai/sky/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26,327 This file is loaded in full into every session.
When invoked 26,327 The same file — it is already loaded in full.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.26327 $0.26327
Opus 5.5 $0.10531 $0.10531
Sonnet 5.5 $0.05265 $0.05265
Haiku 4.5 $0.02633 $0.02633

Measured 2d ago against content hash 08783c93d826, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

sky AGENTS.md scanned grade C 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 2d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

builds clean from a wiped slate (`rm -rf sky-out .skycache .skydeps && sky
AGENTS.md · 1,032 lines

How it starts

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

AGENTS.md

Agent-agnostic guide for AI tools (Claude, Copilot, Cursor, Codex, …) working in the Sky repository. It is the source of truth; tool-specific files layer on top of it (Claude Code reads CLAUDE.md, which imports this file and adds Claude-Code-only operational rules).

Progressive disclosure. This file is deliberately lean. It teaches the language, the app-building decisions, and the non-negotiable rules, then points you at two authoritative, always-current sources for depth:

  • sky doc <Module> — the live stdlib API (typed signatures + summaries + examples), generated from the stdlib source, so it never drifts. Prefer it over any hand-copied API table. sky doc --list enumerates every module; sky doc --serve opens a browsable server.
  • docs/ — deep dives (architecture, Sky.Live, Std.Db, Std.Ui, auth, tooling). The map is in the Deep dives table below.

What Sky is

Sky is an Elm-family, purely-functional language that compiles to typed Go. One language for the whole stack: web UIs (Sky.Live), HTTP/JSON APIs, CLIs, TUIs, desktop apps, background jobs. The design goal is "if it compiles, it works" — no user-written FFI, no nulls, no silent wrong answers, and no runtime panic from well-typed code, clear errors, batteries-included stdlib.

The one honest carve-out: partial arithmetic primitives fail LOUDLY, never silently. A well-typed 10.0 / 0.0 has no answer Sky can represent (there is no Inf/NaN shape), so it raises a classified DivisionByZero — recovered per-request to a 500 in a server, or exit(1) + a structured log in a CLI — and is caught by the whole-app panic net (docs/architecture/sky-stdlib-correctness.md §2.9; classifyPanic in runtime-go/rt/panic_recover.go names the eleven panic classes). It is never a silent wrong value (integer ///% by zero are total and return 0, matching Elm). Json.Encode.encode of a NaN or infinite Float fails the same way, as a classified JsonEncodeFailure, never an empty string, and Decimal.toInt / toMinor / Money.toMinor past the 64-bit Int range (or Decimal.toFloat past the Float range) fails as a classified NumericOverflow, never a wrapped number. Code that divides by a value it does not control should zero-guard the divisor; a fallible Maybe-returning division is an offered convenience, not a soundness requirement. "No runtime panic" therefore means no UNCLASSIFIED panic and no silent corruption — the property a service actually needs.

Read the full file on GitHub · 1,032 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. 2d ago Changed · +23 lines · +620 tokens per session 08783c93d826
  2. 4d ago Changed · +16 lines · +609 tokens per session 446071a8f00a
  3. 5d ago Changed · -54 lines · +182 tokens per session b6b679a53a2c
  4. 8d ago Changed · +21 lines · +4,133 tokens per session aa5baae52fc2
  5. 11d ago Changed · +101 tokens per session fc96aef5db92
  6. 14d ago Changed · +15 lines · +311 tokens per session c5f026a8233e
  7. 21d ago Changed · +43 lines · +843 tokens per session 0cefcd564628
  8. 1mo ago Changed · +6 lines · +121 tokens per session d78c27fdb4d3
  9. 1mo ago Changed · +10 lines · +199 tokens per session 282b8cb458bc
  10. 1mo ago First seen · 952 lines · 19,208 tokens per session scan C 0aa2bee13f01

Subscribe to this mod's changes

sky AGENTS.md is an instructions file published in the GitHub repository anzellai/sky (438 stars, last pushed yesterday), licensed Apache-2.0. It adds 26,327 tokens to every session, about $0.1053 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

sky AGENTS.md compared with instructions from other repositories

sky AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sky AGENTS.mdanzellai/skyInstructions file438yesterdayApache-2.0C26,327Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode