nvidia-anthropic-proxy 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/evanlong-me/nvidia-anthropic-proxy/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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00284 $0.00284
Opus 5 $0.00142 $0.00142
Sonnet 5 $0.00057 $0.00057
Haiku 4.5 $0.00028 $0.00028

Measured 5d ago against content hash adce29da8543, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (38 stars, last pushed 27d ago), licensed MIT. It adds 284 tokens to every session, about $0.0014 per session on Opus 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.