leyden-perf-test: Instructions file for Codex

AGENTS.md

leyden-perf-test AGENTS.md is an instructions file for Codex, OpenCode from quintesse/leyden-perf-test. It costs 8,609 tokens per session, scanned B, original, Apache-2.0.

Project instructions for a performance-testing harness for Java applications, focused on Project Leyden’s Ahead-of-Time compilation, which prepares some code before the application starts. It compares Java versions, compilation choices, and runtime behavior using repeatable tests.

In plain words
What is it for?
Running JVM benchmarks, comparing Leyden AOT settings and Java versions, adding test suites or drivers, and producing reproducible performance measurements.
Why use it?
They define how performance experiments should be organized so results can be compared consistently.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: positional $N argument; mentions AGENTS.md.

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

Reuse

Borrowing it

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

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 leyden-perf-test AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/quintesse/leyden-perf-test/agents-md"><img src="https://agentmods.dev/badge/instructions/quintesse/leyden-perf-test/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,609 This file is loaded in full into every session.
When invoked 8,609 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.08609 $0.08609
Opus 5.5 $0.03444 $0.03444
Sonnet 5.5 $0.01722 $0.01722
Haiku 4.5 $0.00861 $0.00861

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

Security

Grade B, and why

leyden-perf-test 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

# Ubuntu/Debian: sudo apt-get install docker.io
AGENTS.md · 1,113 lines

How it starts

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

AGENTS.md - Leyden Performance Test Harness

Project Overview

Purpose

This is a performance testing harness designed to evaluate JVM applications, with a primary focus on testing Project Leyden's Ahead-of-Time (AOT) compilation features. The harness enables systematic comparison of different JVM configurations, compilation strategies, and runtime behaviors across multiple Java versions.

Primary Goals

  1. Benchmark Leyden AOT Performance: Measure and compare the performance impact of Leyden's AOT compilation features
  2. Multi-Version Testing: Support testing across multiple JVM versions (currently targeting JDK 25, 26+)
  3. Reproducible Results: Provide consistent, reproducible performance measurements
  4. Extensibility: Enable easy addition of new test suites, drivers, and strategies
  5. Automation-Friendly: Design for both human operators and AI agents

Current State

  • Status: Active development
  • Maturity: Stable for internal performance testing
  • Primary Use Case: Evaluating Leyden JVM features and comparing JVM performance characteristics
  • Target Users: AI agents, performance engineers, JVM developers

Architecture

Core Components

leyden-perf-test/
├── run                      # Main entry point - bash launcher
├── src/
│   ├── scripts/
│   │   ├── bin/             # Command implementations (test.sh, list.sh, etc.)
│   │   ├── drivers/         # Test drivers (oha, ohac, hyperfoil)
│   │   ├── strategies/      # Test strategies (normal, aot)
│   │   ├── *funcs.sh        # Shared function libraries
│   │   └── launcher.sh      # Core orchestration logic
│   ├── java/util/           # Java analysis utilities (Collate, Graph, etc.)
│   └── qdup/                # qdup configuration (alternative test runner)
├── tests/                   # Main test suites (production workloads)
├── tests-dummy/             # Dummy tests for harness validation
├── tests-template/          # Templates for creating new tests
├── profiles/                # Configuration profiles (lowmem, diagnostics, etc.)
├── verify/bats/             # Harness verification tests
├── test-results/            # Test output directory
└── cache/                   # Build artifacts and dependencies

Read the full file on GitHub · 1,113 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. 1mo ago Changed · +1 lines · +12 tokens per session 34f9be288e0f
  2. 1mo ago Changed · -1 lines · -8 tokens per session 23e1f2e20435
  3. 1mo ago Changed · -1 tokens per session fb94d5ff5144
  4. 2mo ago First seen · 1,113 lines · 8,606 tokens per session scan B 1725413669d9

Subscribe to this mod's changes

leyden-perf-test AGENTS.md is an instructions file published in the GitHub repository quintesse/leyden-perf-test (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 8,609 tokens to every session, about $0.0344 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). 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