claude-web-test-harness: Instructions file for Claude Code

CLAUDE.md

claude-web-test-harness CLAUDE.md is an instructions file for Claude Code from 569270901/claude-web-test-harness. It costs 722 tokens per session, scanned A, original, MIT.

Repository instructions for a Cloudflare Worker that translates between Anthropic's API format and OpenAI-compatible APIs such as NVIDIA NIM. It lists local development, deployment, health-check, and required secret settings.

In plain words
What is it for?
Setting up, running, deploying, and checking the proxy, plus configuring its NVIDIA API key and Anthropic-compatible model endpoint.
Why use it?
They tell an agent how the proxy is structured and configured, so requests can use one API style while reaching a service that speaks another.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code.

This is 569270901/claude-web-test-harness's own configuration. It tells Claude Code how to work on claude-web-test-harness 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 claude-web-test-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 569270901/claude-web-test-harness. 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/569270901/claude-web-test-harness/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/569270901/claude-web-test-harness

Made for: Claude Code.

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 claude-web-test-harness CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/569270901/claude-web-test-harness/claude-md/github.svg)](https://agentmods.dev/instructions/569270901/claude-web-test-harness/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/569270901/claude-web-test-harness/claude-md"><img src="https://agentmods.dev/badge/instructions/569270901/claude-web-test-harness/claude-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 claude-web-test-harness CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/569270901/claude-web-test-harness/claude-md"><img src="https://agentmods.dev/badge/instructions/569270901/claude-web-test-harness/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 722 This file is loaded in full into every session.
When invoked 722 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.00722 $0.00722
Opus 5 $0.00361 $0.00361
Sonnet 5 $0.00144 $0.00144
Haiku 4.5 $0.00072 $0.00072

Measured 10d ago against content hash 1857960967d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

claude-web-test-harness CLAUDE.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 10d 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.

CLAUDE.md · 68 lines

What it actually says

项目指南(接入方在此声明自己的约定)

这是多 agent UI 测试 harness 的项目约定文件。agent 读它来自适应你的项目, 没有硬编码业务路径。接入你自己的项目时,改下面「项目约定」一节即可。 demo 默认值面向 TesterHome(只读流程)。

必读文件

每次写代码 / 写测试 / 补页面地图前,先读:

  • rule.md — 编码规则与技术避坑(selector 写法、等待时机、组件行为)
  • artifacts/README.md — 多 agent 编排总览(artifact schema、gate、红线、progress.log)
  • 相关的 page_map/*.yaml — 当前页面元素地图

发现新知识主动回写:技术坑 → rule.md;页面元素变化 → 对应 page_map/*.yaml


项目约定(← 接入时改这里)

约定 本项目取值
站点基础 URL https://testerhome.com(见 pytest.ini--base-url
页面地图目录 page_map/(按 page_map/<模块>/<页面>.yaml 组织)
测试数据目录 data/(YAML)
测试代码目录 tests/(不嵌套模块子目录)
测试运行命令 python -m pytest tests/ -v
登录逻辑 demo 全部只读,无需登录;接入时在 conftest.py 加登录 fixture
失败 DOM 落盘目录 data/debug/(调试用,已 gitignore)

开发原则

  • 所有字段都填(包括非必填)、都断言
  • 绝不删断言来让测试通过——失败就是 bug
  • expected 避免用 "0",用有语义的值
  • 注释用中文
  • selector 优先 ID / role / 稳定属性,禁用 hash class / :nth-child / xpath 位置索引(详见 rule.md

测试命令

# 全部测试
python -m pytest tests/ -v

# 单个文件 / 单个用例
python -m pytest tests/test_home.py -v
python -m pytest tests/test_home.py::test_home_title -v

# 看得见浏览器(调试)
python -m pytest tests/ -v --headed

demo 任务(验证 harness 跑通)

在本目录打开 Claude Code,对主对话说:

「为 TesterHome 首页 + 搜索设计一套只读测试并写出来」

主对话(orchestrator)会按需派发: page-map-sync → test-case-design(阶段1解构→decomp.md,你审 GATE 0) → test-case-design(阶段2生成→cases.md+flow.md,你审 GATE 1) → test-writing → review只做只读流程(浏览话题列表、打开帖子详情、搜索关键词、断言渲染),不要自动化注册/登录/发帖。

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. 10d ago First seen · 68 lines · 722 tokens per session scan A 1857960967d6

Subscribe to this mod's changes

claude-web-test-harness CLAUDE.md is an instructions file published in the GitHub repository 569270901/claude-web-test-harness (38 stars, last pushed 22d ago), licensed MIT. It adds 722 tokens to every session, about $0.0036 per session on Opus 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

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens