ai-asset-pricing: Instructions file for Codex

AGENTS.md

ai-asset-pricing AGENTS.md is an instructions file for Codex, OpenCode from Alexander-M-Dickerson/ai-asset-pricing. It costs 1,512 tokens per session, scanned A, original, MIT.

A set of repository instructions for an empirical finance project, covering how AI agents should route tasks, inspect local tools, follow shared rules, and prepare releases. Empirical finance uses data to study financial markets and investments.

In plain words
What is it for?
It helps agents work safely in the repository, locate the core guidance, avoid committing local configuration, and run the required release checks.
Why use it?
It gives contributors a common process and identifies which files and checks are authoritative.

Instructions file for CodexOpenCode

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

This is Alexander-M-Dickerson/ai-asset-pricing's own configuration. It tells Codex and OpenCode how to work on ai-asset-pricing 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 ai-asset-pricing configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Alexander-M-Dickerson/ai-asset-pricing. 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/Alexander-M-Dickerson/ai-asset-pricing/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Alexander-M-Dickerson/ai-asset-pricing

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 ai-asset-pricing AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/alexander-m-dickerson/ai-asset-pricing/agents-md"><img src="https://agentmods.dev/badge/instructions/alexander-m-dickerson/ai-asset-pricing/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,512 This file is loaded in full into every session.
When invoked 1,512 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.01512 $0.01512
Opus 5.5 $0.00605 $0.00605
Sonnet 5.5 $0.00302 $0.00302
Haiku 4.5 $0.00151 $0.00151

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

Security

Grade A, and why

ai-asset-pricing 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 · 78 lines

How it starts

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

Empirical Finance Agent Guide

This repository is designed to work well with Codex, Claude Code, and Gemini CLI.

For Codex, this file is the primary routing layer. For Claude, the .claude/ surface remains active, but the shared source of truth for repo-wide behavior should live in docs/ai/. Gemini CLI uses GEMINI.md which imports this file.

Core Contract

  • Read docs/ai/core.md before making cross-cutting repo decisions.
  • When machine-specific paths or tools matter, use the canonical local state reported by tools/bootstrap.py audit.
  • Treat canonical local state as external to the repo by default.
  • Treat repo-root LOCAL_ENV.md / CLAUDE.local.md as optional compatibility shims, not the source of truth.
  • Treat .claude/settings.local.json as ignored maintainer-local Claude state; never commit it.
  • Never commit LOCAL_ENV.md, CLAUDE.local.md, or .claude/settings.local.json.
  • Run tools/release_preflight.py --strict before a shared release.
  • Strict preflight auto-cleans repo temp artifacts when possible and tolerates gitignored repo-root local artifacts such as .venv/, venv/, .claude/settings.local.json, .tmp-pytest-current/, .tmp-uv-cache/, and .Rhistory; LOCAL_ENV.md and CLAUDE.local.md still block a release-ready tree.
  • Gemini CLI uses GEMINI.md which imports this file. See GEMINI.md for Gemini-specific notes.

Task Routing

  • Setup, onboarding, tool paths, or first-run issues:
    • Read docs/ai/onboarding.md
    • Prefer tools/onboard.ps1 or tools/onboard.sh for true cold-start onboarding
    • Use tools/onboard_driver.py after Python exists
    • Use tools/bootstrap.py audit
    • Execute the required commands from the audit report's bootstrap_plan
    • Use tools/bootstrap.py apply
    • Treat tools/bootstrap.py repair --write-canonical-state as a direct-terminal fallback, not the primary Codex path
    • Treat tools/onboard_probe.py as the shared probe implementation, not the user-facing entry point
    • Ask once whether the user has WRDS and wants it configured now; WRDS is optional and onboarding can still succeed without it
    • Use repo-root compatibility shims only if they were explicitly generated for a private single-user working copy
  • WRDS, data extraction, or query pipelines:
    • Read docs/ai/wrds.md
    • CRSP v2 is the default for all new work — see docs/ai/wrds.md "CRSP Version Policy"
    • Then read the relevant .claude/agents/*.md file for deep domain detail
  • PyBondLab package work:
    • Read docs/ai/pybondlab.md
    • Then read packages/PyBondLab/AGENTS.md
  • Research ideation, brainstorming, or developing new paper ideas:
    • Read .claude/skills/idea/SKILL.md
    • The skill creates lightweight projects/{mnemonic}_idea/ workspaces with musings.md (adversarial dialogue log), literature.md (verified references), and research_plan.md (evolvable paper skeleton)
    • Conventions for *_idea/ folders are in .claude/rules/idea-workspace.md
    • When an idea graduates to a full project, use docs/ai/onboarding.md patterns to create the projects/{mnemonic}/ scaffold via /new-project
    • The research_plan.md output is designed to feed into .claude/skills/build-context/SKILL.md and .claude/skills/write-section/SKILL.md downstream
  • Writing, LaTeX, referee responses, or decks:
    • Read docs/ai/writing.md
    • For new papers, start from boilerplate/template_main.tex and boilerplate/template_references.bib
    • Use .claude/skills/setup-paper/SKILL.md to scaffold a project's latex/ folder from that boilerplate
    • For paper-aware editing or audits, check guidance/paper-context.md in the active project if it exists, or generate it via .claude/skills/build-context/SKILL.md
    • Auditing workflows live in .claude/skills/audit-section/SKILL.md, .claude/skills/full-paper-audit/SKILL.md, .claude/skills/check-consistency/SKILL.md, .claude/skills/audit-captions/SKILL.md, .claude/skills/audit-math/SKILL.md, and .claude/skills/outline/SKILL.md
    • Writing rules include .claude/rules/academic-writing.md, .claude/rules/latex-conventions.md, .claude/rules/latex-citations.md, .claude/rules/banned-words.md, .claude/rules/grammar-punctuation.md, and .claude/rules/referee-reply.md
    • Then read the relevant .claude/skills/*.md file for the concrete workflow
  • Figures, charts, plotting, Word proof packs, or visual validation:
    • Read docs/ai/figures.md
    • Use fintools.figures before writing custom plotting code
    • Use style="fins" for the house publication style and style="ft" for FT-style output
    • Use tools/figure_examples.py --style ft --docx --output results/figures or --style fins to recreate validation galleries
    • Keep .claude/skills/publication-figures/ legacy helper assets available for explicitly requested standalone helper workflows
    • Keep generated PNG/PDF/DOCX/caption outputs under ignored results/figures/ paths
  • Context maintenance:
    • Run tools/context_drift.py to detect stale documentation
    • Use /sync-context (Claude Code) to review and apply targeted doc updates
  • Editing .claude/ files:
    • Keep docs/ai/ authoritative for shared rules
    • Do not duplicate repo-wide guidance if a shared doc already covers it

Read the full file on GitHub · 78 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 · 78 lines · 1,512 tokens per session scan A 66d93a7d02ca

Subscribe to this mod's changes

ai-asset-pricing AGENTS.md is an instructions file published in the GitHub repository Alexander-M-Dickerson/ai-asset-pricing (59 stars, last pushed 6mo ago), licensed MIT. It adds 1,512 tokens to every session, about $0.0060 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

ai-asset-pricing AGENTS.md compared with instructions from other repositories

ai-asset-pricing AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-asset-pricing AGENTS.mdAlexander-M-Dickerson/ai-asset-pricingInstructions file596mo agoMITA1,512Codex, 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