react-horizontal-scrolling-menu: Instructions file for Codex

AGENTS.md

react-horizontal-scrolling-menu AGENTS.md is an instructions file for Codex, OpenCode from asmyshlyaev177/react-horizontal-scrolling-menu. It costs 4,142 tokens per session, scanned A, original, MIT.

Contributor instructions for a React library that creates horizontally scrolling menus and tracks which items are visible.

In plain words
What is it for?
Use it when changing the scrolling library, its examples or Storybook stories, the documentation website, end-to-end tests, or published agent skills.
Why use it?
They explain the repository layout, package and website workspaces, examples, tests, and the difference between contributor guidance and user skills.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to asmyshlyaev177/react-horizontal-scrolling-menu. 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/asmyshlyaev177/react-horizontal-scrolling-menu/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/asmyshlyaev177/react-horizontal-scrolling-menu

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 react-horizontal-scrolling-menu AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/asmyshlyaev177/react-horizontal-scrolling-menu/agents-md"><img src="https://agentmods.dev/badge/instructions/asmyshlyaev177/react-horizontal-scrolling-menu/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,142 This file is loaded in full into every session.
When invoked 4,142 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.04142 $0.04142
Opus 5.5 $0.01657 $0.01657
Sonnet 5.5 $0.00828 $0.00828
Haiku 4.5 $0.00414 $0.00414

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

Security

Grade A, and why

react-horizontal-scrolling-menu 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 13d 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 · 296 lines

How it starts

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

AGENTS — react-horizontal-scrolling-menu

A horizontal scrolling menu for React, built on native browser scrolling with per-item visibility tracking (IntersectionObserver). Published to npm; ~347k downloads/month; one stable public API across React 16.8–19.

If you are here to use the library rather than change it, read skills/ instead — those files are written for you, and are more specific than this one. npx @tanstack/intent@latest install wires them into your agent; skills/menu-setup/SKILL.md is the entry point.

Layout

src/                  # the library
stories/              # Storybook stories; *.source.tsx files are the
                      #   canonical examples, rendered on the website and
                      #   mirrored to /examples/<slug>.md
skills/               # AI agent skills, published with the package
                      #   (package.json `files`), one dir per SKILL.md
website/              # the landing + docs site: TanStack Start, SSR,
                      #   prerendered onto Cloudflare Workers. A workspace
                      #   member, with two Playwright suites: website/e2e
                      #   (HTTP-level smoke) and website/tests (a11y)
e2e/                  # Playwright, against the built library
types/                # public type surface

Commands

pnpm test             # unit + lint + e2e (wireit orchestrates)
pnpm test:unit
pnpm test:e2e
pnpm build            # rollup build of the library
pnpm storybook        # the examples, live

# website/ is its own workspace
cd website && pnpm dev        # vite dev
cd website && pnpm build      # build + prerender every route
cd website && pnpm typecheck
cd website && pnpm test       # build, then the smoke suite (website/e2e)
cd website && pnpm test:a11y  # build, then axe + rendered contrast (website/tests)
cd website && pnpm preview    # build, then serve the Worker locally
cd website && pnpm deploy     # wrangler deploy

Package management

Read the full file on GitHub · 296 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. 13d ago Changed · -5 lines · -114 tokens per session 8223c0081584
  2. 2mo ago Changed · +9 lines · +147 tokens per session c7ed5e1463a1
  3. 2mo ago First seen · 292 lines · 4,109 tokens per session scan A c8a25c880615

Subscribe to this mod's changes

react-horizontal-scrolling-menu AGENTS.md is an instructions file published in the GitHub repository asmyshlyaev177/react-horizontal-scrolling-menu (788 stars, last pushed 5d ago), licensed MIT. It adds 4,142 tokens to every session, about $0.0166 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

react-horizontal-scrolling-menu AGENTS.md compared with instructions from other repositories

react-horizontal-scrolling-menu AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-horizontal-scrolling-menu AGENTS.mdasmyshlyaev177/react-horizontal-scrolling-menuInstructions file7885d agoMITA4,142Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,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
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode