nvidia-anthropic-proxy: Instructions file for Codex

AGENTS.md

nvidia-anthropic-proxy AGENTS.md is an instructions file for Codex, OpenCode from evanlong-me/nvidia-anthropic-proxy. It costs 284 tokens per session, scanned B, original, MIT.

Project instructions for a Cloudflare Worker that translates between Anthropic’s API format and OpenAI-compatible APIs such as NVIDIA NIM.

In plain words
What is it for?
Use it when developing, running locally, or deploying the proxy, or when configuring Claude Code to send requests through it.
Why use it?
It gives coding agents the project’s commands, request mappings, required secret, and model configuration so they can work in the expected setup.

Instructions file for CodexOpenCode

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

This is evanlong-me/nvidia-anthropic-proxy's own configuration. It tells Codex and OpenCode how to work on nvidia-anthropic-proxy 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 nvidia-anthropic-proxy configures →

Reuse

Borrowing it

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

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 nvidia-anthropic-proxy AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/evanlong-me/nvidia-anthropic-proxy/agents-md"><img src="https://agentmods.dev/badge/instructions/evanlong-me/nvidia-anthropic-proxy/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 284 This file is loaded in full into every session.
When invoked 284 The same file — it is already loaded in full.
Security scan B 1 finding. 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.00284 $0.00284
Opus 5.5 $0.00114 $0.00114
Sonnet 5.5 $0.00057 $0.00057
Haiku 4.5 $0.00028 $0.00028

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

Security

Grade B, and why

nvidia-anthropic-proxy AGENTS.md scanned grade B with 1 finding 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 1mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`~/.claude/settings.json`:
AGENTS.md · 43 lines

What it actually says

AGENTS.md

This file provides guidance to coding agents when working with code in this repository.

项目概述

Cloudflare Worker 代理,让 OpenAI 兼容 API(如 NVIDIA NIM)支持 Anthropic API 格式。

命令

npm run setup    # 配置 secrets 和安装依赖
npm run dev      # 本地开发
npm run deploy   # 部署到 Cloudflare

架构

单文件 Worker (index.js),转换 Anthropic ↔ OpenAI 格式:

  • POST /v1/messages → /chat/completions
  • GET /v1/models → /models
  • GET /health

环境变量 (Cloudflare Secrets)

  • NVIDIA_API_KEY - 必需

coding agents 配置

~/.claude/settings.json:

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://你的worker地址.workers.dev",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "minimaxai/minimax-m2.1",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "minimaxai/minimax-m2.1",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "z-ai/glm4.7"
  }
}
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. 1mo ago First seen · 43 lines · 284 tokens per session scan B adce29da8543

Subscribe to this mod's changes

nvidia-anthropic-proxy AGENTS.md is an instructions file published in the GitHub repository evanlong-me/nvidia-anthropic-proxy (40 stars, last pushed 2mo ago), licensed MIT. It adds 284 tokens to every session, about $0.0011 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). 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