FirstData: Instructions file for Codex

AGENTS.md

FirstData AGENTS.md is an instructions file for Codex, OpenCode from MLT-OSS/FirstData. It costs 1,716 tokens per session, scanned A, original, MIT.

Repository instructions for FirstData, a data-only collection describing authoritative public datasets and other real-world data sources.

In plain words
What is it for?
Use them when adding or editing source records, installing dependencies with uv, or running schema, duplicate-ID, domain, and full repository checks.
Why use it?
They explain that changes are metadata edits rather than application-code changes and provide the checks needed to validate JSON files and identifiers.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mlt-oss/firstdata/agents-md"><img src="https://agentmods.dev/badge/instructions/mlt-oss/firstdata/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,716 This file is loaded in full into every session.
When invoked 1,716 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.01716 $0.01716
Opus 5.5 $0.00686 $0.00686
Sonnet 5.5 $0.00343 $0.00343
Haiku 4.5 $0.00172 $0.00172

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

Security

Grade A, and why

FirstData 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 · 153 lines

How it starts

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

AGENTS.md

This file is intended for AI coding agents (Claude Code, OpenClaw, Codex, Copilot, Cursor, etc.) working in this repository.

What This Repo Is

FirstData is the External Facts Context Layer for AI Agents — a structured, authoritative collection of global open data sources. It is a pure data repository — no application code, no runtime logic.

Your job here is to create or edit JSON metadata files that describe real-world data sources (government databases, international organizations, academic datasets, etc.).

Validation

Dependencies are managed with uv. Run the following before submitting:

# Install dependencies (first time only)
uv sync

# Run all validation checks
make check

# Or run checks individually:
make validate       # Validate JSON schema compliance
make check-ids      # Check for duplicate IDs
make check-domains  # Check domain naming consistency

A GitHub Action runs these checks automatically on every PR. PRs that fail validation cannot be merged.

The Only Thing You Need to Know: The JSON Schema

Every file under firstdata/sources/ must conform to firstdata/schemas/datasource-schema.json.

Required Fields

{
  "id": "worldbank-open-data",
  "name": {
    "en": "World Bank Open Data",
    "zh": "世界银行开放数据"
  },
  "description": {
    "en": "...",
    "zh": "..."
  },
  "website": "https://www.worldbank.org",
  "data_url": "https://data.worldbank.org",
  "api_url": "https://api.worldbank.org/v2/",
  "authority_level": "international",
  "country": null,
  "domains": ["economics", "health", "education"],
  "geographic_scope": "global",
  "update_frequency": "quarterly",
  "tags": ["world bank", "development", "gdp", "poverty", "世界银行"],
  "data_content": {
    "en": ["GDP and national accounts", "Poverty and inequality indicators"],
    "zh": ["GDP和国民账户", "贫困和不平等指标"]
  }
}

Field Rules

Field Allowed Values / Constraints
id Lowercase, hyphens only. Must be globally unique. Pattern:^[a-z0-9-]+$
name.en Required. Add zh and native when applicable
description.en Required. Add zh when applicable
website Top-level org homepage
data_url Must point directly to the data access/download page, NOT the homepage
api_url API docs or endpoint URL. Use null if no API exists
authority_level government · international · research · market · commercial · other
country ISO 3166-1 alpha-2 (e.g."CN", "US"). Must be null when geographic_scope is global or regional
domains Array of strings, at least one. MUST use lowercase (e.g., "economics" not "Economics"). See DOMAINS.md for standard domain list
geographic_scope global · regional · national · subnational
update_frequency real-time · daily · weekly · monthly · quarterly · annual · irregular
tags Mixed Chinese/English keywords for semantic search. Include synonyms and data type names
data_content Optional but recommended. Lists of strings describing what data is available

Read the full file on GitHub · 153 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 · 153 lines · 1,716 tokens per session scan A 9c6fd0a220d9

Subscribe to this mod's changes

FirstData AGENTS.md is an instructions file published in the GitHub repository MLT-OSS/FirstData (186 stars, last pushed 1mo ago), licensed MIT. It adds 1,716 tokens to every session, about $0.0069 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-30.

Related

FirstData AGENTS.md compared with instructions from other repositories

FirstData AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
FirstData AGENTS.mdMLT-OSS/FirstDataInstructions file1861mo agoMITA1,716Codex, 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