spacedata: Instructions file for Codex

AGENTS.md

spacedata AGENTS.md is an instructions file for Codex, OpenCode from oscarjpicazo/spacedata. It costs 1,566 tokens per session, scanned A, original, MIT.

A set of AGENTS.md instructions for the spacedata project, a Bun monorepo containing a TypeScript command-line tool and its MCP server.

In plain words
What is it for?
Use it when modifying spacedata, its CLI, MCP server, data sources, satellite calculations, or related packages so changes follow the project's required structure and rules.
Why use it?
It gives coding agents the project's source of truth for architecture, product rules, external-data validation, and commit conventions. A monorepo is one repository containing multiple packages.

Instructions file for CodexOpenCode

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

This is oscarjpicazo/spacedata's own configuration. It tells Codex and OpenCode how to work on spacedata 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 spacedata configures →

Reuse

Borrowing it

Nothing to install: this file belongs to oscarjpicazo/spacedata. 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/oscarjpicazo/spacedata/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/oscarjpicazo/spacedata

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/oscarjpicazo/spacedata/agents-md/github.svg)](https://agentmods.dev/instructions/oscarjpicazo/spacedata/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/oscarjpicazo/spacedata/agents-md"><img src="https://agentmods.dev/badge/instructions/oscarjpicazo/spacedata/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 spacedata AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/oscarjpicazo/spacedata/agents-md"><img src="https://agentmods.dev/badge/instructions/oscarjpicazo/spacedata/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,566 This file is loaded in full into every session.
When invoked 1,566 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01566 $0.01566
Opus 5.5 $0.00626 $0.00626
Sonnet 5.5 $0.00313 $0.00313
Haiku 4.5 $0.00157 $0.00157

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

Security

Grade A, and why

spacedata AGENTS.md scanned grade A with 0 findings 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 54 lines

How it starts

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

spacedata

General

  • AGENTS.md is the source of truth. All CLAUDE.md files are references to it — make changes here, not in CLAUDE.md.
  • Never add Co-Authored-By in commits or PR bodies.

Architecture

Bun monorepo (packages/*). One package for now:

Package What it does Stack
cli The spacedata command TypeScript, commander, Zod, neverthrow, satellite.js (SGP4)

The MCP server lives inside the cli package (spacedata serve, src/mcp/mcp-server.ts): a lean 15-tool surface over stdio that reuses the source layer verbatim. Tool results carry the same {ok, source, cached, fetchedAt, data} / {ok: false, error} envelopes as the CLI; new sources should be exposed in both surfaces. In serve mode stdout belongs to the MCP transport — never write anything else to it.

Locally computed results (SGP4 position/passes/overhead) are layered: pure math in src/domain/propagation.ts (no I/O, like derive.ts), fetch+compute orchestration in src/compute/, reusing the CelesTrak source. Their envelope uses source: "celestrak+sgp4"; cached/fetchedAt describe the underlying element fetch.

Aggregated reports (spaceweather, aurora, events) fetch several products in parallel; only the core product's failure fails the command — every other section degrades to undefined plus an entry in data.warnings. Their envelope (src/core/aggregate.ts) reports cached: true only when every contributing fetch was cached, and the most recent fetchedAt.

Orbital events combine both patterns. sat events (compute/satellite-events.compute.ts, envelope spacetrack+gfz+analysis): detectors are pure math in domain/events.ts — element jumps against the object's own median/MAD noise floor (drag-detrended, gap-aware), SGP4 propagation residuals (propagationResidualKm in domain/propagation.ts) as corroboration, planetary Kp (GFZ, sources/gfz.source.ts) to separate storms from maneuvers. Events are inferences: they must always carry evidence and confidence, never a bare verdict, and thresholds/heuristics live as named constants with comments. events (compute/orbital-events.compute.ts, envelope spacetrack+launch-library+gfz) is the administrative digest — satcat_debut/satcat_change/TIP/LL2 previous, nothing inferred; grouping/classification helpers are pure in domain/catalog-events.ts. domain/iss-history.fixture.ts is real ISS gp_history (30 days around the 2026-07-02 reboost) and is the detector's ground-truth regression fixture — extend it, don't replace it, when recalibrating.

Read the full file on GitHub · 54 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. 2mo ago First seen · 54 lines · 1,566 tokens per session scan A 95fc5fe64a74

Subscribe to this mod's changes

spacedata AGENTS.md is an instructions file published in the GitHub repository oscarjpicazo/spacedata (2 stars, last pushed 3mo ago), licensed MIT. It adds 1,566 tokens to every session, about $0.0063 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

spacedata AGENTS.md compared with instructions from other repositories

spacedata AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spacedata AGENTS.mdoscarjpicazo/spacedataInstructions file23mo agoMITA1,566Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot