patternfly-react-seed: Instructions file for Codex

AGENTS.md

patternfly-react-seed AGENTS.md is an instructions file for Codex, OpenCode from patternfly/patternfly-react-seed. It costs 916 tokens per session, scanned A, original, MIT.

Repository instructions for a PatternFly React seed project, a starter application built with React and TypeScript. They describe the project's tools, layout, and checks for completed changes.

In plain words
What is it for?
Use them when changing this React application. They point to the commands for TypeScript checking, linting, unit tests, and test coverage, and explain that the project uses Webpack, React Router, PatternFly, and Vitest.
Why use it?
They give coding agents the local context needed to modify the project safely and catch type, lint, or test errors before work is considered finished.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

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

Reuse

Borrowing it

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

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 patternfly-react-seed AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/patternfly/patternfly-react-seed/agents-md"><img src="https://agentmods.dev/badge/instructions/patternfly/patternfly-react-seed/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 916 This file is loaded in full into every session.
When invoked 916 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.00916 $0.00916
Opus 5.5 $0.00366 $0.00366
Sonnet 5.5 $0.00183 $0.00183
Haiku 4.5 $0.00092 $0.00092

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

Security

Grade A, and why

patternfly-react-seed 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 2mo 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 · 76 lines

How it starts

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

Agent instructions (PatternFly React Seed)

This file helps humans and coding agents work safely in this repository. It summarizes how the app is built, how to validate changes, and where code lives.

What this project is

Official PatternFly React seed: a small React + TypeScript app with PatternFly layout, React Router, Webpack, and Vitest. It is a reference for wiring PatternFly into a real app, not a component library.

Stack

  • React 18, TypeScript (strict), PatternFly v6 (@patternfly/react-core, @patternfly/react-icons, @patternfly/react-styles)
  • Bundler: Webpack (webpack.*.js); dev server: webpack-dev-server
  • Tests: Vitest + Testing Library (vitest.config.ts, src/test/setup.ts) — not Jest
  • Lint: ESLint on ./src/ (.tsx, .js); unused imports and variables are errors

Commands to run before you consider work done

From the repository root, after npm install:

Command Purpose
npm run type-check TypeScript (tsc --noEmit)
npm run lint ESLint on src/
npm test Vitest unit tests
npm run test:coverage Vitest with coverage (requires devDependency @vitest/coverage-v8)
npm run ci-checks Same as type-check + lint + test:coverage (run this before merging when possible)

Local development:

Command Purpose
npm run start:dev Webpack dev server
npm run build Production build into dist/

Repository layout

  • src/app/ — Application shell: routes, layout, feature pages (Dashboard, Settings, Support, NotFound)
  • src/app/AppLayout/ — Chrome (header/sidebar)
  • src/component/ — Shared or prototype components
  • src/index.tsx — Entry; dev-only react-axe wiring when not in production
  • webpack.common.js — Shared Webpack config (aliases, loaders)
  • vitest.config.ts — Test runner and @app alias for tests

Path aliases

  • @app/* → src/app/* (Webpack and Vitest)
  • @assets/* → PatternFly packaged assets under node_modules/@patternfly/react-core/dist/styles/assets/*

Read the full file on GitHub · 76 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. 2mo ago First seen · 76 lines · 916 tokens per session scan A ded41c34fd7b

Subscribe to this mod's changes

patternfly-react-seed AGENTS.md is an instructions file published in the GitHub repository patternfly/patternfly-react-seed (97 stars, last pushed 2mo ago), licensed MIT. It adds 916 tokens to every session, about $0.0037 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-30.

Related

patternfly-react-seed AGENTS.md compared with instructions from other repositories

patternfly-react-seed AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
patternfly-react-seed AGENTS.mdpatternfly/patternfly-react-seedInstructions file972mo agoMITA916Codex, OpenCode
create-trimble-app typescript.instructions.mdjulianoczkowski/create-trimble-appInstructions file34mo agoMITA583GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot