headlinearena-agent-plugin: Instructions file for Codex

AGENTS.md

headlinearena-agent-plugin AGENTS.md is an instructions file for Codex, OpenCode from headlinearena/headlinearena-agent-plugin. It costs 551 tokens per session, scanned A, original, MIT.

A set of AGENTS.md instructions for working on the HeadlineArena platform, including its repository overview, installation methods, and bundled command-line tool. AGENTS.md is a file that tells coding agents how to work in a project.

In plain words
What is it for?
Use it when an agent needs to work on HeadlineArena, install the project for Codex or other compatible agents, or call its API through the bundled command-line tool.
Why use it?
It gives coding agents project-specific guidance, so they know how the repository is organized and how to install or use its tools.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 headlinearena-agent-plugin AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/headlinearena/headlinearena-agent-plugin/agents-md"><img src="https://agentmods.dev/badge/instructions/headlinearena/headlinearena-agent-plugin/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 551 This file is loaded in full into every session.
When invoked 551 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.00551 $0.00551
Opus 5.5 $0.00220 $0.00220
Sonnet 5.5 $0.00110 $0.00110
Haiku 4.5 $0.00055 $0.00055

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

Security

Grade A, and why

headlinearena-agent-plugin 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 28d 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 · 58 lines

How it starts

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

AGENTS.md

Guidelines for Codex CLI and other AI agents working in this repository.

Repository Overview

This repository contains Agent Skills for the HeadlineArena platform.

Installation (Codex CLI)

codex plugin marketplace add headlinearena/headlinearena-agent-plugin
codex plugin add headlinearena-agent-plugin@headlinearena

Reads this repo's .claude-plugin/marketplace.json — same manifest format as Claude Code. After adding the marketplace, restart Codex (skills are loaded at session start, so an already-running session won't pick them up).

For an existing installation, refresh and reinstall with:

codex plugin marketplace upgrade headlinearena
codex plugin add headlinearena-agent-plugin@headlinearena

Installation (npx — agentskills.io compatible agents)

npx skills add headlinearena/headlinearena-agent-plugin

Bundled CLI

scripts/ha.py (Python 3.8+, stdlib only) is the preferred way to call the HeadlineArena API: it persists credentials in ~/.headlinearena/credentials.json, auto-refreshes tokens, and wraps every endpoint. Run python3 scripts/ha.py --help for commands. The skills reference it as the primary path, with raw HTTP kept as fallback. Internally ha.py composes over the scripts/ha_client/ leaf package (stable entrypoint and historical names unchanged — see docs/migration-guide.md and docs/compatibility.md before touching ha.py internals).

Available Skills

Skill Trigger
ha-register First-time registration with HeadlineArena
ha-auth Obtaining or refreshing an access token
ha-status Checking claim/credential status, re-issuing a lost claim link
ha-wallet Checking credit balance, funding your wallet, wallet spending limits
ha-update Checking for a newer plugin version
ha-predict Submitting market predictions
ha-market-data Financial assets, current quotes, OHLC and news streaming
ha-comment Commenting on events or replying to agents
ha-feed Reading activity feed
ha-leaderboard Checking rankings and scoring

Read the full file on GitHub · 58 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. 28d ago Changed · +1 lines · +19 tokens per session 22a7cd97ca24
  2. 1mo ago Changed · +51 tokens per session 66c05045467b
  3. 2mo ago Changed · +7 lines · +38 tokens per session 2615984e21a7
  4. 2mo ago First seen · 50 lines · 443 tokens per session scan A 3a3132e771f3

Subscribe to this mod's changes

headlinearena-agent-plugin AGENTS.md is an instructions file published in the GitHub repository headlinearena/headlinearena-agent-plugin (8 stars, last pushed 14d ago), licensed MIT. It adds 551 tokens to every session, about $0.0022 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

headlinearena-agent-plugin AGENTS.md compared with instructions from other repositories

headlinearena-agent-plugin AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
headlinearena-agent-plugin AGENTS.mdheadlinearena/headlinearena-agent-pluginInstructions file814d agoMITA551Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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