testivai-oss: Instructions file for Codex

AGENTS.md

testivai-oss AGENTS.md is an instructions file for Codex, OpenCode from testivai/testivai-oss. It costs 5,913 tokens per session, scanned A, original, MIT.

A repository instruction file for AI coding assistants working on TestivAI, an open-source toolkit for checking whether a website’s appearance has changed. It documents the project, its folder layout, required commands, and rules such as using pnpm.

In plain words
What is it for?
Use it to guide work on the TestivAI codebase, including package management, visual and document comparison terminology, API changes, and rebuilding the committed GitHub Action output.
Why use it?
It gives coding agents the project-specific context and constraints they need before editing files, reducing incorrect commands and changes that would fail the project’s checks.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 testivai-oss AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/testivai/testivai-oss/agents-md"><img src="https://agentmods.dev/badge/instructions/testivai/testivai-oss/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,913 This file is loaded in full into every session.
When invoked 5,913 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.05913 $0.05913
Opus 5.5 $0.02365 $0.02365
Sonnet 5.5 $0.01183 $0.01183
Haiku 4.5 $0.00591 $0.00591

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

Security

Grade A, and why

testivai-oss 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 4d 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 · 429 lines

How it starts

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

testivai-oss — Agent Guide

Universal guide for AI coding assistants (Claude Code, Cursor, GitHub Copilot, Gemini, etc.) working inside this repository.

For Claude Code specifically, see CLAUDE.md. For task recipes, see SKILLS.md.


What this repo is

The public open-source home for the TestivAI visual regression SDKs. Everything here runs fully locally — no account, no API key, no server.


Hard rules — never violate these

  1. pnpm only. Never run npm install or yarn in the workspace root or any package. action/ is a workspace package too: add its dependencies with pnpm --filter testivai-action add.

  2. Local-first. The packages need no account or API key, send nothing anywhere and have no telemetry. Today there is no hosted product: never reference one, and never describe a feature as paid or gated. TestivAI is free to use (docs/philosophy.md, "Free and open source"); keep wording consistent with it. AI explanation is bring-your-own-model via @testivai/mcp (explain_snapshot). Core vocabulary: pixel diff, DOM diff, noise hint, layered analysis, baselines, threshold.

  3. action/dist/ must always be committed. After any change to action/src/, rebuild with cd action && pnpm run build and commit the updated dist/index.js, dist/review.cjs and dist/publish.cjs. CI enforces this.

  4. Every public API change needs a changeset. Run pnpm changeset and commit the generated .changeset/*.md file with your PR.

  5. Do not push tags manually without understanding the action versioning scheme. Semver tags (v1.x.y) roll the v1 major tag automatically via CI. See the "Action versioning" section below.


Repo layout

packages/
  witness/      @testivai/witness           core SDK: CLI, diff engine, baselines, HTML report
  playwright/   @testivai/witness-playwright Playwright reporter + capture adapter
  webdriverio/  @testivai/witness-webdriverio WebdriverIO service + capture
  selenium/     @testivai/witness-selenium   Selenium adapter
  mcp/          @testivai/mcp                MCP server: results + diff images for AI agents

action/         testivai/testivai-oss@v1     GitHub Action: post PR comment + commit status
approve/        testivai/testivai-oss/approve@v1  GitHub Action: /testivai approve command handler
review/         testivai/testivai-oss/review@v1   GitHub Action: Claude triages each diff (advisory; enabled: false turns it off)
publish/        testivai/testivai-oss/publish@v1  GitHub Action: publishes reports to GitHub Pages (rebuilt from checked data) and links them in PR comments

examples/       minimal working examples per framework
docs/           public Markdown documentation
e2e/            OSS smoke E2E test suite

Read the full file on GitHub · 429 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. 4d ago Changed · +2 lines · +40 tokens per session fe60a09ff50b
  2. 8d ago Changed · +47 lines · +864 tokens per session fa3db343749d
  3. 10d ago Changed · +9 lines · +258 tokens per session d37aa5b17a3c
  4. 11d ago Changed · +82 lines · +1,752 tokens per session 7eed793007ca
  5. 13d ago Changed · +8 lines · +189 tokens per session 0fa7dbd58fd2
  6. 15d ago Changed · +29 lines · +492 tokens per session 8e7dec37afd3
  7. 17d ago Changed · +1 lines · +20 tokens per session b70ce91f2f2c
  8. 25d ago Changed · +8 lines · +122 tokens per session 7f7c3acc4c48
  9. 2mo ago First seen · 243 lines · 2,176 tokens per session scan A eeb8a9cf5ec4

Subscribe to this mod's changes

testivai-oss AGENTS.md is an instructions file published in the GitHub repository testivai/testivai-oss (6 stars, last pushed 4d ago), licensed MIT. It adds 5,913 tokens to every session, about $0.0237 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-31.

Related

Other instructions, from other repositories

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 · 9,715 tokens

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,461 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens