horizon: Instructions file for Codex

AGENTS.md

horizon AGENTS.md is an instructions file for Codex, OpenCode from peters/horizon. It costs 13,764 tokens per session, scanned D, original, MIT.

A project guide for working on and building Horizon, a software project that can be downloaded as a ready-made program or compiled from its source code.

In plain words
What is it for?
Getting Horizon running on Linux, macOS, or Windows; downloading a release; building from source; and following the project's contribution instructions.
Why use it?
It gives contributors and coding agents one agreed starting point, so they do not have to guess how to install, build, or run the project.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/peters/horizon/agents-md"><img src="https://agentmods.dev/badge/instructions/peters/horizon/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13,764 This file is loaded in full into every session.
When invoked 13,764 The same file — it is already loaded in full.
Security scan D 3 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.13764 $0.13764
Opus 5.5 $0.05506 $0.05506
Sonnet 5.5 $0.02753 $0.02753
Haiku 4.5 $0.01376 $0.01376

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

Security

Grade D, and why

horizon AGENTS.md scanned grade D with 3 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 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Debian/Ubuntu: `sudo apt install -y build-essential pkg-config libxkbcommon-dev libwayland-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libvulkan-dev libgl-dev cmake nasm`

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/peters/localci/main/install.sh | sh

Makes network callslowCapability

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

curl -fsSL https://raw.githubusercontent.com/peters/localci/main/install.sh | sh
AGENTS.md · 584 lines

How it starts

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

Horizon — Agent Guidelines

Self-review and PR review

  • The implementing agent reviews the complete diff once, fixes its findings, and runs the applicable checks before the first push.
  • After that, rely on the upstream repository's automatic PR review. Address its feedback and validate the affected changes without another full self-review round.
  • Never assign, request, or re-request Copilot, Claude, or another automated reviewer. Do not use reviewer assignments, labels, comments, CLI commands, APIs, workflow dispatches, or PR state changes to trigger a review. The upstream repository manages automatic review.
  • Do not start a separate local review agent or a CLI review loop. This rule also applies to external contributions and overrides review loops in skills or linked procedures.
  • Keep CI, applicable smoke checks, feedback handling, and merge authorization. Check which commit a review covers; do not claim that an earlier review covers later changes. If a required automatic review is missing or fails, report the blocker without requesting another review.
  • Keep CLAUDE.md as the single import @AGENTS.md. Put repository instructions in AGENTS.md.

Source of truth for all contributors and AI agents working on this project.

Company and products

horizon is not a Finter Mobility repository, but it runs the agents, browser panels and device panels that all of them use, so it must know which repos need each other. The shared map lives in the private fintermobilityas/company repo, checked out as ~/github/company; treat docs/products.json there as the source when deciding which companion repos to open, check or brief together:

  • What every repo does and how they connect: ../company/docs/products.md (machine-readable: ../company/docs/products.json).
  • This repo's page: ../company/docs/products/horizon.md.
  • Shared maintenance rules (Dependabot, .NET, MongoDB, PRs, native packages, rollout order): ../company/AGENTS.md.
  • Companion lookups: for a repo X, its companions are the edges in products.json where from or to is X; check_together: true means a change to that contract must be verified in both repos (format: docs/products.schema.json, schema_version 1).

Read the full file on GitHub · 584 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 · +1 lines · +150 tokens per session be3c7d53b1d3
  2. 3d ago Changed · -32 lines · -840 tokens per session 6377bc71a719
  3. 4d ago Changed · +56 tokens per session 2d58173611ef
  4. 5d ago Changed · -24 lines · -522 tokens per session 4338e8b1839d
  5. 6d ago Changed · +44 tokens per session b1bac1cfd869
  6. 10d ago Changed · -22 lines · -391 tokens per session 86a2a2bd4c69
  7. 12d ago Changed · +1 lines · +161 tokens per session 87f2979c70e8
  8. 14d ago Changed · +8 lines · +455 tokens per session fc95a71ac61c
  9. 15d ago Changed · +54 lines · +1,340 tokens per session 59eed8b7186b
  10. 16d ago First seen · 598 lines · 13,311 tokens per session scan D b1c4d9ff21d9

Subscribe to this mod's changes

horizon AGENTS.md is an instructions file published in the GitHub repository peters/horizon (722 stars, last pushed today), licensed MIT. It adds 13,764 tokens to every session, about $0.0551 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories